Home
last modified time | relevance | path

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

123

/linux-4.19.296/drivers/i2c/busses/
Di2c-pca-platform.c37 struct i2c_algo_pca_data algo_data; member
89 i2c->algo_data.read_byte(i2c, I2C_PCA_CON) in i2c_pca_pf_waitforcompletion()
96 if (i2c->algo_data.read_byte(i2c, I2C_PCA_CON) in i2c_pca_pf_waitforcompletion()
126 if ((i2c->algo_data.read_byte(i2c, I2C_PCA_CON) & I2C_PCA_CON_SI) == 0) in i2c_pca_pf_handler()
171 i2c->adap.algo_data = &i2c->algo_data; in i2c_pca_pf_probe()
181 &i2c->algo_data.i2c_clock); in i2c_pca_pf_probe()
183 i2c->algo_data.i2c_clock = 59000; in i2c_pca_pf_probe()
187 i2c->algo_data.i2c_clock = platform_data->i2c_clock_speed; in i2c_pca_pf_probe()
190 i2c->algo_data.data = i2c; in i2c_pca_pf_probe()
191 i2c->algo_data.wait_for_completion = i2c_pca_pf_waitforcompletion; in i2c_pca_pf_probe()
[all …]
Di2c-parport.c43 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()
Di2c-sibyte.c40 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],
Di2c-robotfuzz-osif.c42 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()
150 priv->adapter.algo_data = priv; in osif_probe()
Di2c-iop3xx.c307 struct i2c_algo_iop3xx_data *iop3xx_adap = i2c_adap->algo_data; in iop3xx_i2c_writebytes()
319 struct i2c_algo_iop3xx_data *iop3xx_adap = i2c_adap->algo_data; in iop3xx_i2c_readbytes()
339 struct i2c_algo_iop3xx_data *iop3xx_adap = i2c_adap->algo_data; in iop3xx_i2c_handle_msg()
361 struct i2c_algo_iop3xx_data *iop3xx_adap = i2c_adap->algo_data; in iop3xx_i2c_master_xfer()
398 (struct i2c_algo_iop3xx_data *)padapter->algo_data; in iop3xx_i2c_remove()
487 new_adapter->algo_data = adapter_data; in iop3xx_i2c_probe()
Di2c-nforce2.c144 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()
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()
699 port->adapter.algo_data = port; in fsi_i2c_probe()
Di2c-sirf.c241 struct sirfsoc_i2c *siic = adap->algo_data; in i2c_sirfsoc_xfer()
332 adap->algo_data = siic; in i2c_sirfsoc_probe()
412 struct sirfsoc_i2c *siic = adapter->algo_data; in i2c_sirfsoc_remove()
425 struct sirfsoc_i2c *siic = adapter->algo_data; in i2c_sirfsoc_suspend()
437 struct sirfsoc_i2c *siic = adapter->algo_data; in i2c_sirfsoc_resume()
Di2c-tiny-usb.c180 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()
Di2c-opal.c88 unsigned long opal_id = (unsigned long)adap->algo_data; in i2c_opal_master_xfer()
128 unsigned long opal_id = (unsigned long)adap->algo_data; in i2c_opal_smbus_xfer()
229 adapter->algo_data = (void *)(unsigned long)opal_id; in i2c_opal_probe()
Di2c-pasemi.c118 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()
373 smbus->adapter.algo_data = smbus; in pasemi_smb_probe()
Di2c-acorn.c85 .algo_data = &ioc_data,
Di2c-scmi.c89 struct acpi_smbus_cmi *smbus_cmi = adap->algo_data; in acpi_smbus_cmi_access()
276 struct acpi_smbus_cmi *smbus_cmi = adapter->algo_data; in acpi_smbus_cmi_func()
402 smbus_cmi->adapter.algo_data = smbus_cmi; in acpi_smbus_cmi_add()
Di2c-cros-ec-tunnel.c182 struct ec_i2c_device *bus = adap->algo_data; in ec_i2c_xfer()
278 bus->adap.algo_data = bus; in ec_i2c_probe()
Di2c-taos-evm.c70 struct serio *serio = adapter->algo_data; in taos_smbus_xfer()
229 adapter->algo_data = serio; in taos_connect()
Di2c-viperboard.c45 struct vprbrd *vb = (struct vprbrd *)i2c->algo_data; in vprbrd_i2c_status()
276 struct vprbrd *vb = (struct vprbrd *)i2c->algo_data; in vprbrd_i2c_xfer()
378 vb_i2c->i2c.algo_data = vb; in vprbrd_i2c_probe()
Di2c-au1550.c224 struct i2c_au1550_data *adap = i2c_adap->algo_data; in au1550_xfer()
331 priv->adap.algo_data = priv; in i2c_au1550_probe()
Di2c-via.c83 .algo_data = &bit_data,
Di2c-hydra.c100 .algo_data = &hydra_bit_data,
/linux-4.19.296/drivers/i2c/
Di2c-mux.c41 struct i2c_mux_priv *priv = adap->algo_data; in __i2c_mux_master_xfer()
60 struct i2c_mux_priv *priv = adap->algo_data; in i2c_mux_master_xfer()
81 struct i2c_mux_priv *priv = adap->algo_data; in __i2c_mux_smbus_xfer()
103 struct i2c_mux_priv *priv = adap->algo_data; in i2c_mux_smbus_xfer()
123 struct i2c_mux_priv *priv = adap->algo_data; in i2c_mux_functionality()
144 struct i2c_mux_priv *priv = adapter->algo_data; in i2c_mux_lock_bus()
155 struct i2c_mux_priv *priv = adapter->algo_data; in i2c_mux_trylock_bus()
170 struct i2c_mux_priv *priv = adapter->algo_data; in i2c_mux_unlock_bus()
181 struct i2c_mux_priv *priv = adapter->algo_data; in i2c_parent_lock_bus()
191 struct i2c_mux_priv *priv = adapter->algo_data; in i2c_parent_trylock_bus()
[all …]
/linux-4.19.296/drivers/i2c/algos/
Di2c-algo-bit.c166 struct i2c_algo_bit_data *adap = i2c_adap->algo_data; in i2c_outb()
213 struct i2c_algo_bit_data *adap = i2c_adap->algo_data; in i2c_inb()
240 struct i2c_algo_bit_data *adap = i2c_adap->algo_data; in test_bus()
346 struct i2c_algo_bit_data *adap = i2c_adap->algo_data; in try_address()
411 struct i2c_algo_bit_data *adap = i2c_adap->algo_data; in acknak()
490 struct i2c_algo_bit_data *adap = i2c_adap->algo_data; in bit_doAddress()
544 struct i2c_algo_bit_data *adap = i2c_adap->algo_data; in bit_xfer()
642 struct i2c_algo_bit_data *bit_adap = adap->algo_data; in __i2c_bit_add_bus()
Di2c-algo-pcf.c217 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()
307 struct i2c_algo_pcf_data *adap = i2c_adap->algo_data; in pcf_xfer()
409 struct i2c_algo_pcf_data *pcf_adap = adap->algo_data; in i2c_pcf_add_bus()
Di2c-algo-pca.c195 struct i2c_algo_pca_data *adap = i2c_adap->algo_data; in pca_xfer()
379 struct i2c_algo_pca_data *pca_data = adap->algo_data; in pca_probe_chip()
402 struct i2c_algo_pca_data *pca_data = adap->algo_data; in pca_init()
/linux-4.19.296/drivers/media/common/b2c2/
Dflexcop-i2c.c243 fc->fc_i2c_adap[0].i2c_adap.algo_data = in flexcop_i2c_init()
244 fc->fc_i2c_adap[1].i2c_adap.algo_data = in flexcop_i2c_init()
245 fc->fc_i2c_adap[2].i2c_adap.algo_data = NULL; in flexcop_i2c_init()
/linux-4.19.296/drivers/i2c/muxes/
Di2c-demux-pinctrl.c43 struct i2c_demux_pinctrl_priv *priv = adap->algo_data; in i2c_demux_master_xfer()
51 struct i2c_demux_pinctrl_priv *priv = adap->algo_data; in i2c_demux_functionality()
108 priv->cur_adap.algo_data = priv; in i2c_demux_activate_master()

123