Home
last modified time | relevance | path

Searched refs:i2c_get_adapdata (Results 1 – 25 of 146) sorted by relevance

123456

/openbmc/linux/drivers/gpu/drm/amd/amdgpu/
H A Dsmu_v11_0_i2c.c49 struct amdgpu_smu_i2c_bus *smu_i2c = i2c_get_adapdata(control); in smu_v11_0_i2c_set_clock_gating()
78 struct amdgpu_smu_i2c_bus *smu_i2c = i2c_get_adapdata(control); in smu_v11_0_i2c_enable()
104 struct amdgpu_smu_i2c_bus *smu_i2c = i2c_get_adapdata(control); in smu_v11_0_i2c_clear_status()
115 struct amdgpu_smu_i2c_bus *smu_i2c = i2c_get_adapdata(control); in smu_v11_0_i2c_configure()
137 struct amdgpu_smu_i2c_bus *smu_i2c = i2c_get_adapdata(control); in smu_v11_0_i2c_set_clock()
161 struct amdgpu_smu_i2c_bus *smu_i2c = i2c_get_adapdata(control); in smu_v11_0_i2c_set_address()
173 struct amdgpu_smu_i2c_bus *smu_i2c = i2c_get_adapdata(control); in smu_v11_0_i2c_poll_tx_status()
225 struct amdgpu_smu_i2c_bus *smu_i2c = i2c_get_adapdata(control); in smu_v11_0_i2c_poll_rx_status()
272 struct amdgpu_smu_i2c_bus *smu_i2c = i2c_get_adapdata(control); in smu_v11_0_i2c_transmit()
371 struct amdgpu_smu_i2c_bus *smu_i2c = i2c_get_adapdata(control); in smu_v11_0_i2c_receive()
[all …]
H A Damdgpu_i2c.c42 struct amdgpu_i2c_chan *i2c = i2c_get_adapdata(i2c_adap); in amdgpu_i2c_pre_xfer()
84 struct amdgpu_i2c_chan *i2c = i2c_get_adapdata(i2c_adap); in amdgpu_i2c_post_xfer()
/openbmc/linux/drivers/i2c/busses/
H A Di2c-uniphier.c64 struct uniphier_i2c_priv *priv = i2c_get_adapdata(adap); in uniphier_i2c_xfer_byte()
196 struct uniphier_i2c_priv *priv = i2c_get_adapdata(adap); in uniphier_i2c_check_bus_busy()
258 struct uniphier_i2c_priv *priv = i2c_get_adapdata(adap); in uniphier_i2c_get_scl()
266 struct uniphier_i2c_priv *priv = i2c_get_adapdata(adap); in uniphier_i2c_set_scl()
274 struct uniphier_i2c_priv *priv = i2c_get_adapdata(adap); in uniphier_i2c_get_sda()
282 uniphier_i2c_reset(i2c_get_adapdata(adap), false); in uniphier_i2c_unprepare_recovery()
H A Di2c-davinci.c296 struct davinci_i2c_dev *dev = i2c_get_adapdata(adap); in davinci_i2c_prepare_recovery()
307 struct davinci_i2c_dev *dev = i2c_get_adapdata(adap); in davinci_i2c_unprepare_recovery()
320 struct davinci_i2c_dev *dev = i2c_get_adapdata(adap); in davinci_i2c_set_scl()
332 struct davinci_i2c_dev *dev = i2c_get_adapdata(adap); in davinci_i2c_get_scl()
342 struct davinci_i2c_dev *dev = i2c_get_adapdata(adap); in davinci_i2c_get_sda()
352 struct davinci_i2c_dev *dev = i2c_get_adapdata(adap); in davinci_i2c_scl_prepare_recovery()
366 struct davinci_i2c_dev *dev = i2c_get_adapdata(adap); in davinci_i2c_scl_unprepare_recovery()
416 struct davinci_i2c_dev *dev = i2c_get_adapdata(adap); in i2c_davinci_xfer_msg()
536 struct davinci_i2c_dev *dev = i2c_get_adapdata(adap); in i2c_davinci_xfer()
H A Di2c-emev2.c107 struct em_i2c_device *priv = i2c_get_adapdata(adap); in em_i2c_reset()
142 struct em_i2c_device *priv = i2c_get_adapdata(adap); in __em_i2c_xfer()
212 struct em_i2c_device *priv = i2c_get_adapdata(adap); in em_i2c_xfer()
319 struct em_i2c_device *priv = i2c_get_adapdata(slave->adapter); in em_i2c_reg_slave()
337 struct em_i2c_device *priv = i2c_get_adapdata(slave->adapter); in em_i2c_unreg_slave()
H A Di2c-uniphier-f.c317 struct uniphier_fi2c_priv *priv = i2c_get_adapdata(adap); in uniphier_fi2c_master_xfer_one()
388 struct uniphier_fi2c_priv *priv = i2c_get_adapdata(adap); in uniphier_fi2c_check_bus_busy()
444 struct uniphier_fi2c_priv *priv = i2c_get_adapdata(adap); in uniphier_fi2c_get_scl()
452 struct uniphier_fi2c_priv *priv = i2c_get_adapdata(adap); in uniphier_fi2c_set_scl()
460 struct uniphier_fi2c_priv *priv = i2c_get_adapdata(adap); in uniphier_fi2c_get_sda()
468 uniphier_fi2c_prepare_operation(i2c_get_adapdata(adap)); in uniphier_fi2c_unprepare_recovery()
H A Di2c-octeon-core.c607 struct octeon_i2c *i2c = i2c_get_adapdata(adap); in octeon_i2c_xfer()
728 struct octeon_i2c *i2c = i2c_get_adapdata(adap); in octeon_i2c_get_scl()
737 struct octeon_i2c *i2c = i2c_get_adapdata(adap); in octeon_i2c_set_scl()
744 struct octeon_i2c *i2c = i2c_get_adapdata(adap); in octeon_i2c_get_sda()
753 struct octeon_i2c *i2c = i2c_get_adapdata(adap); in octeon_i2c_prepare_recovery()
771 struct octeon_i2c *i2c = i2c_get_adapdata(adap); in octeon_i2c_unprepare_recovery()
H A Di2c-at91-slave.c67 struct at91_twi_dev *dev = i2c_get_adapdata(slave->adapter); in at91_reg_slave()
91 struct at91_twi_dev *dev = i2c_get_adapdata(slave->adapter); in at91_unreg_slave()
H A Di2c-rcar.c168 struct rcar_i2c_priv *priv = i2c_get_adapdata(adap); in rcar_i2c_get_scl()
176 struct rcar_i2c_priv *priv = i2c_get_adapdata(adap); in rcar_i2c_set_scl()
188 struct rcar_i2c_priv *priv = i2c_get_adapdata(adap); in rcar_i2c_set_sda()
200 struct rcar_i2c_priv *priv = i2c_get_adapdata(adap); in rcar_i2c_get_bus_free()
843 struct rcar_i2c_priv *priv = i2c_get_adapdata(adap); in rcar_i2c_master_xfer()
904 struct rcar_i2c_priv *priv = i2c_get_adapdata(adap); in rcar_i2c_master_xfer_atomic()
961 struct rcar_i2c_priv *priv = i2c_get_adapdata(slave->adapter); in rcar_reg_slave()
983 struct rcar_i2c_priv *priv = i2c_get_adapdata(slave->adapter); in rcar_unreg_slave()
1001 struct rcar_i2c_priv *priv = i2c_get_adapdata(adap); in rcar_i2c_func()
H A Di2c-axxia.c615 struct axxia_i2c_dev *idev = i2c_get_adapdata(adap); in axxia_i2c_xfer()
636 struct axxia_i2c_dev *idev = i2c_get_adapdata(adap); in axxia_i2c_get_scl()
643 struct axxia_i2c_dev *idev = i2c_get_adapdata(adap); in axxia_i2c_set_scl()
655 struct axxia_i2c_dev *idev = i2c_get_adapdata(adap); in axxia_i2c_get_sda()
676 struct axxia_i2c_dev *idev = i2c_get_adapdata(slave->adapter); in axxia_i2c_reg_slave()
708 struct axxia_i2c_dev *idev = i2c_get_adapdata(slave->adapter); in axxia_i2c_unreg_slave()
H A Di2c-cpm.c124 cpm = i2c_get_adapdata(dev_id); in cpm_i2c_interrupt()
170 struct cpm_i2c *cpm = i2c_get_adapdata(adap); in cpm_i2c_force_close()
189 struct cpm_i2c *cpm = i2c_get_adapdata(adap); in cpm_i2c_parse_message()
247 struct cpm_i2c *cpm = i2c_get_adapdata(adap); in cpm_i2c_check_message()
299 struct cpm_i2c *cpm = i2c_get_adapdata(adap); in cpm_i2c_xfer()
H A Di2c-omap.c662 struct omap_i2c_dev *omap = i2c_get_adapdata(adap); in omap_i2c_xfer_msg()
795 struct omap_i2c_dev *omap = i2c_get_adapdata(adap); in omap_i2c_xfer_common()
1282 struct omap_i2c_dev *dev = i2c_get_adapdata(adap); in omap_i2c_get_scl()
1292 struct omap_i2c_dev *dev = i2c_get_adapdata(adap); in omap_i2c_get_sda()
1302 struct omap_i2c_dev *dev = i2c_get_adapdata(adap); in omap_i2c_set_scl()
1315 struct omap_i2c_dev *dev = i2c_get_adapdata(adap); in omap_i2c_prepare_recovery()
1332 struct omap_i2c_dev *dev = i2c_get_adapdata(adap); in omap_i2c_unprepare_recovery()
H A Di2c-designware-slave.c63 struct dw_i2c_dev *dev = i2c_get_adapdata(slave->adapter); in i2c_dw_reg_slave()
88 struct dw_i2c_dev *dev = i2c_get_adapdata(slave->adapter); in i2c_dw_unreg_slave()
H A Di2c-piix4.c540 struct i2c_piix4_adapdata *adapdata = i2c_get_adapdata(piix4_adapter); in piix4_transaction()
619 struct i2c_piix4_adapdata *adapdata = i2c_get_adapdata(adap); in piix4_access()
801 struct i2c_piix4_adapdata *adapdata = i2c_get_adapdata(adap); in piix4_access_sb800()
1021 adapdata = i2c_get_adapdata(piix4_main_adapters[port]); in piix4_add_adapters_sb800()
1118 struct i2c_piix4_adapdata *adapdata = i2c_get_adapdata(adap); in piix4_adap_remove()
H A Di2c-designware-master.c315 struct dw_i2c_dev *dev = i2c_get_adapdata(adap); in amd_i2c_dw_xfer_quirk()
407 struct dw_i2c_dev *dev = i2c_get_adapdata(adap); in txgbe_i2c_dw_xfer_quirk()
670 struct dw_i2c_dev *dev = i2c_get_adapdata(adap); in i2c_dw_xfer()
939 struct dw_i2c_dev *dev = i2c_get_adapdata(adap); in i2c_dw_prepare_recovery()
948 struct dw_i2c_dev *dev = i2c_get_adapdata(adap); in i2c_dw_unprepare_recovery()
H A Di2c-gxp.c117 struct gxp_i2c_drvdata *drvdata = i2c_get_adapdata(adapter); in gxp_i2c_master_xfer()
153 struct gxp_i2c_drvdata *drvdata = i2c_get_adapdata(slave->adapter); in gxp_i2c_reg_slave()
172 struct gxp_i2c_drvdata *drvdata = i2c_get_adapdata(slave->adapter); in gxp_i2c_unreg_slave()
H A Di2c-powermac.c36 struct pmac_i2c_bus *bus = i2c_get_adapdata(adap); in i2c_powermac_smbus_xfer()
138 struct pmac_i2c_bus *bus = i2c_get_adapdata(adap); in i2c_powermac_master_xfer()
H A Di2c-mxs.c176 struct mxs_i2c_dev *i2c = i2c_get_adapdata(adap); in mxs_i2c_dma_setup_xfer()
371 struct mxs_i2c_dev *i2c = i2c_get_adapdata(adap); in mxs_i2c_pio_setup_xfer()
562 struct mxs_i2c_dev *i2c = i2c_get_adapdata(adap); in mxs_i2c_xfer_msg()
/openbmc/linux/drivers/media/dvb-frontends/
H A Ddibx000_common.c184 struct dibx000_i2c_master *mst = i2c_get_adapdata(i2c_adap); in dibx000_i2c_set_speed()
211 struct dibx000_i2c_master *mst = i2c_get_adapdata(i2c_adap); in dibx000_i2c_master_xfer_gpio12()
233 struct dibx000_i2c_master *mst = i2c_get_adapdata(i2c_adap); in dibx000_i2c_master_xfer_gpio34()
288 struct dibx000_i2c_master *mst = i2c_get_adapdata(i2c_adap); in dibx000_i2c_gated_gpio67_xfer()
335 struct dibx000_i2c_master *mst = i2c_get_adapdata(i2c_adap); in dibx000_i2c_gated_tuner_xfer()
/openbmc/linux/drivers/media/usb/go7007/
H A Dgo7007-i2c.c132 struct go7007 *go = i2c_get_adapdata(adapter); in go7007_smbus_xfer()
148 struct go7007 *go = i2c_get_adapdata(adapter); in go7007_i2c_master_xfer()
H A Ds2250-board.c153 struct go7007 *go = i2c_get_adapdata(client->adapter); in write_reg()
187 struct go7007 *go = i2c_get_adapdata(client->adapter); in write_reg_fp()
251 struct go7007 *go = i2c_get_adapdata(client->adapter); in read_reg_fp()
504 struct go7007 *go = i2c_get_adapdata(adapter); in s2250_probe()
/openbmc/linux/drivers/gpu/drm/gma500/
H A Doaktrail_hdmi_i2c.c95 struct oaktrail_hdmi_dev *hdmi_dev = i2c_get_adapdata(adap); in xfer_read()
128 struct oaktrail_hdmi_dev *hdmi_dev = i2c_get_adapdata(adap); in oaktrail_hdmi_i2c_access()
/openbmc/linux/drivers/staging/greybus/
H A Di2c.c213 gb_i2c_dev = i2c_get_adapdata(adap); in gb_i2c_master_xfer()
220 struct gb_i2c_device *gb_i2c_dev = i2c_get_adapdata(adap); in gb_i2c_functionality()
/openbmc/linux/drivers/gpu/drm/radeon/
H A Dradeon_i2c.c87 struct radeon_i2c_chan *i2c = i2c_get_adapdata(i2c_adap); in pre_xfer()
157 struct radeon_i2c_chan *i2c = i2c_get_adapdata(i2c_adap); in post_xfer()
324 struct radeon_i2c_chan *i2c = i2c_get_adapdata(i2c_adap); in r100_hw_i2c_xfer()
577 struct radeon_i2c_chan *i2c = i2c_get_adapdata(i2c_adap); in r500_hw_i2c_xfer()
810 struct radeon_i2c_chan *i2c = i2c_get_adapdata(i2c_adap); in radeon_hw_i2c_xfer()
H A Datombios_i2c.c103 struct radeon_i2c_chan *i2c = i2c_get_adapdata(i2c_adap); in radeon_atom_hw_i2c_xfer()

123456