Lines Matching defs:rptr
46 * There is a rptr (read pointer) that determines where the
89 uint32_t rptr = radeon_ring_get_rptr(rdev, ring);
92 ring->ring_free_dw = rptr + (ring->ring_size / 4);
241 * Update the last rptr value and timestamp (all asics).
258 uint32_t rptr = radeon_ring_get_rptr(rdev, ring);
262 if (rptr != atomic_read(&ring->last_rptr)) {
312 /* no way to read back the next rptr */
378 * @rptr_offs: offset of the rptr writeback location in the WB buffer
477 uint32_t rptr, wptr, rptr_next;
487 rptr = radeon_ring_get_rptr(rdev, ring);
488 seq_printf(m, "rptr: 0x%08x [%5d]\n",
489 rptr, rptr);
493 seq_printf(m, "rptr next(0x%04x): 0x%08x [%5d]\n",
510 /* print 8 dw before current rptr as often it's the last executed
513 i = (rptr + ring->ptr_mask + 1 - 32) & ring->ptr_mask;
516 if (rptr == i)