Lines Matching defs:lpi2c_imx
190 static void lpi2c_imx_intctrl(struct lpi2c_imx_struct *lpi2c_imx, in lpi2c_imx_intctrl()
196 static int lpi2c_imx_bus_busy(struct lpi2c_imx_struct *lpi2c_imx) in lpi2c_imx_bus_busy()
225 static void lpi2c_imx_set_mode(struct lpi2c_imx_struct *lpi2c_imx) in lpi2c_imx_set_mode()
244 static int lpi2c_imx_start(struct lpi2c_imx_struct *lpi2c_imx, in lpi2c_imx_start()
260 static void lpi2c_imx_stop(struct lpi2c_imx_struct *lpi2c_imx) in lpi2c_imx_stop()
284 static int lpi2c_imx_config(struct lpi2c_imx_struct *lpi2c_imx) in lpi2c_imx_config()
341 static int lpi2c_imx_master_enable(struct lpi2c_imx_struct *lpi2c_imx) in lpi2c_imx_master_enable()
371 static int lpi2c_imx_master_disable(struct lpi2c_imx_struct *lpi2c_imx) in lpi2c_imx_master_disable()
385 static int lpi2c_imx_pio_msg_complete(struct lpi2c_imx_struct *lpi2c_imx) in lpi2c_imx_pio_msg_complete()
394 static int lpi2c_imx_txfifo_empty(struct lpi2c_imx_struct *lpi2c_imx) in lpi2c_imx_txfifo_empty()
420 static void lpi2c_imx_set_tx_watermark(struct lpi2c_imx_struct *lpi2c_imx) in lpi2c_imx_set_tx_watermark()
425 static void lpi2c_imx_set_rx_watermark(struct lpi2c_imx_struct *lpi2c_imx) in lpi2c_imx_set_rx_watermark()
439 static void lpi2c_imx_write_txfifo(struct lpi2c_imx_struct *lpi2c_imx) in lpi2c_imx_write_txfifo()
460 static void lpi2c_imx_read_rxfifo(struct lpi2c_imx_struct *lpi2c_imx) in lpi2c_imx_read_rxfifo()
507 static void lpi2c_imx_write(struct lpi2c_imx_struct *lpi2c_imx, in lpi2c_imx_write()
515 static void lpi2c_imx_read(struct lpi2c_imx_struct *lpi2c_imx, in lpi2c_imx_read()
531 static bool is_use_dma(struct lpi2c_imx_struct *lpi2c_imx, struct i2c_msg *msg) in is_use_dma()
543 static int lpi2c_imx_pio_xfer(struct lpi2c_imx_struct *lpi2c_imx, in lpi2c_imx_pio_xfer()
556 static int lpi2c_imx_dma_timeout_calculate(struct lpi2c_imx_struct *lpi2c_imx) in lpi2c_imx_dma_timeout_calculate()
569 static int lpi2c_imx_alloc_rx_cmd_buf(struct lpi2c_imx_struct *lpi2c_imx) in lpi2c_imx_alloc_rx_cmd_buf()
600 static int lpi2c_imx_dma_msg_complete(struct lpi2c_imx_struct *lpi2c_imx) in lpi2c_imx_dma_msg_complete()
644 struct lpi2c_imx_struct *lpi2c_imx = (struct lpi2c_imx_struct *)data; in lpi2c_dma_callback() local
649 static int lpi2c_dma_rx_cmd_submit(struct lpi2c_imx_struct *lpi2c_imx) in lpi2c_dma_rx_cmd_submit()
694 static int lpi2c_dma_submit(struct lpi2c_imx_struct *lpi2c_imx) in lpi2c_dma_submit()
768 static void lpi2c_imx_dma_burst_num_calculate(struct lpi2c_imx_struct *lpi2c_imx) in lpi2c_imx_dma_burst_num_calculate()
790 static int lpi2c_dma_config(struct lpi2c_imx_struct *lpi2c_imx) in lpi2c_dma_config()
827 static void lpi2c_dma_enable(struct lpi2c_imx_struct *lpi2c_imx) in lpi2c_dma_enable()
874 static int lpi2c_imx_dma_xfer(struct lpi2c_imx_struct *lpi2c_imx, in lpi2c_imx_dma_xfer()
953 struct lpi2c_imx_struct *lpi2c_imx = i2c_get_adapdata(adapter); in lpi2c_imx_xfer() local
1011 static irqreturn_t lpi2c_imx_target_isr(struct lpi2c_imx_struct *lpi2c_imx, in lpi2c_imx_target_isr()
1059 static irqreturn_t lpi2c_imx_master_isr(struct lpi2c_imx_struct *lpi2c_imx) in lpi2c_imx_master_isr()
1082 struct lpi2c_imx_struct *lpi2c_imx = dev_id; in lpi2c_imx_isr() local
1104 static void lpi2c_imx_target_init(struct lpi2c_imx_struct *lpi2c_imx) in lpi2c_imx_target_init()
1156 struct lpi2c_imx_struct *lpi2c_imx = i2c_get_adapdata(client->adapter); in lpi2c_imx_register_target() local
1177 struct lpi2c_imx_struct *lpi2c_imx = i2c_get_adapdata(client->adapter); in lpi2c_imx_unregister_target() local
1198 static int lpi2c_imx_init_recovery_info(struct lpi2c_imx_struct *lpi2c_imx, in lpi2c_imx_init_recovery_info()
1225 struct lpi2c_imx_struct *lpi2c_imx = dev_get_drvdata(dev); in lpi2c_dma_init() local
1285 struct lpi2c_imx_struct *lpi2c_imx; in lpi2c_imx_probe() local
1392 struct lpi2c_imx_struct *lpi2c_imx = platform_get_drvdata(pdev); in lpi2c_imx_remove() local
1402 struct lpi2c_imx_struct *lpi2c_imx = dev_get_drvdata(dev); in lpi2c_runtime_suspend() local
1412 struct lpi2c_imx_struct *lpi2c_imx = dev_get_drvdata(dev); in lpi2c_runtime_resume() local
1432 struct lpi2c_imx_struct *lpi2c_imx = dev_get_drvdata(dev); in lpi2c_resume_noirq() local