Lines Matching defs:i2c_dev

94 static void sprd_i2c_set_count(struct sprd_i2c *i2c_dev, u32 count)  in sprd_i2c_set_count()
99 static void sprd_i2c_send_stop(struct sprd_i2c *i2c_dev, int stop) in sprd_i2c_send_stop()
109 static void sprd_i2c_clear_start(struct sprd_i2c *i2c_dev) in sprd_i2c_clear_start()
116 static void sprd_i2c_clear_ack(struct sprd_i2c *i2c_dev) in sprd_i2c_clear_ack()
123 static void sprd_i2c_clear_irq(struct sprd_i2c *i2c_dev) in sprd_i2c_clear_irq()
130 static void sprd_i2c_reset_fifo(struct sprd_i2c *i2c_dev) in sprd_i2c_reset_fifo()
135 static void sprd_i2c_set_devaddr(struct sprd_i2c *i2c_dev, struct i2c_msg *m) in sprd_i2c_set_devaddr()
140 static void sprd_i2c_write_bytes(struct sprd_i2c *i2c_dev, u8 *buf, u32 len) in sprd_i2c_write_bytes()
148 static void sprd_i2c_read_bytes(struct sprd_i2c *i2c_dev, u8 *buf, u32 len) in sprd_i2c_read_bytes()
156 static void sprd_i2c_set_full_thld(struct sprd_i2c *i2c_dev, u32 full_thld) in sprd_i2c_set_full_thld()
165 static void sprd_i2c_set_empty_thld(struct sprd_i2c *i2c_dev, u32 empty_thld) in sprd_i2c_set_empty_thld()
174 static void sprd_i2c_set_fifo_full_int(struct sprd_i2c *i2c_dev, int enable) in sprd_i2c_set_fifo_full_int()
186 static void sprd_i2c_set_fifo_empty_int(struct sprd_i2c *i2c_dev, int enable) in sprd_i2c_set_fifo_empty_int()
198 static void sprd_i2c_opt_start(struct sprd_i2c *i2c_dev) in sprd_i2c_opt_start()
205 static void sprd_i2c_opt_mode(struct sprd_i2c *i2c_dev, int rw) in sprd_i2c_opt_mode()
212 static void sprd_i2c_data_transfer(struct sprd_i2c *i2c_dev) in sprd_i2c_data_transfer()
248 struct sprd_i2c *i2c_dev = i2c_adap->algo_data; in sprd_i2c_handle_msg() local
290 struct sprd_i2c *i2c_dev = i2c_adap->algo_data; in sprd_i2c_master_xfer() local
325 static void sprd_i2c_set_clk(struct sprd_i2c *i2c_dev, u32 freq) in sprd_i2c_set_clk()
355 static void sprd_i2c_enable(struct sprd_i2c *i2c_dev) in sprd_i2c_enable()
374 struct sprd_i2c *i2c_dev = dev_id; in sprd_i2c_isr_thread() local
418 struct sprd_i2c *i2c_dev = dev_id; in sprd_i2c_isr() local
450 static int sprd_i2c_clk_init(struct sprd_i2c *i2c_dev) in sprd_i2c_clk_init()
489 struct sprd_i2c *i2c_dev; in sprd_i2c_probe() local
579 struct sprd_i2c *i2c_dev = platform_get_drvdata(pdev); in sprd_i2c_remove() local
599 struct sprd_i2c *i2c_dev = dev_get_drvdata(pdev); in sprd_i2c_suspend_noirq() local
610 struct sprd_i2c *i2c_dev = dev_get_drvdata(pdev); in sprd_i2c_resume_noirq() local
621 struct sprd_i2c *i2c_dev = dev_get_drvdata(pdev); in sprd_i2c_runtime_suspend() local
630 struct sprd_i2c *i2c_dev = dev_get_drvdata(pdev); in sprd_i2c_runtime_resume() local