Home
last modified time | relevance | path

Searched refs:dw_i2c_dev (Results 1 – 8 of 8) sorted by relevance

/openbmc/linux/drivers/i2c/busses/
H A Di2c-designware-core.h251 struct dw_i2c_dev { struct
298 void (*disable)(struct dw_i2c_dev *dev); argument
299 int (*init)(struct dw_i2c_dev *dev); argument
326 int (*probe)(struct dw_i2c_dev *dev);
327 void (*remove)(struct dw_i2c_dev *dev);
330 int i2c_dw_init_regmap(struct dw_i2c_dev *dev);
333 int i2c_dw_set_sda_hold(struct dw_i2c_dev *dev);
334 u32 i2c_dw_clk_rate(struct dw_i2c_dev *dev);
336 int i2c_dw_acquire_lock(struct dw_i2c_dev *dev);
342 void i2c_dw_disable(struct dw_i2c_dev *dev);
[all …]
H A Di2c-designware-platdrv.c38 static u32 i2c_dw_get_clk_rate_khz(struct dw_i2c_dev *dev) in i2c_dw_get_clk_rate_khz()
75 struct dw_i2c_dev *dev = context; in bt1_i2c_read()
92 struct dw_i2c_dev *dev = context; in bt1_i2c_write()
113 static int bt1_i2c_request_regs(struct dw_i2c_dev *dev) in bt1_i2c_request_regs()
137 struct dw_i2c_dev *dev = platform_get_drvdata(pdev); in dw_i2c_of_configure()
279 struct dw_i2c_dev *dev; in dw_i2c_plat_probe()
404 struct dw_i2c_dev *dev = platform_get_drvdata(pdev); in dw_i2c_plat_remove()
434 struct dw_i2c_dev *i_dev = dev_get_drvdata(dev); in dw_i2c_plat_runtime_suspend()
447 struct dw_i2c_dev *i_dev = dev_get_drvdata(dev); in dw_i2c_plat_suspend()
456 struct dw_i2c_dev *i_dev = dev_get_drvdata(dev); in dw_i2c_plat_runtime_resume()
[all …]
H A Di2c-designware-common.c64 struct dw_i2c_dev *dev = context; in dw_reg_read()
73 struct dw_i2c_dev *dev = context; in dw_reg_write()
82 struct dw_i2c_dev *dev = context; in dw_reg_read_swab()
91 struct dw_i2c_dev *dev = context; in dw_reg_write_swab()
100 struct dw_i2c_dev *dev = context; in dw_reg_read_word()
110 struct dw_i2c_dev *dev = context; in dw_reg_write_word()
126 int i2c_dw_init_regmap(struct dw_i2c_dev *dev) in i2c_dw_init_regmap()
392 int i2c_dw_set_sda_hold(struct dw_i2c_dev *dev) in i2c_dw_set_sda_hold()
442 void __i2c_dw_disable(struct dw_i2c_dev *dev) in __i2c_dw_disable()
501 u32 i2c_dw_clk_rate(struct dw_i2c_dev *dev) in i2c_dw_clk_rate()
[all …]
H A Di2c-designware-pcidrv.c62 u32 (*get_clk_rate_khz)(struct dw_i2c_dev *dev);
98 static u32 mfld_get_clk_rate_khz(struct dw_i2c_dev *dev) in mfld_get_clk_rate_khz()
105 struct dw_i2c_dev *dev = dev_get_drvdata(&pdev->dev); in mfld_setup()
143 static u32 ehl_get_clk_rate_khz(struct dw_i2c_dev *dev) in ehl_get_clk_rate_khz()
155 struct dw_i2c_dev *dev = dev_get_drvdata(&pdev->dev); in navi_amd_setup()
199 struct dw_i2c_dev *i_dev = dev_get_drvdata(dev); in i2c_dw_pci_runtime_suspend()
207 struct dw_i2c_dev *i_dev = dev_get_drvdata(dev); in i2c_dw_pci_suspend()
216 struct dw_i2c_dev *i_dev = dev_get_drvdata(dev); in i2c_dw_pci_runtime_resume()
223 struct dw_i2c_dev *i_dev = dev_get_drvdata(dev); in i2c_dw_pci_resume()
251 struct dw_i2c_dev *dev; in i2c_dw_pci_probe()
[all …]
H A Di2c-designware-master.c298 static int i2c_dw_status(struct dw_i2c_dev *dev) in i2c_dw_status()
315 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()
455 i2c_dw_xfer_msg(struct dw_i2c_dev *dev) in i2c_dw_xfer_msg()
581 i2c_dw_recv_len(struct dw_i2c_dev *dev, u8 len) in i2c_dw_recv_len()
606 i2c_dw_read(struct dw_i2c_dev *dev) in i2c_dw_read()
670 struct dw_i2c_dev *dev = i2c_get_adapdata(adap); in i2c_dw_xfer()
849 struct dw_i2c_dev *dev = dev_id; in i2c_dw_isr()
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()
[all …]
H A Di2c-designware-slave.c21 static void i2c_dw_configure_fifo_slave(struct dw_i2c_dev *dev) in i2c_dw_configure_fifo_slave()
40 static int i2c_dw_init_slave(struct dw_i2c_dev *dev) in i2c_dw_init_slave()
63 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()
99 static u32 i2c_dw_read_clear_intrbits_slave(struct dw_i2c_dev *dev) in i2c_dw_read_clear_intrbits_slave()
152 struct dw_i2c_dev *dev = dev_id; in i2c_dw_isr_slave()
221 void i2c_dw_configure_slave(struct dw_i2c_dev *dev) in i2c_dw_configure_slave()
232 int i2c_dw_probe_slave(struct dw_i2c_dev *dev) in i2c_dw_probe_slave()
H A Di2c-designware-baytrail.c15 int i2c_dw_baytrail_probe_lock_support(struct dw_i2c_dev *dev) in i2c_dw_baytrail_probe_lock_support()
H A Di2c-designware-amdpsp.c277 int i2c_dw_amdpsp_probe_lock_support(struct dw_i2c_dev *dev) in i2c_dw_amdpsp_probe_lock_support()