/drivers/video/fbdev/core/ |
D | fb_ddc.c | 56 struct i2c_algo_bit_data *algo_data = adapter->algo_data; in fb_ddc_read() local 60 algo_data->setscl(algo_data->data, 1); in fb_ddc_read() 66 algo_data->setsda(algo_data->data, 1); in fb_ddc_read() 69 algo_data->setscl(algo_data->data, 1); in fb_ddc_read() 70 if (algo_data->getscl) { in fb_ddc_read() 73 if (algo_data->getscl(algo_data->data)) in fb_ddc_read() 79 udelay(algo_data->udelay); in fb_ddc_read() 82 algo_data->setsda(algo_data->data, 0); in fb_ddc_read() 84 algo_data->setscl(algo_data->data, 0); in fb_ddc_read() 86 algo_data->setsda(algo_data->data, 1); in fb_ddc_read() [all …]
|
/drivers/i2c/busses/ |
D | i2c-pca-platform.c | 35 struct i2c_algo_pca_data algo_data; member 87 i2c->algo_data.read_byte(i2c, I2C_PCA_CON) in i2c_pca_pf_waitforcompletion() 94 if (i2c->algo_data.read_byte(i2c, I2C_PCA_CON) in i2c_pca_pf_waitforcompletion() 124 if ((i2c->algo_data.read_byte(i2c, I2C_PCA_CON) & I2C_PCA_CON_SI) == 0) in i2c_pca_pf_handler() 178 i2c->adap.algo_data = &i2c->algo_data; in i2c_pca_pf_probe() 183 i2c->algo_data.i2c_clock = platform_data->i2c_clock_speed; in i2c_pca_pf_probe() 187 i2c->algo_data.i2c_clock = 59000; in i2c_pca_pf_probe() 191 i2c->algo_data.data = i2c; in i2c_pca_pf_probe() 192 i2c->algo_data.wait_for_completion = i2c_pca_pf_waitforcompletion; in i2c_pca_pf_probe() 193 i2c->algo_data.reset_chip = i2c_pca_pf_dummyreset; in i2c_pca_pf_probe() [all …]
|
D | i2c-parport.c | 43 struct i2c_algo_bit_data algo_data; member 207 adapter->algo_data = parport_algo_data; in i2c_parport_attach() 210 adapter->algo_data.getscl = NULL; in i2c_parport_attach() 211 adapter->algo_data.udelay = 50; /* ~10 kbps */ in i2c_parport_attach() 213 adapter->algo_data.data = port; in i2c_parport_attach() 214 adapter->adapter.algo_data = &adapter->algo_data; in i2c_parport_attach()
|
D | i2c-sibyte.c | 40 struct i2c_algo_sibyte_data *adap = i2c_adap->algo_data; in smbus_xfer() 133 struct i2c_algo_sibyte_data *adap = i2c_adap->algo_data; in i2c_sibyte_add_bus() 156 .algo_data = &sibyte_board_data[0], 164 .algo_data = &sibyte_board_data[1],
|
D | i2c-iop3xx.c | 310 struct i2c_algo_iop3xx_data *iop3xx_adap = i2c_adap->algo_data; in iop3xx_i2c_writebytes() 322 struct i2c_algo_iop3xx_data *iop3xx_adap = i2c_adap->algo_data; in iop3xx_i2c_readbytes() 342 struct i2c_algo_iop3xx_data *iop3xx_adap = i2c_adap->algo_data; in iop3xx_i2c_handle_msg() 364 struct i2c_algo_iop3xx_data *iop3xx_adap = i2c_adap->algo_data; in iop3xx_i2c_master_xfer() 401 (struct i2c_algo_iop3xx_data *)padapter->algo_data; in iop3xx_i2c_remove() 490 new_adapter->algo_data = adapter_data; in iop3xx_i2c_probe()
|
D | i2c-robotfuzz-osif.c | 42 struct osif_priv *priv = adapter->algo_data; in osif_usb_read() 53 struct osif_priv *priv = adapter->algo_data; in osif_usb_write() 63 struct osif_priv *priv = adapter->algo_data; in osif_xfer() 153 priv->adapter.algo_data = priv; in osif_probe()
|
D | i2c-nforce2.c | 144 struct nforce2_smbus *smbus = adap->algo_data; in nforce2_abort() 163 struct nforce2_smbus *smbus = adap->algo_data; in nforce2_check_status() 190 struct nforce2_smbus *smbus = adap->algo_data; in nforce2_access() 295 (((struct nforce2_smbus *)adapter->algo_data)->blockops ? in nforce2_func() 362 smbus->adapter.algo_data = smbus; in nforce2_probe_smb()
|
D | i2c-sirf.c | 243 struct sirfsoc_i2c *siic = adap->algo_data; in i2c_sirfsoc_xfer() 334 adap->algo_data = siic; in i2c_sirfsoc_probe() 416 struct sirfsoc_i2c *siic = adapter->algo_data; in i2c_sirfsoc_remove() 430 struct sirfsoc_i2c *siic = adapter->algo_data; in i2c_sirfsoc_suspend() 443 struct sirfsoc_i2c *siic = adapter->algo_data; in i2c_sirfsoc_resume()
|
D | i2c-tiny-usb.c | 180 struct i2c_tiny_usb *dev = (struct i2c_tiny_usb *)adapter->algo_data; in usb_read() 200 struct i2c_tiny_usb *dev = (struct i2c_tiny_usb *)adapter->algo_data; in usb_write() 254 dev->adapter.algo_data = dev; in i2c_tiny_usb_probe()
|
D | i2c-pasemi.c | 118 struct pasemi_smbus *smbus = adapter->algo_data; in pasemi_i2c_xfer_msg() 161 struct pasemi_smbus *smbus = adapter->algo_data; in pasemi_i2c_xfer() 178 struct pasemi_smbus *smbus = adapter->algo_data; in pasemi_smb_xfer() 367 smbus->adapter.algo_data = smbus; in pasemi_smb_probe()
|
D | i2c-opal.c | 88 unsigned long opal_id = (unsigned long)adap->algo_data; in i2c_opal_master_xfer() 132 unsigned long opal_id = (unsigned long)adap->algo_data; in i2c_opal_smbus_xfer() 233 adapter->algo_data = (void *)(unsigned long)opal_id; in i2c_opal_probe()
|
/drivers/video/fbdev/mb862xx/ |
D | mb862xx-i2c.c | 23 struct mb862xxfb_par *par = adap->algo_data; in mb862xx_i2c_wait_event() 38 struct mb862xxfb_par *par = adap->algo_data; in mb862xx_i2c_do_address() 51 struct mb862xxfb_par *par = adap->algo_data; in mb862xx_i2c_write_byte() 62 struct mb862xxfb_par *par = adap->algo_data; in mb862xx_i2c_read_byte() 73 struct mb862xxfb_par *par = adap->algo_data; in mb862xx_i2c_stop() 110 struct mb862xxfb_par *par = adap->algo_data; in mb862xx_xfer() 162 mb862xx_i2c_adapter.algo_data = par; in mb862xx_i2c_init()
|
/drivers/media/usb/au0828/ |
D | au0828-i2c.c | 42 struct au0828_dev *dev = i2c_adap->algo_data; in i2c_slave_did_write_ack() 49 struct au0828_dev *dev = i2c_adap->algo_data; in i2c_slave_did_read_ack() 72 struct au0828_dev *dev = i2c_adap->algo_data; in i2c_is_read_busy() 95 struct au0828_dev *dev = i2c_adap->algo_data; in i2c_is_write_done() 118 struct au0828_dev *dev = i2c_adap->algo_data; in i2c_is_busy() 144 struct au0828_dev *dev = i2c_adap->algo_data; in i2c_sendbytes() 233 struct au0828_dev *dev = i2c_adap->algo_data; in i2c_readbytes() 389 dev->i2c_adap.algo_data = dev; in au0828_i2c_register()
|
/drivers/media/pci/solo6x10/ |
D | solo6x10-i2c.c | 216 struct solo_dev *solo_dev = adap->algo_data; in solo_i2c_master_xfer() 296 adap->algo_data = solo_dev; in solo_i2c_init() 302 adap->algo_data = NULL; in solo_i2c_init() 309 if (!solo_dev->i2c_adap[i].algo_data) in solo_i2c_init() 312 solo_dev->i2c_adap[i].algo_data = NULL; in solo_i2c_init() 325 if (!solo_dev->i2c_adap[i].algo_data) in solo_i2c_exit() 328 solo_dev->i2c_adap[i].algo_data = NULL; in solo_i2c_exit()
|
/drivers/i2c/ |
D | i2c-mux.c | 47 struct i2c_mux_priv *priv = adap->algo_data; in i2c_mux_master_xfer() 67 struct i2c_mux_priv *priv = adap->algo_data; in i2c_mux_smbus_xfer() 86 struct i2c_mux_priv *priv = adap->algo_data; in i2c_mux_functionality() 144 priv->adap.algo_data = priv; in i2c_add_mux_adapter() 213 struct i2c_mux_priv *priv = adap->algo_data; in i2c_del_mux_adapter()
|
/drivers/i2c/algos/ |
D | i2c-algo-bit.c | 166 struct i2c_algo_bit_data *adap = i2c_adap->algo_data; in i2c_outb() 212 struct i2c_algo_bit_data *adap = i2c_adap->algo_data; in i2c_inb() 238 struct i2c_algo_bit_data *adap = i2c_adap->algo_data; in test_bus() 340 struct i2c_algo_bit_data *adap = i2c_adap->algo_data; in try_address() 405 struct i2c_algo_bit_data *adap = i2c_adap->algo_data; in acknak() 483 struct i2c_algo_bit_data *adap = i2c_adap->algo_data; in bit_doAddress() 539 struct i2c_algo_bit_data *adap = i2c_adap->algo_data; in bit_xfer() 626 struct i2c_algo_bit_data *bit_adap = adap->algo_data; in __i2c_bit_add_bus()
|
D | i2c-algo-pcf.c | 217 struct i2c_algo_pcf_data *adap = i2c_adap->algo_data; in pcf_sendbytes() 251 struct i2c_algo_pcf_data *adap = i2c_adap->algo_data; in pcf_readbytes() 311 struct i2c_algo_pcf_data *adap = i2c_adap->algo_data; in pcf_xfer() 413 struct i2c_algo_pcf_data *pcf_adap = adap->algo_data; in i2c_pcf_add_bus()
|
/drivers/media/pci/cx23885/ |
D | cx23885-i2c.c | 49 struct cx23885_i2c *bus = i2c_adap->algo_data; in i2c_slave_did_ack() 56 struct cx23885_i2c *bus = i2c_adap->algo_data; in i2c_is_busy() 80 struct cx23885_i2c *bus = i2c_adap->algo_data; in i2c_sendbytes() 161 struct cx23885_i2c *bus = i2c_adap->algo_data; in i2c_readbytes() 222 struct cx23885_i2c *bus = i2c_adap->algo_data; in i2c_xfer() 322 bus->i2c_adap.algo_data = bus; in cx23885_i2c_register()
|
/drivers/media/pci/cx25821/ |
D | cx25821-i2c.c | 52 struct cx25821_i2c *bus = i2c_adap->algo_data; in i2c_slave_did_ack() 59 struct cx25821_i2c *bus = i2c_adap->algo_data; in i2c_is_busy() 83 struct cx25821_i2c *bus = i2c_adap->algo_data; in i2c_sendbytes() 177 struct cx25821_i2c *bus = i2c_adap->algo_data; in i2c_readbytes() 240 struct cx25821_i2c *bus = i2c_adap->algo_data; in i2c_xfer() 315 bus->i2c_adap.algo_data = bus; in cx25821_i2c_register()
|
/drivers/gpu/drm/gma500/ |
D | cdv_intel_dp.c | 61 struct i2c_algo_dp_aux_data *algo_data = adapter->algo_data; in i2c_algo_dp_aux_transaction() local 64 ret = (*algo_data->aux_ch)(adapter, mode, in i2c_algo_dp_aux_transaction() 81 struct i2c_algo_dp_aux_data *algo_data = adapter->algo_data; in i2c_algo_dp_aux_address() local 89 algo_data->address = address; in i2c_algo_dp_aux_address() 90 algo_data->running = true; in i2c_algo_dp_aux_address() 102 struct i2c_algo_dp_aux_data *algo_data = adapter->algo_data; in i2c_algo_dp_aux_stop() local 109 if (algo_data->running) { in i2c_algo_dp_aux_stop() 111 algo_data->running = false; in i2c_algo_dp_aux_stop() 122 struct i2c_algo_dp_aux_data *algo_data = adapter->algo_data; in i2c_algo_dp_aux_put_byte() local 125 if (!algo_data->running) in i2c_algo_dp_aux_put_byte() [all …]
|
D | intel_gmbus.c | 197 gpio->adapter.algo_data = &gpio->algo; in intel_gpio_create() 252 struct drm_psb_private *dev_priv = adapter->algo_data; in gmbus_xfer() 420 bus->adapter.algo_data = dev_priv; in gma_intel_setup_gmbus() 467 struct drm_psb_private *dev_priv = adapter->algo_data; in gma_intel_gmbus_force_bit()
|
/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/ |
D | bus.c | 169 struct i2c_algo_bit_data *algo = bus->i2c.algo_data; in nvkm_i2c_bus_probe() 184 struct i2c_algo_bit_data *algo = bus->i2c.algo_data; in nvkm_i2c_bus_probe() 201 kfree(bus->i2c.algo_data); in nvkm_i2c_bus_del() 246 bus->i2c.algo_data = bit; in nvkm_i2c_bus_ctor()
|
/drivers/media/usb/cx231xx/ |
D | cx231xx-i2c.c | 87 struct cx231xx_i2c *bus = i2c_adap->algo_data; in cx231xx_i2c_send_bytes() 198 struct cx231xx_i2c *bus = i2c_adap->algo_data; in cx231xx_i2c_recv_bytes() 285 struct cx231xx_i2c *bus = i2c_adap->algo_data; in cx231xx_i2c_recv_bytes_with_saddr() 348 struct cx231xx_i2c *bus = i2c_adap->algo_data; in cx231xx_i2c_check_for_device() 375 struct cx231xx_i2c *bus = i2c_adap->algo_data; in cx231xx_i2c_xfer() 535 bus->i2c_adap.algo_data = bus; in cx231xx_i2c_register()
|
/drivers/media/pci/saa7164/ |
D | saa7164-i2c.c | 32 struct saa7164_i2c *bus = i2c_adap->algo_data; in i2c_xfer() 109 bus->i2c_adap.algo_data = bus; in saa7164_i2c_register()
|
/drivers/media/pci/cobalt/ |
D | cobalt-i2c.c | 245 struct cobalt_i2c_data *data = adap->algo_data; in cobalt_xfer() 307 .algo_data = NULL, /* filled from template */ 365 adap->algo_data = &cobalt->i2c_data[i]; in cobalt_i2c_init()
|