Lines Matching defs:i2c_imx
266 static inline int is_imx1_i2c(struct imx_i2c_struct *i2c_imx) in is_imx1_i2c()
272 struct imx_i2c_struct *i2c_imx, unsigned int reg) in imx_i2c_write_reg()
277 static inline unsigned char imx_i2c_read_reg(struct imx_i2c_struct *i2c_imx, in imx_i2c_read_reg()
284 static void i2c_imx_dma_request(struct imx_i2c_struct *i2c_imx, in i2c_imx_dma_request()
348 struct imx_i2c_struct *i2c_imx = (struct imx_i2c_struct *)arg; in i2c_imx_dma_callback() local
356 static int i2c_imx_dma_xfer(struct imx_i2c_struct *i2c_imx, in i2c_imx_dma_xfer()
399 static void i2c_imx_dma_free(struct imx_i2c_struct *i2c_imx) in i2c_imx_dma_free()
415 static int i2c_imx_bus_busy(struct imx_i2c_struct *i2c_imx, int for_busy) in i2c_imx_bus_busy()
447 static int i2c_imx_trx_complete(struct imx_i2c_struct *i2c_imx) in i2c_imx_trx_complete()
460 static int i2c_imx_acked(struct imx_i2c_struct *i2c_imx) in i2c_imx_acked()
471 static void i2c_imx_set_clk(struct imx_i2c_struct *i2c_imx) in i2c_imx_set_clk()
514 static int i2c_imx_start(struct imx_i2c_struct *i2c_imx) in i2c_imx_start()
546 static void i2c_imx_stop(struct imx_i2c_struct *i2c_imx) in i2c_imx_stop()
579 struct imx_i2c_struct *i2c_imx = dev_id; in i2c_imx_isr() local
596 static int i2c_imx_dma_write(struct imx_i2c_struct *i2c_imx, in i2c_imx_dma_write()
658 static int i2c_imx_dma_read(struct imx_i2c_struct *i2c_imx, in i2c_imx_dma_read()
742 static int i2c_imx_write(struct imx_i2c_struct *i2c_imx, struct i2c_msg *msgs) in i2c_imx_write()
775 static int i2c_imx_read(struct imx_i2c_struct *i2c_imx, struct i2c_msg *msgs, bool is_lastmsg) in i2c_imx_read()
887 struct imx_i2c_struct *i2c_imx = i2c_get_adapdata(adapter); in i2c_imx_xfer() local
970 struct imx_i2c_struct *i2c_imx; in i2c_imx_prepare_recovery() local
979 struct imx_i2c_struct *i2c_imx; in i2c_imx_unprepare_recovery() local
993 static int i2c_imx_init_recovery_info(struct imx_i2c_struct *i2c_imx, in i2c_imx_init_recovery_info()
1048 struct imx_i2c_struct *i2c_imx; in i2c_imx_probe() local
1178 struct imx_i2c_struct *i2c_imx = platform_get_drvdata(pdev); in i2c_imx_remove() local
1209 struct imx_i2c_struct *i2c_imx = dev_get_drvdata(dev); in i2c_imx_runtime_suspend() local
1218 struct imx_i2c_struct *i2c_imx = dev_get_drvdata(dev); in i2c_imx_runtime_resume() local