Home
last modified time | relevance | path

Searched refs:algo_data (Results 1 – 25 of 129) sorted by relevance

123456

/drivers/video/fbdev/core/
Dfb_ddc.c56 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/
Di2c-pca-platform.c35 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()
168 i2c->adap.algo_data = &i2c->algo_data; in i2c_pca_pf_probe()
178 &i2c->algo_data.i2c_clock); in i2c_pca_pf_probe()
180 i2c->algo_data.i2c_clock = 59000; in i2c_pca_pf_probe()
184 i2c->algo_data.i2c_clock = platform_data->i2c_clock_speed; in i2c_pca_pf_probe()
187 i2c->algo_data.data = i2c; in i2c_pca_pf_probe()
188 i2c->algo_data.wait_for_completion = i2c_pca_pf_waitforcompletion; in i2c_pca_pf_probe()
[all …]
Di2c-icy.c122 struct i2c_algo_pcf_data *algo_data; in icy_probe() local
132 algo_data = devm_kzalloc(&z->dev, sizeof(*algo_data), GFP_KERNEL); in icy_probe()
133 if (!algo_data) in icy_probe()
140 i2c->adapter.algo_data = algo_data; in icy_probe()
153 algo_data->data = i2c; in icy_probe()
154 algo_data->setpcf = icy_pcf_setpcf; in icy_probe()
155 algo_data->getpcf = icy_pcf_getpcf; in icy_probe()
156 algo_data->getown = icy_pcf_getown; in icy_probe()
157 algo_data->getclock = icy_pcf_getclock; in icy_probe()
158 algo_data->waitforpin = icy_pcf_waitforpin; in icy_probe()
Di2c-parport.c118 struct i2c_algo_bit_data algo_data; member
303 adapter->algo_data = parport_algo_data; in i2c_parport_attach()
306 adapter->algo_data.getscl = NULL; in i2c_parport_attach()
307 adapter->algo_data.udelay = 50; /* ~10 kbps */ in i2c_parport_attach()
309 adapter->algo_data.data = port; in i2c_parport_attach()
310 adapter->adapter.algo_data = &adapter->algo_data; in i2c_parport_attach()
Di2c-sibyte.c31 struct i2c_algo_sibyte_data *adap = i2c_adap->algo_data; in smbus_xfer()
124 struct i2c_algo_sibyte_data *adap = i2c_adap->algo_data; in i2c_sibyte_add_bus()
147 .algo_data = &sibyte_board_data[0],
155 .algo_data = &sibyte_board_data[1],
Di2c-robotfuzz-osif.c39 struct osif_priv *priv = adapter->algo_data; in osif_usb_read()
50 struct osif_priv *priv = adapter->algo_data; in osif_usb_write()
60 struct osif_priv *priv = adapter->algo_data; in osif_xfer()
147 priv->adapter.algo_data = priv; in osif_probe()
Di2c-iop3xx.c303 struct i2c_algo_iop3xx_data *iop3xx_adap = i2c_adap->algo_data; in iop3xx_i2c_writebytes()
315 struct i2c_algo_iop3xx_data *iop3xx_adap = i2c_adap->algo_data; in iop3xx_i2c_readbytes()
335 struct i2c_algo_iop3xx_data *iop3xx_adap = i2c_adap->algo_data; in iop3xx_i2c_handle_msg()
357 struct i2c_algo_iop3xx_data *iop3xx_adap = i2c_adap->algo_data; in iop3xx_i2c_master_xfer()
394 (struct i2c_algo_iop3xx_data *)padapter->algo_data; in iop3xx_i2c_remove()
499 new_adapter->algo_data = adapter_data; in iop3xx_i2c_probe()
Di2c-nforce2.c136 struct nforce2_smbus *smbus = adap->algo_data; in nforce2_abort()
155 struct nforce2_smbus *smbus = adap->algo_data; in nforce2_check_status()
182 struct nforce2_smbus *smbus = adap->algo_data; in nforce2_access()
287 (((struct nforce2_smbus *)adapter->algo_data)->blockops ? in nforce2_func()
354 smbus->adapter.algo_data = smbus; in nforce2_probe_smb()
Di2c-fsi.c332 struct fsi_i2c_port *port = adap->algo_data; in fsi_i2c_get_scl()
343 struct fsi_i2c_port *port = adap->algo_data; in fsi_i2c_set_scl()
355 struct fsi_i2c_port *port = adap->algo_data; in fsi_i2c_get_sda()
366 struct fsi_i2c_port *port = adap->algo_data; in fsi_i2c_set_sda()
379 struct fsi_i2c_port *port = adap->algo_data; in fsi_i2c_prepare_recovery()
394 struct fsi_i2c_port *port = adap->algo_data; in fsi_i2c_unprepare_recovery()
611 struct fsi_i2c_port *port = adap->algo_data; in fsi_i2c_xfer()
723 port->adapter.algo_data = port; in fsi_i2c_probe()
Di2c-sirf.c239 struct sirfsoc_i2c *siic = adap->algo_data; in i2c_sirfsoc_xfer()
328 adap->algo_data = siic; in i2c_sirfsoc_probe()
408 struct sirfsoc_i2c *siic = adapter->algo_data; in i2c_sirfsoc_remove()
421 struct sirfsoc_i2c *siic = adapter->algo_data; in i2c_sirfsoc_suspend()
433 struct sirfsoc_i2c *siic = adapter->algo_data; in i2c_sirfsoc_resume()
Di2c-tiny-usb.c176 struct i2c_tiny_usb *dev = (struct i2c_tiny_usb *)adapter->algo_data; in usb_read()
196 struct i2c_tiny_usb *dev = (struct i2c_tiny_usb *)adapter->algo_data; in usb_write()
248 dev->adapter.algo_data = dev; in i2c_tiny_usb_probe()
Di2c-pasemi.c110 struct pasemi_smbus *smbus = adapter->algo_data; in pasemi_i2c_xfer_msg()
159 struct pasemi_smbus *smbus = adapter->algo_data; in pasemi_i2c_xfer()
176 struct pasemi_smbus *smbus = adapter->algo_data; in pasemi_smb_xfer()
365 smbus->adapter.algo_data = smbus; in pasemi_smb_probe()
Di2c-opal.c76 unsigned long opal_id = (unsigned long)adap->algo_data; in i2c_opal_master_xfer()
116 unsigned long opal_id = (unsigned long)adap->algo_data; in i2c_opal_smbus_xfer()
217 adapter->algo_data = (void *)(unsigned long)opal_id; in i2c_opal_probe()
/drivers/video/fbdev/mb862xx/
Dmb862xx-i2c.c19 struct mb862xxfb_par *par = adap->algo_data; in mb862xx_i2c_wait_event()
34 struct mb862xxfb_par *par = adap->algo_data; in mb862xx_i2c_do_address()
47 struct mb862xxfb_par *par = adap->algo_data; in mb862xx_i2c_write_byte()
58 struct mb862xxfb_par *par = adap->algo_data; in mb862xx_i2c_read_byte()
69 struct mb862xxfb_par *par = adap->algo_data; in mb862xx_i2c_stop()
106 struct mb862xxfb_par *par = adap->algo_data; in mb862xx_xfer()
156 mb862xx_i2c_adapter.algo_data = par; in mb862xx_i2c_init()
/drivers/i2c/
Di2c-mux.c42 struct i2c_mux_priv *priv = adap->algo_data; in __i2c_mux_master_xfer()
61 struct i2c_mux_priv *priv = adap->algo_data; in i2c_mux_master_xfer()
82 struct i2c_mux_priv *priv = adap->algo_data; in __i2c_mux_smbus_xfer()
104 struct i2c_mux_priv *priv = adap->algo_data; in i2c_mux_smbus_xfer()
124 struct i2c_mux_priv *priv = adap->algo_data; in i2c_mux_functionality()
145 struct i2c_mux_priv *priv = adapter->algo_data; in i2c_mux_lock_bus()
156 struct i2c_mux_priv *priv = adapter->algo_data; in i2c_mux_trylock_bus()
171 struct i2c_mux_priv *priv = adapter->algo_data; in i2c_mux_unlock_bus()
182 struct i2c_mux_priv *priv = adapter->algo_data; in i2c_parent_lock_bus()
192 struct i2c_mux_priv *priv = adapter->algo_data; in i2c_parent_trylock_bus()
[all …]
/drivers/media/usb/au0828/
Dau0828-i2c.c28 struct au0828_dev *dev = i2c_adap->algo_data; in i2c_slave_did_write_ack()
35 struct au0828_dev *dev = i2c_adap->algo_data; in i2c_slave_did_read_ack()
58 struct au0828_dev *dev = i2c_adap->algo_data; in i2c_is_read_busy()
81 struct au0828_dev *dev = i2c_adap->algo_data; in i2c_is_write_done()
104 struct au0828_dev *dev = i2c_adap->algo_data; in i2c_is_busy()
130 struct au0828_dev *dev = i2c_adap->algo_data; in i2c_sendbytes()
219 struct au0828_dev *dev = i2c_adap->algo_data; in i2c_readbytes()
375 dev->i2c_adap.algo_data = dev; in au0828_i2c_register()
/drivers/media/pci/solo6x10/
Dsolo6x10-i2c.c209 struct solo_dev *solo_dev = adap->algo_data; in solo_i2c_master_xfer()
289 adap->algo_data = solo_dev; in solo_i2c_init()
295 adap->algo_data = NULL; in solo_i2c_init()
302 if (!solo_dev->i2c_adap[i].algo_data) in solo_i2c_init()
305 solo_dev->i2c_adap[i].algo_data = NULL; in solo_i2c_init()
318 if (!solo_dev->i2c_adap[i].algo_data) in solo_i2c_exit()
321 solo_dev->i2c_adap[i].algo_data = NULL; in solo_i2c_exit()
/drivers/i2c/algos/
Di2c-algo-bit.c157 struct i2c_algo_bit_data *adap = i2c_adap->algo_data; in i2c_outb()
204 struct i2c_algo_bit_data *adap = i2c_adap->algo_data; in i2c_inb()
231 struct i2c_algo_bit_data *adap = i2c_adap->algo_data; in test_bus()
337 struct i2c_algo_bit_data *adap = i2c_adap->algo_data; in try_address()
402 struct i2c_algo_bit_data *adap = i2c_adap->algo_data; in acknak()
481 struct i2c_algo_bit_data *adap = i2c_adap->algo_data; in bit_doAddress()
535 struct i2c_algo_bit_data *adap = i2c_adap->algo_data; in bit_xfer()
615 struct i2c_algo_bit_data *adap = i2c_adap->algo_data; in bit_xfer_atomic()
651 struct i2c_algo_bit_data *bit_adap = adap->algo_data; in __i2c_bit_add_bus()
Di2c-algo-pcf.c208 struct i2c_algo_pcf_data *adap = i2c_adap->algo_data; in pcf_sendbytes()
242 struct i2c_algo_pcf_data *adap = i2c_adap->algo_data; in pcf_readbytes()
298 struct i2c_algo_pcf_data *adap = i2c_adap->algo_data; in pcf_xfer()
400 struct i2c_algo_pcf_data *pcf_adap = adap->algo_data; in i2c_pcf_add_bus()
/drivers/media/pci/cx25821/
Dcx25821-i2c.c38 struct cx25821_i2c *bus = i2c_adap->algo_data; in i2c_slave_did_ack()
45 struct cx25821_i2c *bus = i2c_adap->algo_data; in i2c_is_busy()
69 struct cx25821_i2c *bus = i2c_adap->algo_data; in i2c_sendbytes()
163 struct cx25821_i2c *bus = i2c_adap->algo_data; in i2c_readbytes()
226 struct cx25821_i2c *bus = i2c_adap->algo_data; in i2c_xfer()
301 bus->i2c_adap.algo_data = bus; in cx25821_i2c_register()
/drivers/gpu/drm/gma500/
Dcdv_intel_dp.c63 struct i2c_algo_dp_aux_data *algo_data = adapter->algo_data; in i2c_algo_dp_aux_transaction() local
66 ret = (*algo_data->aux_ch)(adapter, mode, in i2c_algo_dp_aux_transaction()
83 struct i2c_algo_dp_aux_data *algo_data = adapter->algo_data; in i2c_algo_dp_aux_address() local
91 algo_data->address = address; in i2c_algo_dp_aux_address()
92 algo_data->running = true; in i2c_algo_dp_aux_address()
104 struct i2c_algo_dp_aux_data *algo_data = adapter->algo_data; in i2c_algo_dp_aux_stop() local
111 if (algo_data->running) { in i2c_algo_dp_aux_stop()
113 algo_data->running = false; in i2c_algo_dp_aux_stop()
124 struct i2c_algo_dp_aux_data *algo_data = adapter->algo_data; in i2c_algo_dp_aux_put_byte() local
127 if (!algo_data->running) in i2c_algo_dp_aux_put_byte()
[all …]
/drivers/media/pci/cx23885/
Dcx23885-i2c.c39 struct cx23885_i2c *bus = i2c_adap->algo_data; in i2c_slave_did_ack()
46 struct cx23885_i2c *bus = i2c_adap->algo_data; in i2c_is_busy()
70 struct cx23885_i2c *bus = i2c_adap->algo_data; in i2c_sendbytes()
151 struct cx23885_i2c *bus = i2c_adap->algo_data; in i2c_readbytes()
312 bus->i2c_adap.algo_data = bus; in cx23885_i2c_register()
/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/
Dbus.c169 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/
Dcx231xx-i2c.c75 struct cx231xx_i2c *bus = i2c_adap->algo_data; in cx231xx_i2c_send_bytes()
186 struct cx231xx_i2c *bus = i2c_adap->algo_data; in cx231xx_i2c_recv_bytes()
273 struct cx231xx_i2c *bus = i2c_adap->algo_data; in cx231xx_i2c_recv_bytes_with_saddr()
336 struct cx231xx_i2c *bus = i2c_adap->algo_data; in cx231xx_i2c_check_for_device()
363 struct cx231xx_i2c *bus = i2c_adap->algo_data; in cx231xx_i2c_xfer()
526 bus->i2c_adap.algo_data = bus; in cx231xx_i2c_register()
/drivers/media/pci/saa7164/
Dsaa7164-i2c.c18 struct saa7164_i2c *bus = i2c_adap->algo_data; in i2c_xfer()
95 bus->i2c_adap.algo_data = bus; in saa7164_i2c_register()

123456