Home
last modified time | relevance | path

Searched refs:algo_data (Results 1 – 25 of 130) 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.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()
121 if ((i2c->algo_data.read_byte(i2c, I2C_PCA_CON) & I2C_PCA_CON_SI) == 0) in i2c_pca_pf_handler()
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()
179 i2c->algo_data.i2c_clock = platform_data->i2c_clock_speed; in i2c_pca_pf_probe()
182 i2c->algo_data.data = i2c; in i2c_pca_pf_probe()
183 i2c->algo_data.wait_for_completion = i2c_pca_pf_waitforcompletion; in i2c_pca_pf_probe()
[all …]
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()
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()
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.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()
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-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()
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()
/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 …]
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()
/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/media/usb/au0828/
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()
/drivers/i2c/algos/
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()
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/gpu/drm/gma500/
Dcdv_intel_dp.c65 struct i2c_algo_dp_aux_data *algo_data = adapter->algo_data; in i2c_algo_dp_aux_transaction() local
68 ret = (*algo_data->aux_ch)(adapter, mode, in i2c_algo_dp_aux_transaction()
85 struct i2c_algo_dp_aux_data *algo_data = adapter->algo_data; in i2c_algo_dp_aux_address() local
92 algo_data->address = address; in i2c_algo_dp_aux_address()
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()
[all …]
/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/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()
/drivers/crypto/
Dsa2ul.c131 struct algo_data { struct
145 void (*prep_iopad)(struct algo_data *algo, const u8 *key, argument
435 static void sa_prepare_iopads(struct algo_data *data, const u8 *key, in sa_prepare_iopads()
503 static int sa_set_sc_enc(struct algo_data *ad, const u8 *key, u16 key_sz, in sa_set_sc_enc()
532 static void sa_set_sc_auth(struct algo_data *ad, const u8 *key, u16 key_sz, in sa_set_sc_auth()
719 struct algo_data *ad, u8 enc, u32 *swinfo) in sa_init_sc()
886 unsigned int keylen, struct algo_data *ad) in sa_cipher_setkey()
950 struct algo_data ad = { 0 }; in sa_aes_cbc_setkey()
970 struct algo_data ad = { 0 }; in sa_aes_ecb_setkey()
988 struct algo_data ad = { 0 }; in sa_3des_cbc_setkey()
[all …]

123456