Lines Matching defs:rptr
37 * There is a rptr (read pointer) that determines where the
80 uint32_t rptr = radeon_ring_get_rptr(rdev, ring);
83 ring->ring_free_dw = rptr + (ring->ring_size / 4);
232 * Update the last rptr value and timestamp (all asics).
249 uint32_t rptr = radeon_ring_get_rptr(rdev, ring);
253 if (rptr != atomic_read(&ring->last_rptr)) {
303 /* no way to read back the next rptr */
369 * @rptr_offs: offset of the rptr writeback location in the WB buffer
468 uint32_t rptr, wptr, rptr_next;
478 rptr = radeon_ring_get_rptr(rdev, ring);
479 seq_printf(m, "rptr: 0x%08x [%5d]\n",
480 rptr, rptr);
484 seq_printf(m, "rptr next(0x%04x): 0x%08x [%5d]\n",
501 /* print 8 dw before current rptr as often it's the last executed
504 i = (rptr + ring->ptr_mask + 1 - 32) & ring->ptr_mask;
507 if (rptr == i)