Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/amd/amdgpu/
A Damdgpu_ih.c173 uint32_t cur_rptr = ih->rptr | (*prev_rptr & ~ih->ptr_mask); in amdgpu_ih_has_checkpoint_processed() local
176 if (cur_rptr < *prev_rptr) in amdgpu_ih_has_checkpoint_processed()
177 cur_rptr += ih->ptr_mask + 1; in amdgpu_ih_has_checkpoint_processed()
178 *prev_rptr = cur_rptr; in amdgpu_ih_has_checkpoint_processed()
181 return cur_rptr >= checkpoint_wptr || in amdgpu_ih_has_checkpoint_processed()
182 (cur_rptr & ih->ptr_mask) == amdgpu_ih_get_wptr(adev, ih); in amdgpu_ih_has_checkpoint_processed()
/linux/drivers/dma/mediatek/
A Dmtk-hsdma.c172 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()
/linux/drivers/scsi/
A Dhptiop.c255 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 11 milliseconds