get_rptr
.get_rptr = amdgpu_cper_ring_get_rptr,
u64 (*get_rptr)(struct amdgpu_ring *ring);
#define amdgpu_ring_get_rptr(r) (r)->funcs->get_rptr((r))
.get_rptr = umsch_mm_ring_get_rptr,
.get_rptr = vpe_ring_get_rptr,
.get_rptr = cik_sdma_ring_get_rptr,
.get_rptr = gfx_v10_0_ring_get_rptr_gfx,
.get_rptr = gfx_v10_0_ring_get_rptr_compute,
.get_rptr = gfx_v10_0_ring_get_rptr_compute,
.get_rptr = gfx_v11_0_ring_get_rptr_gfx,
.get_rptr = gfx_v11_0_ring_get_rptr_compute,
.get_rptr = gfx_v11_0_ring_get_rptr_compute,
.get_rptr = gfx_v12_0_ring_get_rptr_gfx,
.get_rptr = gfx_v12_0_ring_get_rptr_compute,
.get_rptr = gfx_v12_0_ring_get_rptr_compute,
.get_rptr = gfx_v12_1_ring_get_rptr_compute,
.get_rptr = gfx_v12_1_ring_get_rptr_compute,
.get_rptr = gfx_v6_0_ring_get_rptr,
.get_rptr = gfx_v6_0_ring_get_rptr,
.get_rptr = gfx_v7_0_ring_get_rptr,
.get_rptr = gfx_v7_0_ring_get_rptr,
.get_rptr = gfx_v8_0_ring_get_rptr,
.get_rptr = gfx_v8_0_ring_get_rptr,
.get_rptr = gfx_v8_0_ring_get_rptr,
.get_rptr = gfx_v9_0_ring_get_rptr_gfx,
.get_rptr = amdgpu_sw_ring_get_rptr_gfx,
.get_rptr = gfx_v9_0_ring_get_rptr_compute,
.get_rptr = gfx_v9_0_ring_get_rptr_compute,
.get_rptr = gfx_v9_4_3_ring_get_rptr_compute,
.get_rptr = gfx_v9_4_3_ring_get_rptr_compute,
.get_rptr = jpeg_v1_0_decode_ring_get_rptr,
.get_rptr = jpeg_v2_0_dec_ring_get_rptr,
.get_rptr = jpeg_v2_5_dec_ring_get_rptr,
.get_rptr = jpeg_v2_5_dec_ring_get_rptr,
.get_rptr = jpeg_v3_0_dec_ring_get_rptr,
.get_rptr = jpeg_v4_0_dec_ring_get_rptr,
.get_rptr = jpeg_v4_0_3_dec_ring_get_rptr,
.get_rptr = jpeg_v4_0_5_dec_ring_get_rptr,
.get_rptr = jpeg_v5_0_0_dec_ring_get_rptr,
.get_rptr = jpeg_v5_0_1_dec_ring_get_rptr,
.get_rptr = jpeg_v5_3_0_dec_ring_get_rptr,
.get_rptr = mes_v11_0_ring_get_rptr,
.get_rptr = mes_v12_0_ring_get_rptr,
.get_rptr = mes_v12_1_ring_get_rptr,
.get_rptr = sdma_v2_4_ring_get_rptr,
.get_rptr = sdma_v3_0_ring_get_rptr,
.get_rptr = sdma_v4_0_ring_get_rptr,
.get_rptr = sdma_v4_0_ring_get_rptr,
.get_rptr = sdma_v4_4_2_ring_get_rptr,
.get_rptr = sdma_v4_4_2_ring_get_rptr,
.get_rptr = sdma_v5_0_ring_get_rptr,
.get_rptr = sdma_v5_2_ring_get_rptr,
.get_rptr = sdma_v6_0_ring_get_rptr,
.get_rptr = sdma_v7_0_ring_get_rptr,
.get_rptr = sdma_v7_1_ring_get_rptr,
.get_rptr = si_dma_ring_get_rptr,
.get_rptr = uvd_v3_1_ring_get_rptr,
.get_rptr = uvd_v4_2_ring_get_rptr,
.get_rptr = uvd_v5_0_ring_get_rptr,
.get_rptr = uvd_v6_0_ring_get_rptr,
.get_rptr = uvd_v6_0_ring_get_rptr,
.get_rptr = uvd_v6_0_enc_ring_get_rptr,
.get_rptr = uvd_v7_0_ring_get_rptr,
.get_rptr = uvd_v7_0_enc_ring_get_rptr,
.get_rptr = vce_v1_0_ring_get_rptr,
.get_rptr = vce_v2_0_ring_get_rptr,
.get_rptr = vce_v3_0_ring_get_rptr,
.get_rptr = vce_v3_0_ring_get_rptr,
.get_rptr = vce_v4_0_ring_get_rptr,
.get_rptr = vcn_v1_0_dec_ring_get_rptr,
.get_rptr = vcn_v1_0_enc_ring_get_rptr,
.get_rptr = vcn_v2_0_dec_ring_get_rptr,
.get_rptr = vcn_v2_0_enc_ring_get_rptr,
.get_rptr = vcn_v2_5_dec_ring_get_rptr,
.get_rptr = vcn_v2_5_enc_ring_get_rptr,
.get_rptr = vcn_v3_0_dec_ring_get_rptr,
.get_rptr = vcn_v3_0_dec_ring_get_rptr,
.get_rptr = vcn_v3_0_enc_ring_get_rptr,
.get_rptr = vcn_v4_0_unified_ring_get_rptr,
.get_rptr = vcn_v4_0_3_unified_ring_get_rptr,
.get_rptr = vcn_v4_0_5_unified_ring_get_rptr,
.get_rptr = vcn_v5_0_0_unified_ring_get_rptr,
.get_rptr = vcn_v5_0_1_unified_ring_get_rptr,
.get_rptr = a2xx_get_rptr,
.get_rptr = a3xx_get_rptr,
.get_rptr = a4xx_get_rptr,
.get_rptr = a5xx_get_rptr,
empty = (get_wptr(ring) == gpu->funcs->get_rptr(gpu, ring));
.get_rptr = a6xx_get_rptr,
.get_rptr = a6xx_get_rptr,
.get_rptr = a6xx_get_rptr,
.get_rptr = a6xx_get_rptr,
empty = (get_wptr(ring) == gpu->funcs->get_rptr(gpu, ring));
printk("rptr: %d\n", get_rptr(adreno_gpu, ring));
uint32_t rptr = get_rptr(adreno_gpu, ring);
return gpu->funcs->get_rptr(gpu, ring);
if (!spin_until(get_rptr(adreno_gpu, ring) == wptr))
gpu->name, ring->id, get_rptr(adreno_gpu, ring), wptr);
state->ring[i].rptr = get_rptr(adreno_gpu, gpu->rb[i]);
uint32_t (*get_rptr)(struct msm_gpu *gpu, struct msm_ringbuffer *ring);
u32 (*get_rptr)(struct radeon_device *rdev, struct radeon_ring *ring);
#define radeon_ring_get_rptr(rdev, r) (rdev)->asic->ring[(r)->idx]->get_rptr((rdev), (r))
.get_rptr = &uvd_v1_0_get_rptr,
.get_rptr = &uvd_v1_0_get_rptr,
.get_rptr = &r600_gfx_get_rptr,
.get_rptr = &r600_dma_get_rptr,
.get_rptr = &cayman_gfx_get_rptr,
.get_rptr = &cayman_dma_get_rptr,
.get_rptr = &uvd_v1_0_get_rptr,
.get_rptr = &vce_v1_0_get_rptr,
.get_rptr = &cayman_gfx_get_rptr,
.get_rptr = &cayman_dma_get_rptr,
.get_rptr = &r100_gfx_get_rptr,
.get_rptr = &cik_gfx_get_rptr,
.get_rptr = &cik_compute_get_rptr,
.get_rptr = &cik_sdma_get_rptr,
.get_rptr = &vce_v1_0_get_rptr,
.get_rptr = &r100_gfx_get_rptr,
.get_rptr = &r100_gfx_get_rptr,
.get_rptr = &r600_gfx_get_rptr,
.get_rptr = &r600_dma_get_rptr,