Searched refs:cur_rptr (Results 1 – 2 of 2) sorted by relevance
171 u16 cur_rptr; member335 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()
255 u32 _tag, status, cptr, cur_rptr; in iop_intr_mvfrey() local277 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()