Home
last modified time | relevance | path

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

123456

/openbmc/linux/drivers/video/fbdev/core/
H A Dfb_ddc.c60 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()
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()
91 algo_data->setsda(algo_data->data, 0); in fb_ddc_read()
92 algo_data->setscl(algo_data->data, 0); in fb_ddc_read()
95 algo_data->setscl(algo_data->data, 1); in fb_ddc_read()
116 algo_data->setsda(algo_data->data, 1); in fb_ddc_read()
[all …]
/openbmc/linux/drivers/i2c/busses/
H A Di2c-pca-platform.c34 struct i2c_algo_pca_data algo_data; member
84 i2c->algo_data.read_byte(i2c, I2C_PCA_CON) in i2c_pca_pf_waitforcompletion()
91 if (i2c->algo_data.read_byte(i2c, I2C_PCA_CON) in i2c_pca_pf_waitforcompletion()
163 i2c->adap.algo_data = &i2c->algo_data; in i2c_pca_pf_probe()
173 &i2c->algo_data.i2c_clock); in i2c_pca_pf_probe()
175 i2c->algo_data.i2c_clock = 59000; in i2c_pca_pf_probe()
182 i2c->algo_data.data = i2c; in i2c_pca_pf_probe()
185 i2c->algo_data.reset_chip = i2c_pca_pf_resetchip; in i2c_pca_pf_probe()
192 i2c->algo_data.read_byte = i2c_pca_pf_readbyte32; in i2c_pca_pf_probe()
196 i2c->algo_data.read_byte = i2c_pca_pf_readbyte16; in i2c_pca_pf_probe()
[all …]
H A Di2c-icy.c125 struct i2c_algo_pcf_data *algo_data; in icy_probe() local
135 algo_data = devm_kzalloc(&z->dev, sizeof(*algo_data), GFP_KERNEL); in icy_probe()
136 if (!algo_data) in icy_probe()
143 i2c->adapter.algo_data = algo_data; in icy_probe()
156 algo_data->data = i2c; in icy_probe()
157 algo_data->setpcf = icy_pcf_setpcf; in icy_probe()
158 algo_data->getpcf = icy_pcf_getpcf; in icy_probe()
159 algo_data->getown = icy_pcf_getown; in icy_probe()
160 algo_data->getclock = icy_pcf_getclock; in icy_probe()
161 algo_data->waitforpin = icy_pcf_waitforpin; in icy_probe()
H A Di2c-parport.c118 struct i2c_algo_bit_data algo_data; member
313 adapter->algo_data = parport_algo_data; in i2c_parport_attach()
316 adapter->algo_data.getscl = NULL; in i2c_parport_attach()
317 adapter->algo_data.udelay = 50; /* ~10 kbps */ in i2c_parport_attach()
319 adapter->algo_data.data = port; in i2c_parport_attach()
320 adapter->adapter.algo_data = &adapter->algo_data; in i2c_parport_attach()
H A 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],
H A 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()
H A Di2c-iop3xx.c305 struct i2c_algo_iop3xx_data *iop3xx_adap = i2c_adap->algo_data; in iop3xx_i2c_writebytes()
317 struct i2c_algo_iop3xx_data *iop3xx_adap = i2c_adap->algo_data; in iop3xx_i2c_readbytes()
337 struct i2c_algo_iop3xx_data *iop3xx_adap = i2c_adap->algo_data; in iop3xx_i2c_handle_msg()
359 struct i2c_algo_iop3xx_data *iop3xx_adap = i2c_adap->algo_data; in iop3xx_i2c_master_xfer()
396 (struct i2c_algo_iop3xx_data *)padapter->algo_data; in iop3xx_i2c_remove()
499 new_adapter->algo_data = adapter_data; in iop3xx_i2c_probe()
H A 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()
H A 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()
H A 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()
252 dev->adapter.algo_data = dev; in i2c_tiny_usb_probe()
H A 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()
H A Di2c-pasemi-core.c119 struct pasemi_smbus *smbus = adapter->algo_data; in pasemi_i2c_xfer_msg()
167 struct pasemi_smbus *smbus = adapter->algo_data; in pasemi_i2c_xfer()
184 struct pasemi_smbus *smbus = adapter->algo_data; in pasemi_smb_xfer()
352 smbus->adapter.algo_data = smbus; in pasemi_i2c_common_probe()
/openbmc/linux/drivers/video/fbdev/mb862xx/
H A 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()
/openbmc/linux/drivers/i2c/
H A 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()
381 priv->adap.algo_data = priv; in i2c_mux_add_adapter()
[all …]
H A Di2c-atr.c195 struct i2c_atr_chan *chan = adap->algo_data; in i2c_atr_master_xfer()
223 struct i2c_atr_chan *chan = adap->algo_data; in i2c_atr_smbus_xfer()
240 struct i2c_atr_chan *chan = adap->algo_data; in i2c_atr_functionality()
248 struct i2c_atr_chan *chan = adapter->algo_data; in i2c_atr_lock_bus()
256 struct i2c_atr_chan *chan = adapter->algo_data; in i2c_atr_trylock_bus()
264 struct i2c_atr_chan *chan = adapter->algo_data; in i2c_atr_unlock_bus()
319 struct i2c_atr_chan *chan = adapter->algo_data; in i2c_atr_attach_client()
361 struct i2c_atr_chan *chan = adapter->algo_data; in i2c_atr_detach_client()
603 chan->adap.algo_data = chan; in i2c_atr_add_adapter()
674 chan = adap->algo_data; in i2c_atr_del_adapter()
/openbmc/linux/drivers/media/pci/solo6x10/
H A 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()
/openbmc/linux/drivers/media/usb/au0828/
H A Dau0828-i2c.c28 struct au0828_dev *dev = i2c_adap->algo_data; in i2c_slave_did_read_ack()
51 struct au0828_dev *dev = i2c_adap->algo_data; in i2c_is_read_busy()
74 struct au0828_dev *dev = i2c_adap->algo_data; in i2c_is_write_done()
97 struct au0828_dev *dev = i2c_adap->algo_data; in i2c_is_busy()
123 struct au0828_dev *dev = i2c_adap->algo_data; in i2c_sendbytes()
212 struct au0828_dev *dev = i2c_adap->algo_data; in i2c_readbytes()
368 dev->i2c_adap.algo_data = dev; in au0828_i2c_register()
/openbmc/linux/drivers/i2c/algos/
H A Di2c-algo-bit.c157 struct i2c_algo_bit_data *adap = i2c_adap->algo_data; in i2c_outb()
205 struct i2c_algo_bit_data *adap = i2c_adap->algo_data; in i2c_inb()
232 struct i2c_algo_bit_data *adap = i2c_adap->algo_data; in test_bus()
322 struct i2c_algo_bit_data *adap = i2c_adap->algo_data; in try_address()
387 struct i2c_algo_bit_data *adap = i2c_adap->algo_data; in acknak()
408 struct i2c_algo_bit_data *adap = i2c_adap->algo_data; in readbytes()
470 struct i2c_algo_bit_data *adap = i2c_adap->algo_data; in bit_doAddress()
524 struct i2c_algo_bit_data *adap = i2c_adap->algo_data; in bit_xfer()
604 struct i2c_algo_bit_data *adap = i2c_adap->algo_data; in bit_xfer_atomic()
638 struct i2c_algo_bit_data *bit_adap = adap->algo_data; in __i2c_bit_add_bus()
H A 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()
/openbmc/linux/drivers/media/pci/cx25821/
H A 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()
/openbmc/linux/drivers/gpu/drm/gma500/
H A Dcdv_intel_dp.c65 struct i2c_algo_dp_aux_data *algo_data = adapter->algo_data; in i2c_algo_dp_aux_transaction() local
85 struct i2c_algo_dp_aux_data *algo_data = adapter->algo_data; in i2c_algo_dp_aux_address() local
93 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
126 if (!algo_data->running) in i2c_algo_dp_aux_put_byte()
139 struct i2c_algo_dp_aux_data *algo_data = adapter->algo_data; in i2c_algo_dp_aux_get_byte() local
141 if (!algo_data->running) in i2c_algo_dp_aux_get_byte()
[all …]
/openbmc/linux/drivers/media/pci/cx23885/
H A 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()
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/
H A 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()
/openbmc/linux/drivers/media/usb/cx231xx/
H A 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()
/openbmc/linux/drivers/media/pci/saa7164/
H A 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