Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/dma/mediatek/
Dmtk-uart-apdma.c142 unsigned int wpt, vff_sz; in mtk_uart_apdma_start_tx() local
165 wpt = mtk_uart_apdma_read(c, VFF_WPT); in mtk_uart_apdma_start_tx()
167 wpt += c->desc->avail_len; in mtk_uart_apdma_start_tx()
168 if ((wpt & VFF_RING_SIZE) == vff_sz) in mtk_uart_apdma_start_tx()
169 wpt = (wpt & VFF_RING_WRAP) ^ VFF_RING_WRAP; in mtk_uart_apdma_start_tx()
172 mtk_uart_apdma_write(c, VFF_WPT, wpt); in mtk_uart_apdma_start_tx()
/linux-5.19.10/block/
Dblk-iocost.c1956 u32 inuse, wpt, wptp; in transfer_surpluses() local
1984 wpt = DIV64_U64_ROUND_UP( in transfer_surpluses()
1991 iocg->child_adjusted_sum = sf + DIV64_U64_ROUND_UP(st * wptp, wpt); in transfer_surpluses()