Lines Matching defs:rptr
41 * There is a rptr (read pointer) that determines where the
84 uint32_t rptr = radeon_ring_get_rptr(rdev, ring);
87 ring->ring_free_dw = rptr + (ring->ring_size / 4);
237 * Update the last rptr value and timestamp (all asics).
254 uint32_t rptr = radeon_ring_get_rptr(rdev, ring);
258 if (rptr != atomic_read(&ring->last_rptr)) {
308 /* no way to read back the next rptr */
374 * @rptr_offs: offset of the rptr writeback location in the WB buffer
473 uint32_t rptr, wptr, rptr_next;
483 rptr = radeon_ring_get_rptr(rdev, ring);
484 seq_printf(m, "rptr: 0x%08x [%5d]\n",
485 rptr, rptr);
489 seq_printf(m, "rptr next(0x%04x): 0x%08x [%5d]\n",
506 /* print 8 dw before current rptr as often it's the last executed
509 i = (rptr + ring->ptr_mask + 1 - 32) & ring->ptr_mask;
512 if (rptr == i)