Lines Matching refs:dw_i2c_dev
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()
302 struct dw_i2c_dev *dev = dev_get_drvdata(device); in i2c_dw_acpi_configure()
358 static void i2c_dw_adjust_bus_speed(struct dw_i2c_dev *dev) in i2c_dw_adjust_bus_speed()
375 int i2c_dw_fw_parse_and_configure(struct dw_i2c_dev *dev) in i2c_dw_fw_parse_and_configure()
394 static u32 i2c_dw_read_scl_reg(struct dw_i2c_dev *dev, u32 reg) in i2c_dw_read_scl_reg()
409 u32 i2c_dw_scl_hcnt(struct dw_i2c_dev *dev, unsigned int reg, u32 ic_clk, in i2c_dw_scl_hcnt()
453 u32 i2c_dw_scl_lcnt(struct dw_i2c_dev *dev, unsigned int reg, u32 ic_clk, in i2c_dw_scl_lcnt()
474 int i2c_dw_set_sda_hold(struct dw_i2c_dev *dev) in i2c_dw_set_sda_hold()
524 void __i2c_dw_disable(struct dw_i2c_dev *dev) in __i2c_dw_disable()
583 u32 i2c_dw_clk_rate(struct dw_i2c_dev *dev) in i2c_dw_clk_rate()
594 int i2c_dw_prepare_clk(struct dw_i2c_dev *dev, bool prepare) in i2c_dw_prepare_clk()
618 int i2c_dw_acquire_lock(struct dw_i2c_dev *dev) in i2c_dw_acquire_lock()
634 void i2c_dw_release_lock(struct dw_i2c_dev *dev) in i2c_dw_release_lock()
643 int i2c_dw_wait_bus_not_busy(struct dw_i2c_dev *dev) in i2c_dw_wait_bus_not_busy()
664 int i2c_dw_handle_tx_abort(struct dw_i2c_dev *dev) in i2c_dw_handle_tx_abort()
687 int i2c_dw_set_fifo_size(struct dw_i2c_dev *dev) in i2c_dw_set_fifo_size()
731 struct dw_i2c_dev *dev = i2c_get_adapdata(adap); in i2c_dw_func()
736 void i2c_dw_disable(struct dw_i2c_dev *dev) in i2c_dw_disable()
756 int i2c_dw_probe(struct dw_i2c_dev *dev) in i2c_dw_probe()
785 struct dw_i2c_dev *dev = dev_get_drvdata(device); in i2c_dw_runtime_suspend()
798 struct dw_i2c_dev *dev = dev_get_drvdata(device); in i2c_dw_suspend()
807 struct dw_i2c_dev *dev = dev_get_drvdata(device); in i2c_dw_runtime_resume()
819 struct dw_i2c_dev *dev = dev_get_drvdata(device); in i2c_dw_resume()