Lines Matching defs:rptr
2620 u32 rptr;
2623 rptr = rdev->wb.wb[ring->rptr_offs/4];
2625 rptr = RREG32(R600_CP_RB_RPTR);
2627 return rptr;
2793 DRM_ERROR("failed to get scratch reg for rptr save (%d).\n", r);
3465 * increments the rptr. When the rptr catches up with the wptr, all the
3478 rdev->ih.rptr = 0;
3614 /* set rptr, wptr to 0 */
3618 rdev->ih.rptr = 0;
3726 /* set rptr, wptr to 0 */
4056 wptr, rdev->ih.rptr, (wptr + 16) & rdev->ih.ptr_mask);
4057 rdev->ih.rptr = (wptr + 16) & rdev->ih.ptr_mask;
4098 u32 rptr;
4119 rptr = rdev->ih.rptr;
4120 DRM_DEBUG("r600_irq_process start: rptr %d, wptr %d\n", rptr, wptr);
4128 while (rptr != wptr) {
4129 /* wptr/rptr are in bytes! */
4130 ring_index = rptr / 4;
4322 /* wptr/rptr are in bytes! */
4323 rptr += 16;
4324 rptr &= rdev->ih.ptr_mask;
4325 WREG32(IH_RB_RPTR, rptr);
4333 rdev->ih.rptr = rptr;
4334 WREG32(IH_RB_RPTR, rptr);
4339 if (wptr != rptr)