Lines Matching refs:mtk_chan

91 struct mtk_chan {  struct
109 static inline struct mtk_chan *to_mtk_uart_apdma_chan(struct dma_chan *c) in to_mtk_uart_apdma_chan() argument
111 return container_of(c, struct mtk_chan, vc.chan); in to_mtk_uart_apdma_chan()
120 static void mtk_uart_apdma_write(struct mtk_chan *c, in mtk_uart_apdma_write()
126 static unsigned int mtk_uart_apdma_read(struct mtk_chan *c, unsigned int reg) in mtk_uart_apdma_read()
136 static void mtk_uart_apdma_start_tx(struct mtk_chan *c) in mtk_uart_apdma_start_tx()
179 static void mtk_uart_apdma_start_rx(struct mtk_chan *c) in mtk_uart_apdma_start_rx()
204 static void mtk_uart_apdma_tx_handler(struct mtk_chan *c) in mtk_uart_apdma_tx_handler()
211 static void mtk_uart_apdma_rx_handler(struct mtk_chan *c) in mtk_uart_apdma_rx_handler()
241 static void mtk_uart_apdma_chan_complete_handler(struct mtk_chan *c) in mtk_uart_apdma_chan_complete_handler()
255 struct mtk_chan *c = to_mtk_uart_apdma_chan(chan); in mtk_uart_apdma_irq_handler()
272 struct mtk_chan *c = to_mtk_uart_apdma_chan(chan); in mtk_uart_apdma_alloc_chan_resources()
311 struct mtk_chan *c = to_mtk_uart_apdma_chan(chan); in mtk_uart_apdma_free_chan_resources()
326 struct mtk_chan *c = to_mtk_uart_apdma_chan(chan); in mtk_uart_apdma_tx_status()
347 struct mtk_chan *c = to_mtk_uart_apdma_chan(chan); in mtk_uart_apdma_prep_slave_sg()
367 struct mtk_chan *c = to_mtk_uart_apdma_chan(chan); in mtk_uart_apdma_issue_pending()
388 struct mtk_chan *c = to_mtk_uart_apdma_chan(chan); in mtk_uart_apdma_slave_config()
397 struct mtk_chan *c = to_mtk_uart_apdma_chan(chan); in mtk_uart_apdma_terminate_all()
445 struct mtk_chan *c = to_mtk_uart_apdma_chan(chan); in mtk_uart_apdma_device_pause()
462 struct mtk_chan *c = list_first_entry(&mtkd->ddev.channels, in mtk_uart_apdma_free()
463 struct mtk_chan, vc.chan.device_node); in mtk_uart_apdma_free()
481 struct mtk_chan *c; in mtk_uart_apdma_probe()