Searched refs:dw_i2c_dev (Results 1 – 8 of 8) sorted by relevance
250 struct dw_i2c_dev { struct261 u32 (*get_clk_rate_khz) (struct dw_i2c_dev *dev); argument298 int (*init)(struct dw_i2c_dev *dev); argument299 int (*set_sda_hold_time)(struct dw_i2c_dev *dev); argument326 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);331 u32 i2c_dw_scl_hcnt(struct dw_i2c_dev *dev, unsigned int reg, u32 ic_clk,333 u32 i2c_dw_scl_lcnt(struct dw_i2c_dev *dev, unsigned int reg, u32 ic_clk,335 int i2c_dw_set_sda_hold(struct dw_i2c_dev *dev);[all …]
69 struct dw_i2c_dev *dev = context; in dw_reg_read()78 struct dw_i2c_dev *dev = context; in dw_reg_write()87 struct dw_i2c_dev *dev = context; in dw_reg_read_swab()96 struct dw_i2c_dev *dev = context; in dw_reg_write_swab()105 struct dw_i2c_dev *dev = context; in dw_reg_read_word()115 struct dw_i2c_dev *dev = context; in dw_reg_write_word()131 int i2c_dw_init_regmap(struct dw_i2c_dev *dev) in i2c_dw_init_regmap()196 static int i2c_dw_validate_speed(struct dw_i2c_dev *dev) in i2c_dw_validate_speed()225 static int mscc_twi_set_sda_hold_time(struct dw_i2c_dev *dev) in mscc_twi_set_sda_hold_time()236 struct dw_i2c_dev *dev = dev_get_drvdata(device); in i2c_dw_of_configure()[all …]
35 static u32 i2c_dw_get_clk_rate_khz(struct dw_i2c_dev *dev) in i2c_dw_get_clk_rate_khz()50 struct dw_i2c_dev *dev = context; in bt1_i2c_read()67 struct dw_i2c_dev *dev = context; in bt1_i2c_write()88 static int bt1_i2c_request_regs(struct dw_i2c_dev *dev) in bt1_i2c_request_regs()98 static int bt1_i2c_request_regs(struct dw_i2c_dev *dev) in bt1_i2c_request_regs()104 static int txgbe_i2c_request_regs(struct dw_i2c_dev *dev) in txgbe_i2c_request_regs()113 static void dw_i2c_plat_pm_cleanup(struct dw_i2c_dev *dev) in dw_i2c_plat_pm_cleanup()121 static int dw_i2c_plat_request_regs(struct dw_i2c_dev *dev) in dw_i2c_plat_request_regs()167 static int i2c_dw_probe_lock_support(struct dw_i2c_dev *dev) in i2c_dw_probe_lock_support()197 static void i2c_dw_remove_lock_support(struct dw_i2c_dev *dev) in i2c_dw_remove_lock_support()[all …]
33 static void i2c_dw_configure_fifo_master(struct dw_i2c_dev *dev) in i2c_dw_configure_fifo_master()43 static int i2c_dw_set_timings_master(struct dw_i2c_dev *dev) in i2c_dw_set_timings_master()194 static int i2c_dw_init_master(struct dw_i2c_dev *dev) in i2c_dw_init_master()229 static void i2c_dw_xfer_init(struct dw_i2c_dev *dev) in i2c_dw_xfer_init()289 static bool i2c_dw_is_controller_active(struct dw_i2c_dev *dev) in i2c_dw_is_controller_active()302 static int i2c_dw_check_stopbit(struct dw_i2c_dev *dev) in i2c_dw_check_stopbit()316 static int i2c_dw_status(struct dw_i2c_dev *dev) in i2c_dw_status()333 struct dw_i2c_dev *dev = i2c_get_adapdata(adap); in amd_i2c_dw_xfer_quirk()410 i2c_dw_xfer_msg(struct dw_i2c_dev *dev) in i2c_dw_xfer_msg()536 i2c_dw_recv_len(struct dw_i2c_dev *dev, u8 len) in i2c_dw_recv_len()[all …]
23 static void i2c_dw_configure_fifo_slave(struct dw_i2c_dev *dev) in i2c_dw_configure_fifo_slave()42 static int i2c_dw_init_slave(struct dw_i2c_dev *dev) in i2c_dw_init_slave()65 struct dw_i2c_dev *dev = i2c_get_adapdata(slave->adapter); in i2c_dw_reg_slave()90 struct dw_i2c_dev *dev = i2c_get_adapdata(slave->adapter); in i2c_dw_unreg_slave()101 static u32 i2c_dw_read_clear_intrbits_slave(struct dw_i2c_dev *dev) in i2c_dw_read_clear_intrbits_slave()154 struct dw_i2c_dev *dev = dev_id; in i2c_dw_isr_slave()223 void i2c_dw_configure_slave(struct dw_i2c_dev *dev) in i2c_dw_configure_slave()234 int i2c_dw_probe_slave(struct dw_i2c_dev *dev) in i2c_dw_probe_slave()
62 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 = pci_get_drvdata(pdev); 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 = pci_get_drvdata(pdev); in navi_amd_setup()210 struct dw_i2c_dev *dev; in i2c_dw_pci_probe()298 struct dw_i2c_dev *dev = pci_get_drvdata(pdev); in i2c_dw_pci_remove()
15 int i2c_dw_baytrail_probe_lock_support(struct dw_i2c_dev *dev) in i2c_dw_baytrail_probe_lock_support()
277 int i2c_dw_amdpsp_probe_lock_support(struct dw_i2c_dev *dev) in i2c_dw_amdpsp_probe_lock_support()