Lines Matching full:pad

38 	struct anx9805_pad *pad;  member
46 struct anx9805_pad *pad = bus->pad; in anx9805_bus_xfer() local
47 struct i2c_adapter *adap = &pad->bus->i2c; in anx9805_bus_xfer()
53 tmp = nvkm_rdi2cr(adap, pad->addr, 0x07) & ~0x10; in anx9805_bus_xfer()
54 nvkm_wri2cr(adap, pad->addr, 0x07, tmp | 0x10); in anx9805_bus_xfer()
55 nvkm_wri2cr(adap, pad->addr, 0x07, tmp); in anx9805_bus_xfer()
106 struct anx9805_pad *pad = anx9805_pad(base); in anx9805_bus_new() local
113 bus->pad = pad; in anx9805_bus_new()
115 ret = nvkm_i2c_bus_ctor(&anx9805_bus_func, &pad->base, id, &bus->base); in anx9805_bus_new()
119 switch (pad->addr) { in anx9805_bus_new()
131 struct anx9805_pad *pad; member
140 struct anx9805_pad *pad = aux->pad; in anx9805_aux_xfer() local
141 struct i2c_adapter *adap = &pad->bus->i2c; in anx9805_aux_xfer()
148 tmp = nvkm_rdi2cr(adap, pad->addr, 0x07) & ~0x04; in anx9805_aux_xfer()
149 nvkm_wri2cr(adap, pad->addr, 0x07, tmp | 0x04); in anx9805_aux_xfer()
150 nvkm_wri2cr(adap, pad->addr, 0x07, tmp); in anx9805_aux_xfer()
151 nvkm_wri2cr(adap, pad->addr, 0xf7, 0x01); in anx9805_aux_xfer()
173 if ((tmp = nvkm_rdi2cr(adap, pad->addr, 0xf7)) & 0x01) { in anx9805_aux_xfer()
187 nvkm_wri2cr(adap, pad->addr, 0xf7, 0x01); in anx9805_aux_xfer()
196 struct anx9805_pad *pad = aux->pad; in anx9805_aux_lnk_ctl() local
197 struct i2c_adapter *adap = &pad->bus->i2c; in anx9805_aux_lnk_ctl()
235 struct anx9805_pad *pad = anx9805_pad(base); in anx9805_aux_new() local
242 aux->pad = pad; in anx9805_aux_new()
244 ret = nvkm_i2c_aux_ctor(&anx9805_aux_func, &pad->base, id, &aux->base); in anx9805_aux_new()
248 switch (pad->addr) { in anx9805_aux_new()
268 struct anx9805_pad *pad; in anx9805_pad_new() local
270 if (!(pad = kzalloc(sizeof(*pad), GFP_KERNEL))) in anx9805_pad_new()
272 *ppad = &pad->base; in anx9805_pad_new()
274 nvkm_i2c_pad_ctor(&anx9805_pad_func, bus->pad->i2c, id, &pad->base); in anx9805_pad_new()
275 pad->bus = bus; in anx9805_pad_new()
276 pad->addr = addr; in anx9805_pad_new()