Searched refs:wpt (Results 1 – 1 of 1) sorted by relevance
141 unsigned int wpt, vff_sz; in mtk_uart_apdma_start_tx() local164 wpt = mtk_uart_apdma_read(c, VFF_WPT); in mtk_uart_apdma_start_tx()166 wpt += c->desc->avail_len; in mtk_uart_apdma_start_tx()167 if ((wpt & VFF_RING_SIZE) == vff_sz) in mtk_uart_apdma_start_tx()168 wpt = (wpt & VFF_RING_WRAP) ^ VFF_RING_WRAP; in mtk_uart_apdma_start_tx()171 mtk_uart_apdma_write(c, VFF_WPT, wpt); in mtk_uart_apdma_start_tx()