/drivers/video/savage/ |
D | savagefb-i2c.c | 141 chan->adapter.algo_data = &chan->algo; in savage_setup_i2c_bus() 143 chan->algo.udelay = 10; in savage_setup_i2c_bus() 144 chan->algo.timeout = 20; in savage_setup_i2c_bus() 145 chan->algo.data = chan; in savage_setup_i2c_bus() 150 chan->algo.setsda(chan, 1); in savage_setup_i2c_bus() 151 chan->algo.setscl(chan, 1); in savage_setup_i2c_bus() 178 par->chan.algo.setsda = prosavage_gpio_setsda; in savagefb_create_i2c_busses() 179 par->chan.algo.setscl = prosavage_gpio_setscl; in savagefb_create_i2c_busses() 180 par->chan.algo.getsda = prosavage_gpio_getsda; in savagefb_create_i2c_busses() 181 par->chan.algo.getscl = prosavage_gpio_getscl; in savagefb_create_i2c_busses() [all …]
|
/drivers/i2c/ |
D | i2c-mux.c | 31 struct i2c_algorithm algo; member 52 ret = parent->algo->master_xfer(parent, msgs, num); in i2c_mux_master_xfer() 72 ret = parent->algo->smbus_xfer(parent, addr, flags, in i2c_mux_smbus_xfer() 86 return parent->algo->functionality(parent); in i2c_mux_functionality() 113 if (parent->algo->master_xfer) in i2c_add_mux_adapter() 114 priv->algo.master_xfer = i2c_mux_master_xfer; in i2c_add_mux_adapter() 115 if (parent->algo->smbus_xfer) in i2c_add_mux_adapter() 116 priv->algo.smbus_xfer = i2c_mux_smbus_xfer; in i2c_add_mux_adapter() 117 priv->algo.functionality = i2c_mux_functionality; in i2c_add_mux_adapter() 123 priv->adap.algo = &priv->algo; in i2c_add_mux_adapter()
|
/drivers/video/i810/ |
D | i810-i2c.c | 96 chan->adapter.algo_data = &chan->algo; in i810_setup_i2c_bus() 98 chan->algo.setsda = i810i2c_setsda; in i810_setup_i2c_bus() 99 chan->algo.setscl = i810i2c_setscl; in i810_setup_i2c_bus() 100 chan->algo.getsda = i810i2c_getsda; in i810_setup_i2c_bus() 101 chan->algo.getscl = i810i2c_getscl; in i810_setup_i2c_bus() 102 chan->algo.udelay = 10; in i810_setup_i2c_bus() 103 chan->algo.timeout = (HZ/2); in i810_setup_i2c_bus() 104 chan->algo.data = chan; in i810_setup_i2c_bus() 109 chan->algo.setsda(chan, 1); in i810_setup_i2c_bus() 110 chan->algo.setscl(chan, 1); in i810_setup_i2c_bus()
|
/drivers/gpu/drm/gma500/ |
D | intel_i2c.c | 129 chan->adapter.algo_data = &chan->algo; in psb_intel_i2c_create() 131 chan->algo.setsda = set_data; in psb_intel_i2c_create() 132 chan->algo.setscl = set_clock; in psb_intel_i2c_create() 133 chan->algo.getsda = get_data; in psb_intel_i2c_create() 134 chan->algo.getscl = get_clock; in psb_intel_i2c_create() 135 chan->algo.udelay = 20; in psb_intel_i2c_create() 136 chan->algo.timeout = usecs_to_jiffies(2200); in psb_intel_i2c_create() 137 chan->algo.data = chan; in psb_intel_i2c_create()
|
D | intel_gmbus.c | 67 struct i2c_algo_bit_data algo; member 199 gpio->adapter.algo_data = &gpio->algo; in intel_gpio_create() 201 gpio->algo.setsda = set_data; in intel_gpio_create() 202 gpio->algo.setscl = set_clock; in intel_gpio_create() 203 gpio->algo.getsda = get_data; in intel_gpio_create() 204 gpio->algo.getscl = get_clock; in intel_gpio_create() 205 gpio->algo.udelay = I2C_RISEFALL_TIME; in intel_gpio_create() 206 gpio->algo.timeout = usecs_to_jiffies(2200); in intel_gpio_create() 207 gpio->algo.data = gpio; in intel_gpio_create() 237 ret = adapter->algo->master_xfer(adapter, msgs, num); in intel_i2c_quirk_xfer() [all …]
|
/drivers/video/nvidia/ |
D | nv_i2c.c | 92 chan->adapter.algo_data = &chan->algo; in nvidia_setup_i2c_bus() 94 chan->algo.setsda = nvidia_gpio_setsda; in nvidia_setup_i2c_bus() 95 chan->algo.setscl = nvidia_gpio_setscl; in nvidia_setup_i2c_bus() 96 chan->algo.getsda = nvidia_gpio_getsda; in nvidia_setup_i2c_bus() 97 chan->algo.getscl = nvidia_gpio_getscl; in nvidia_setup_i2c_bus() 98 chan->algo.udelay = 40; in nvidia_setup_i2c_bus() 99 chan->algo.timeout = msecs_to_jiffies(2); in nvidia_setup_i2c_bus() 100 chan->algo.data = chan; in nvidia_setup_i2c_bus()
|
/drivers/video/aty/ |
D | radeon_i2c.c | 74 chan->adapter.algo_data = &chan->algo; in radeon_setup_i2c_bus() 76 chan->algo.setsda = radeon_gpio_setsda; in radeon_setup_i2c_bus() 77 chan->algo.setscl = radeon_gpio_setscl; in radeon_setup_i2c_bus() 78 chan->algo.getsda = radeon_gpio_getsda; in radeon_setup_i2c_bus() 79 chan->algo.getscl = radeon_gpio_getscl; in radeon_setup_i2c_bus() 80 chan->algo.udelay = 10; in radeon_setup_i2c_bus() 81 chan->algo.timeout = 20; in radeon_setup_i2c_bus() 82 chan->algo.data = chan; in radeon_setup_i2c_bus()
|
/drivers/video/riva/ |
D | rivafb-i2c.c | 98 chan->adapter.algo_data = &chan->algo; in riva_setup_i2c_bus() 100 chan->algo.setsda = riva_gpio_setsda; in riva_setup_i2c_bus() 101 chan->algo.setscl = riva_gpio_setscl; in riva_setup_i2c_bus() 102 chan->algo.getsda = riva_gpio_getsda; in riva_setup_i2c_bus() 103 chan->algo.getscl = riva_gpio_getscl; in riva_setup_i2c_bus() 104 chan->algo.udelay = 40; in riva_setup_i2c_bus() 105 chan->algo.timeout = msecs_to_jiffies(2); in riva_setup_i2c_bus() 106 chan->algo.data = chan; in riva_setup_i2c_bus()
|
/drivers/video/via/ |
D | via_i2c.c | 203 struct i2c_algo_bit_data *algo, in create_i2c_bus() argument 207 algo->setsda = via_i2c_setsda; in create_i2c_bus() 208 algo->setscl = via_i2c_setscl; in create_i2c_bus() 209 algo->getsda = via_i2c_getsda; in create_i2c_bus() 210 algo->getscl = via_i2c_getscl; in create_i2c_bus() 211 algo->udelay = 10; in create_i2c_bus() 212 algo->timeout = 2; in create_i2c_bus() 213 algo->data = adap_cfg; in create_i2c_bus() 219 adapter->algo_data = algo; in create_i2c_bus() 250 &i2c_stuff->algo, adap_cfg, in viafb_i2c_probe()
|
/drivers/video/intelfb/ |
D | intelfb_i2c.c | 113 chan->adapter.algo_data = &chan->algo; in intelfb_setup_i2c_bus() 115 chan->algo.setsda = intelfb_gpio_setsda; in intelfb_setup_i2c_bus() 116 chan->algo.setscl = intelfb_gpio_setscl; in intelfb_setup_i2c_bus() 117 chan->algo.getsda = intelfb_gpio_getsda; in intelfb_setup_i2c_bus() 118 chan->algo.getscl = intelfb_gpio_getscl; in intelfb_setup_i2c_bus() 119 chan->algo.udelay = 40; in intelfb_setup_i2c_bus() 120 chan->algo.timeout = 20; in intelfb_setup_i2c_bus() 121 chan->algo.data = chan; in intelfb_setup_i2c_bus()
|
/drivers/gpu/drm/i915/ |
D | intel_i2c.c | 157 struct i2c_algo_bit_data *algo; in intel_gpio_setup() local 162 algo = &bus->bit_algo; in intel_gpio_setup() 168 bus->adapter.algo_data = algo; in intel_gpio_setup() 169 algo->setsda = set_data; in intel_gpio_setup() 170 algo->setscl = set_clock; in intel_gpio_setup() 171 algo->getsda = get_data; in intel_gpio_setup() 172 algo->getscl = get_clock; in intel_gpio_setup() 173 algo->udelay = I2C_RISEFALL_TIME; in intel_gpio_setup() 174 algo->timeout = usecs_to_jiffies(2200); in intel_gpio_setup() 175 algo->data = bus; in intel_gpio_setup() [all …]
|
/drivers/i2c/busses/ |
D | i2c-amd756-s4882.c | 65 error = amd756_smbus.algo->smbus_xfer(adap, addr, flags, read_write, in amd756_access_virt0() 97 error = amd756_smbus.algo->smbus_xfer(adap, 0x18, 0, in amd756_access_channel() 105 error = amd756_smbus.algo->smbus_xfer(adap, addr, flags, read_write, in amd756_access_channel() 192 s4882_algo[0] = *(amd756_smbus.algo); in amd756_s4882_init() 195 s4882_adapter[0].algo = s4882_algo; in amd756_s4882_init() 198 s4882_algo[i] = *(amd756_smbus.algo); in amd756_s4882_init() 202 s4882_adapter[i].algo = s4882_algo+i; in amd756_s4882_init()
|
D | i2c-nforce2-s4985.c | 62 error = nforce2_smbus->algo->smbus_xfer(adap, addr, flags, read_write, in nforce2_access_virt0() 92 error = nforce2_smbus->algo->smbus_xfer(adap, 0x18, 0, in nforce2_access_channel() 100 error = nforce2_smbus->algo->smbus_xfer(adap, addr, flags, read_write, in nforce2_access_channel() 187 s4985_algo[0] = *(nforce2_smbus->algo); in nforce2_s4985_init() 190 s4985_adapter[0].algo = s4985_algo; in nforce2_s4985_init() 193 s4985_algo[i] = *(nforce2_smbus->algo); in nforce2_s4985_init() 197 s4985_adapter[i].algo = s4985_algo + i; in nforce2_s4985_init()
|
D | i2c-versatile.c | 29 struct i2c_algo_bit_data algo; member 101 i2c->adap.algo_data = &i2c->algo; in i2c_versatile_probe() 104 i2c->algo = i2c_versatile_algo; in i2c_versatile_probe() 105 i2c->algo.data = i2c; in i2c_versatile_probe()
|
D | i2c-sibyte.c | 140 i2c_adap->algo = &i2c_sibyte_algo; in i2c_sibyte_add_bus() 159 .algo = NULL, 167 .algo = NULL,
|
/drivers/i2c/algos/ |
D | Makefile | 5 obj-$(CONFIG_I2C_ALGOBIT) += i2c-algo-bit.o 6 obj-$(CONFIG_I2C_ALGOPCF) += i2c-algo-pcf.o 7 obj-$(CONFIG_I2C_ALGOPCA) += i2c-algo-pca.o
|
/drivers/i2c/muxes/ |
D | pca9541.c | 98 if (adap->algo->master_xfer) { in pca9541_reg_write() 108 ret = adap->algo->master_xfer(adap, &msg, 1); in pca9541_reg_write() 113 ret = adap->algo->smbus_xfer(adap, client->addr, in pca9541_reg_write() 133 if (adap->algo->master_xfer) { in pca9541_reg_read() 148 ret = adap->algo->master_xfer(adap, msg, 2); in pca9541_reg_read() 156 ret = adap->algo->smbus_xfer(adap, client->addr, in pca9541_reg_read()
|
D | pca954x.c | 127 if (adap->algo->master_xfer) { in pca954x_reg_write() 136 ret = adap->algo->master_xfer(adap, &msg, 1); in pca954x_reg_write() 139 ret = adap->algo->smbus_xfer(adap, client->addr, in pca954x_reg_write()
|
/drivers/media/video/cx88/ |
D | cx88-vp3054-i2c.c | 121 memcpy(&vp3054_i2c->algo, &vp3054_i2c_algo_template, in vp3054_i2c_probe() 122 sizeof(vp3054_i2c->algo)); in vp3054_i2c_probe() 128 vp3054_i2c->algo.data = dev; in vp3054_i2c_probe() 130 vp3054_i2c->adap.algo_data = &vp3054_i2c->algo; in vp3054_i2c_probe()
|
/drivers/gpu/drm/radeon/ |
D | radeon_i2c.c | 931 i2c->adapter.algo = &radeon_i2c_algo; in radeon_i2c_create() 943 i2c->adapter.algo = &radeon_atom_i2c_algo; in radeon_i2c_create() 953 i2c->adapter.algo_data = &i2c->algo.bit; in radeon_i2c_create() 954 i2c->algo.bit.pre_xfer = pre_xfer; in radeon_i2c_create() 955 i2c->algo.bit.post_xfer = post_xfer; in radeon_i2c_create() 956 i2c->algo.bit.setsda = set_data; in radeon_i2c_create() 957 i2c->algo.bit.setscl = set_clock; in radeon_i2c_create() 958 i2c->algo.bit.getsda = get_data; in radeon_i2c_create() 959 i2c->algo.bit.getscl = get_clock; in radeon_i2c_create() 960 i2c->algo.bit.udelay = 10; in radeon_i2c_create() [all …]
|
/drivers/video/ |
D | tdfxfb.c | 1290 chan->adapter.algo_data = &chan->algo; in tdfxfb_setup_ddc_bus() 1292 chan->algo.setsda = tdfxfb_ddc_setsda; in tdfxfb_setup_ddc_bus() 1293 chan->algo.setscl = tdfxfb_ddc_setscl; in tdfxfb_setup_ddc_bus() 1294 chan->algo.getsda = tdfxfb_ddc_getsda; in tdfxfb_setup_ddc_bus() 1295 chan->algo.getscl = tdfxfb_ddc_getscl; in tdfxfb_setup_ddc_bus() 1296 chan->algo.udelay = 10; in tdfxfb_setup_ddc_bus() 1297 chan->algo.timeout = msecs_to_jiffies(500); in tdfxfb_setup_ddc_bus() 1298 chan->algo.data = chan; in tdfxfb_setup_ddc_bus() 1318 chan->adapter.algo_data = &chan->algo; in tdfxfb_setup_i2c_bus() 1320 chan->algo.setsda = tdfxfb_i2c_setsda; in tdfxfb_setup_i2c_bus() [all …]
|
/drivers/char/ |
D | mbcs.c | 283 struct algoblock *algo_soft = &soft->algo; in mbcs_algo_start() 583 struct algoblock *algo; in mbcs_intr_alloc() local 588 algo = &soft->algo; in mbcs_intr_alloc() 634 algo->intrHostDest = sn_irq->irq_xtalkaddr; in mbcs_intr_alloc() 635 algo->intrVector = sn_irq->irq_irq; in mbcs_intr_alloc() 744 DEVICE_ATTR(algo, 0644, show_algo, store_algo); 778 mbcs_algo_init(&soft->algo); in mbcs_probe()
|
/drivers/gpu/drm/nouveau/ |
D | nouveau_i2c.c | 234 port->adapter.algo = &nouveau_dp_i2c_algo; in nouveau_i2c_init() 240 if (!port->adapter.algo && !port->drive) { in nouveau_i2c_init() 256 if (port->adapter.algo != &nouveau_dp_i2c_algo) { in nouveau_i2c_init() 272 port->adapter.algo = &nouveau_dp_i2c_algo; in nouveau_i2c_init()
|
/drivers/net/wireless/p54/ |
D | main.c | 511 u8 algo = 0; in p54_set_key() local 527 algo = P54_CRYPTO_TKIPMICHAEL; in p54_set_key() 536 algo = P54_CRYPTO_WEP; in p54_set_key() 544 algo = P54_CRYPTO_AESCCMP; in p54_set_key() 577 algo = 0; in p54_set_key() 583 ret = p54_upload_key(priv, algo, slot, key->keyidx, in p54_set_key()
|
/drivers/media/dvb/b2c2/ |
D | flexcop-i2c.c | 248 fc->fc_i2c_adap[0].i2c_adap.algo = in flexcop_i2c_init() 249 fc->fc_i2c_adap[1].i2c_adap.algo = in flexcop_i2c_init() 250 fc->fc_i2c_adap[2].i2c_adap.algo = &flexcop_algo; in flexcop_i2c_init()
|