Searched refs:mtk_uart_apdma_read (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/dma/mediatek/ |
H A D | mtk-uart-apdma.c | 126 static unsigned int mtk_uart_apdma_read(struct mtk_chan *c, unsigned int reg) in mtk_uart_apdma_read() function 144 if (!mtk_uart_apdma_read(c, VFF_LEN)) { in mtk_uart_apdma_start_tx() 156 if (mtk_uart_apdma_read(c, VFF_EN) != VFF_EN_B) in mtk_uart_apdma_start_tx() 159 if (!mtk_uart_apdma_read(c, VFF_LEFT_SIZE)) { in mtk_uart_apdma_start_tx() 164 wpt = mtk_uart_apdma_read(c, VFF_WPT); in mtk_uart_apdma_start_tx() 175 if (!mtk_uart_apdma_read(c, VFF_FLUSH)) in mtk_uart_apdma_start_tx() 187 if (!mtk_uart_apdma_read(c, VFF_LEN)) { in mtk_uart_apdma_start_rx() 200 if (mtk_uart_apdma_read(c, VFF_EN) != VFF_EN_B) in mtk_uart_apdma_start_rx() 219 if (!mtk_uart_apdma_read(c, VFF_VALID_SIZE)) in mtk_uart_apdma_rx_handler() 226 rg = mtk_uart_apdma_read(c, VFF_RPT); in mtk_uart_apdma_rx_handler() [all …]
|