Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/i2c/busses/
Di2c-designware-core.h249 struct dw_i2c_dev { struct
260 u32 (*get_clk_rate_khz) (struct dw_i2c_dev *dev); argument
296 void (*disable)(struct dw_i2c_dev *dev); argument
297 int (*init)(struct dw_i2c_dev *dev); argument
298 int (*set_sda_hold_time)(struct dw_i2c_dev *dev); argument
324 int (*probe)(struct dw_i2c_dev *dev);
325 void (*remove)(struct dw_i2c_dev *dev);
328 int i2c_dw_init_regmap(struct dw_i2c_dev *dev);
331 int i2c_dw_set_sda_hold(struct dw_i2c_dev *dev);
332 u32 i2c_dw_clk_rate(struct dw_i2c_dev *dev);
[all …]
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()
127 static int mscc_twi_set_sda_hold_time(struct dw_i2c_dev *dev) in mscc_twi_set_sda_hold_time()
137 struct dw_i2c_dev *dev = platform_get_drvdata(pdev); in dw_i2c_of_configure()
160 static int bt1_i2c_request_regs(struct dw_i2c_dev *dev) in bt1_i2c_request_regs()
171 static int txgbe_i2c_request_regs(struct dw_i2c_dev *dev) in txgbe_i2c_request_regs()
180 static void dw_i2c_plat_pm_cleanup(struct dw_i2c_dev *dev) in dw_i2c_plat_pm_cleanup()
188 static int dw_i2c_plat_request_regs(struct dw_i2c_dev *dev) in dw_i2c_plat_request_regs()
[all …]
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()
191 int i2c_dw_validate_speed(struct dw_i2c_dev *dev) in i2c_dw_validate_speed()
260 struct dw_i2c_dev *dev = dev_get_drvdata(device); in i2c_dw_acpi_configure()
317 void i2c_dw_adjust_bus_speed(struct dw_i2c_dev *dev) in i2c_dw_adjust_bus_speed()
[all …]
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()
148 static u32 navi_amd_get_clk_rate_khz(struct dw_i2c_dev *dev) in navi_amd_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()
[all …]
Di2c-designware-master.c31 static void i2c_dw_configure_fifo_master(struct dw_i2c_dev *dev) in i2c_dw_configure_fifo_master()
41 static int i2c_dw_set_timings_master(struct dw_i2c_dev *dev) in i2c_dw_set_timings_master()
176 static int i2c_dw_init_master(struct dw_i2c_dev *dev) in i2c_dw_init_master()
211 static void i2c_dw_xfer_init(struct dw_i2c_dev *dev) in i2c_dw_xfer_init()
256 static int i2c_dw_check_stopbit(struct dw_i2c_dev *dev) in i2c_dw_check_stopbit()
270 static int i2c_dw_status(struct dw_i2c_dev *dev) in i2c_dw_status()
287 struct dw_i2c_dev *dev = i2c_get_adapdata(adap); in amd_i2c_dw_xfer_quirk()
358 static int i2c_dw_poll_tx_empty(struct dw_i2c_dev *dev) in i2c_dw_poll_tx_empty()
367 static int i2c_dw_poll_rx_full(struct dw_i2c_dev *dev) in i2c_dw_poll_rx_full()
379 struct dw_i2c_dev *dev = i2c_get_adapdata(adap); in txgbe_i2c_dw_xfer_quirk()
[all …]
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()
Di2c-designware-baytrail.c15 int i2c_dw_baytrail_probe_lock_support(struct dw_i2c_dev *dev) in i2c_dw_baytrail_probe_lock_support()
Di2c-designware-amdpsp.c277 int i2c_dw_amdpsp_probe_lock_support(struct dw_i2c_dev *dev) in i2c_dw_amdpsp_probe_lock_support()