Home
last modified time | relevance | path

Searched refs:mtk_uart_apdma_read (Results 1 – 1 of 1) sorted by relevance

/kernel/linux/linux-5.10/drivers/dma/mediatek/
Dmtk-uart-apdma.c127 static unsigned int mtk_uart_apdma_read(struct mtk_chan *c, unsigned int reg) in mtk_uart_apdma_read() function
145 if (!mtk_uart_apdma_read(c, VFF_LEN)) { in mtk_uart_apdma_start_tx()
157 if (mtk_uart_apdma_read(c, VFF_EN) != VFF_EN_B) in mtk_uart_apdma_start_tx()
160 if (!mtk_uart_apdma_read(c, VFF_LEFT_SIZE)) { in mtk_uart_apdma_start_tx()
165 wpt = mtk_uart_apdma_read(c, VFF_WPT); in mtk_uart_apdma_start_tx()
176 if (!mtk_uart_apdma_read(c, VFF_FLUSH)) in mtk_uart_apdma_start_tx()
188 if (!mtk_uart_apdma_read(c, VFF_LEN)) { in mtk_uart_apdma_start_rx()
201 if (mtk_uart_apdma_read(c, VFF_EN) != VFF_EN_B) in mtk_uart_apdma_start_rx()
220 if (!mtk_uart_apdma_read(c, VFF_VALID_SIZE)) in mtk_uart_apdma_rx_handler()
227 rg = mtk_uart_apdma_read(c, VFF_RPT); in mtk_uart_apdma_rx_handler()
[all …]