Searched refs:MTK_HSDMA_NEXT_DESP_IDX (Results 1 – 1 of 1) sorted by relevance
41 #define MTK_HSDMA_NEXT_DESP_IDX(x, y) (((x) + 1) & ((y) - 1)) macro462 ring->cur_tptr = MTK_HSDMA_NEXT_DESP_IDX(ring->cur_tptr, in mtk_hsdma_issue_pending_vdesc()559 next = MTK_HSDMA_NEXT_DESP_IDX(pc->ring.cur_rptr, in mtk_hsdma_free_rooms_in_ring()