Lines Matching defs:rptr
40 * There is a rptr (read pointer) that determines where the
83 uint32_t rptr = radeon_ring_get_rptr(rdev, ring);
86 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)) {
309 /* no way to read back the next rptr */
375 * @rptr_offs: offset of the rptr writeback location in the WB buffer
470 uint32_t rptr, wptr, rptr_next;
480 rptr = radeon_ring_get_rptr(rdev, ring);
481 seq_printf(m, "rptr: 0x%08x [%5d]\n",
482 rptr, rptr);
486 seq_printf(m, "rptr next(0x%04x): 0x%08x [%5d]\n",
503 /* print 8 dw before current rptr as often it's the last executed
506 i = (rptr + ring->ptr_mask + 1 - 32) & ring->ptr_mask;
509 if (rptr == i)