Searched refs:cur_rptr (Results 1 - 4 of 4) sorted by relevance
/kernel/linux/linux-5.10/drivers/dma/mediatek/ |
H A D | mtk-hsdma.c | 163 * @cur_rptr: Pointer to the last done descriptor by the device 172 u16 cur_rptr; member 336 ring->cur_rptr = MTK_DMA_SIZE - 1; in mtk_hsdma_alloc_pchan() 365 mtk_dma_write(hsdma, MTK_HSDMA_RX_CPU, ring->cur_rptr); in mtk_hsdma_alloc_pchan() 560 next = MTK_HSDMA_NEXT_DESP_IDX(pc->ring.cur_rptr, in mtk_hsdma_free_rooms_in_ring() 612 pc->ring.cur_rptr = next; in mtk_hsdma_free_rooms_in_ring() 622 mtk_dma_write(hsdma, MTK_HSDMA_RX_CPU, pc->ring.cur_rptr); in mtk_hsdma_free_rooms_in_ring()
|
/kernel/linux/linux-6.6/drivers/dma/mediatek/ |
H A D | mtk-hsdma.c | 162 * @cur_rptr: Pointer to the last done descriptor by the device 171 u16 cur_rptr; member 335 ring->cur_rptr = MTK_DMA_SIZE - 1; in mtk_hsdma_alloc_pchan() 364 mtk_dma_write(hsdma, MTK_HSDMA_RX_CPU, ring->cur_rptr); in mtk_hsdma_alloc_pchan() 559 next = MTK_HSDMA_NEXT_DESP_IDX(pc->ring.cur_rptr, in mtk_hsdma_free_rooms_in_ring() 611 pc->ring.cur_rptr = next; in mtk_hsdma_free_rooms_in_ring() 621 mtk_dma_write(hsdma, MTK_HSDMA_RX_CPU, pc->ring.cur_rptr); in mtk_hsdma_free_rooms_in_ring()
|
/kernel/linux/linux-5.10/drivers/scsi/ |
H A D | hptiop.c | 255 u32 _tag, status, cptr, cur_rptr; in iop_intr_mvfrey() local 277 cur_rptr = hba->u.mvfrey.outlist_rptr; in iop_intr_mvfrey() 278 while (cur_rptr != cptr) { in iop_intr_mvfrey() 279 cur_rptr++; in iop_intr_mvfrey() 280 if (cur_rptr == hba->u.mvfrey.list_count) in iop_intr_mvfrey() 281 cur_rptr = 0; in iop_intr_mvfrey() 283 _tag = hba->u.mvfrey.outlist[cur_rptr].val; in iop_intr_mvfrey() 288 hba->u.mvfrey.outlist_rptr = cur_rptr; in iop_intr_mvfrey()
|
/kernel/linux/linux-6.6/drivers/scsi/ |
H A D | hptiop.c | 255 u32 _tag, status, cptr, cur_rptr; in iop_intr_mvfrey() local 277 cur_rptr = hba->u.mvfrey.outlist_rptr; in iop_intr_mvfrey() 278 while (cur_rptr != cptr) { in iop_intr_mvfrey() 279 cur_rptr++; in iop_intr_mvfrey() 280 if (cur_rptr == hba->u.mvfrey.list_count) in iop_intr_mvfrey() 281 cur_rptr = 0; in iop_intr_mvfrey() 283 _tag = hba->u.mvfrey.outlist[cur_rptr].val; in iop_intr_mvfrey() 288 hba->u.mvfrey.outlist_rptr = cur_rptr; in iop_intr_mvfrey()
|
Completed in 8 milliseconds