Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/i2c/busses/
Di2c-designware-core.h245 struct dw_i2c_dev { struct
256 u32 (*get_clk_rate_khz) (struct dw_i2c_dev *dev); argument
292 void (*disable)(struct dw_i2c_dev *dev); argument
293 void (*disable_int)(struct dw_i2c_dev *dev); argument
294 int (*init)(struct dw_i2c_dev *dev); argument
295 int (*set_sda_hold_time)(struct dw_i2c_dev *dev); argument
317 int (*probe)(struct dw_i2c_dev *dev); argument
318 void (*remove)(struct dw_i2c_dev *dev);
321 int i2c_dw_init_regmap(struct dw_i2c_dev *dev);
324 int i2c_dw_set_sda_hold(struct dw_i2c_dev *dev);
[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-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 void dw_i2c_plat_pm_cleanup(struct dw_i2c_dev *dev) in dw_i2c_plat_pm_cleanup()
179 static int dw_i2c_plat_request_regs(struct dw_i2c_dev *dev) in dw_i2c_plat_request_regs()
223 static int i2c_dw_probe_lock_support(struct dw_i2c_dev *dev) in i2c_dw_probe_lock_support()
[all …]
Di2c-designware-pcidrv.c61 u32 (*get_clk_rate_khz)(struct dw_i2c_dev *dev);
97 static u32 mfld_get_clk_rate_khz(struct dw_i2c_dev *dev) in mfld_get_clk_rate_khz()
104 struct dw_i2c_dev *dev = dev_get_drvdata(&pdev->dev); in mfld_setup()
142 static u32 ehl_get_clk_rate_khz(struct dw_i2c_dev *dev) in ehl_get_clk_rate_khz()
147 static u32 navi_amd_get_clk_rate_khz(struct dw_i2c_dev *dev) in navi_amd_get_clk_rate_khz()
154 struct dw_i2c_dev *dev = dev_get_drvdata(&pdev->dev); in navi_amd_setup()
198 struct dw_i2c_dev *i_dev = dev_get_drvdata(dev); in i2c_dw_pci_runtime_suspend()
206 struct dw_i2c_dev *i_dev = dev_get_drvdata(dev); in i2c_dw_pci_suspend()
215 struct dw_i2c_dev *i_dev = dev_get_drvdata(dev); in i2c_dw_pci_runtime_resume()
222 struct dw_i2c_dev *i_dev = dev_get_drvdata(dev); in i2c_dw_pci_resume()
[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()
94 struct dw_i2c_dev *dev = i2c_get_adapdata(slave->adapter); in i2c_dw_unreg_slave()
105 static u32 i2c_dw_read_clear_intrbits_slave(struct dw_i2c_dev *dev) in i2c_dw_read_clear_intrbits_slave()
157 static int i2c_dw_irq_handler_slave(struct dw_i2c_dev *dev) in i2c_dw_irq_handler_slave()
217 struct dw_i2c_dev *dev = dev_id; in i2c_dw_isr_slave()
233 void i2c_dw_configure_slave(struct dw_i2c_dev *dev) in i2c_dw_configure_slave()
244 int i2c_dw_probe_slave(struct dw_i2c_dev *dev) in i2c_dw_probe_slave()
Di2c-designware-master.c30 static void i2c_dw_configure_fifo_master(struct dw_i2c_dev *dev) in i2c_dw_configure_fifo_master()
40 static int i2c_dw_set_timings_master(struct dw_i2c_dev *dev) in i2c_dw_set_timings_master()
175 static int i2c_dw_init_master(struct dw_i2c_dev *dev) in i2c_dw_init_master()
210 static void i2c_dw_xfer_init(struct dw_i2c_dev *dev) in i2c_dw_xfer_init()
255 static int i2c_dw_check_stopbit(struct dw_i2c_dev *dev) in i2c_dw_check_stopbit()
269 static int i2c_dw_status(struct dw_i2c_dev *dev) in i2c_dw_status()
286 struct dw_i2c_dev *dev = i2c_get_adapdata(adap); in amd_i2c_dw_xfer_quirk()
364 i2c_dw_xfer_msg(struct dw_i2c_dev *dev) in i2c_dw_xfer_msg()
484 i2c_dw_recv_len(struct dw_i2c_dev *dev, u8 len) in i2c_dw_recv_len()
502 i2c_dw_read(struct dw_i2c_dev *dev) in i2c_dw_read()
[all …]
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.c388 int i2c_dw_amdpsp_probe_lock_support(struct dw_i2c_dev *dev) in i2c_dw_amdpsp_probe_lock_support()
422 void i2c_dw_amdpsp_remove_lock_support(struct dw_i2c_dev *dev) in i2c_dw_amdpsp_remove_lock_support()