Lines Matching defs:rptr
4126 u32 rptr;
4129 rptr = rdev->wb.wb[ring->rptr_offs/4];
4131 rptr = RREG32(CP_RB0_RPTR);
4133 return rptr;
4152 u32 rptr;
4155 rptr = rdev->wb.wb[ring->rptr_offs/4];
4159 rptr = RREG32(CP_HQD_PQ_RPTR);
4164 return rptr;
6806 * There is a rptr (read pointer) that determines where the
6813 * equal again at which point it updates the rptr.
6851 /* set rptr, wptr to 0 */
6855 rdev->ih.rptr = 0;
6995 /* set rptr, wptr to 0 */
7508 wptr, rdev->ih.rptr, (wptr + 16) & rdev->ih.ptr_mask);
7509 rdev->ih.rptr = (wptr + 16) & rdev->ih.ptr_mask;
7554 u32 rptr;
7574 rptr = rdev->ih.rptr;
7575 DRM_DEBUG("cik_irq_process start: rptr %d, wptr %d\n", rptr, wptr);
7583 while (rptr != wptr) {
7584 /* wptr/rptr are in bytes! */
7585 ring_index = rptr / 4;
8095 /* wptr/rptr are in bytes! */
8096 rptr += 16;
8097 rptr &= rdev->ih.ptr_mask;
8098 WREG32(IH_RB_RPTR, rptr);
8110 rdev->ih.rptr = rptr;
8111 WREG32(IH_RB_RPTR, rptr);
8116 if (wptr != rptr)