Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/dma/mediatek/
Dmtk-hsdma.c170 u16 cur_tptr; member
334 ring->cur_tptr = 0; in mtk_hsdma_alloc_pchan()
360 mtk_dma_write(hsdma, MTK_HSDMA_TX_CPU, ring->cur_tptr); in mtk_hsdma_alloc_pchan()
449 txd = &ring->txd[ring->cur_tptr]; in mtk_hsdma_issue_pending_vdesc()
454 rxd = &ring->rxd[ring->cur_tptr]; in mtk_hsdma_issue_pending_vdesc()
459 ring->cb[ring->cur_tptr].vd = &hvd->vd; in mtk_hsdma_issue_pending_vdesc()
462 ring->cur_tptr = MTK_HSDMA_NEXT_DESP_IDX(ring->cur_tptr, in mtk_hsdma_issue_pending_vdesc()
476 prev = MTK_HSDMA_LAST_DESP_IDX(ring->cur_tptr, MTK_DMA_SIZE); in mtk_hsdma_issue_pending_vdesc()
487 mtk_dma_write(hsdma, MTK_HSDMA_TX_CPU, ring->cur_tptr); in mtk_hsdma_issue_pending_vdesc()