Searched refs:rptr_offs (Results 1 – 25 of 25) sorted by relevance
75 unsigned wptr_offs, rptr_offs; in amdgpu_ih_ring_init() local81 r = amdgpu_device_wb_get(adev, &rptr_offs); in amdgpu_ih_ring_init()92 amdgpu_device_wb_free(adev, rptr_offs); in amdgpu_ih_ring_init()99 ih->rptr_addr = adev->wb.gpu_addr + rptr_offs * 4; in amdgpu_ih_ring_init()100 ih->rptr_cpu = &adev->wb.wb[rptr_offs]; in amdgpu_ih_ring_init()
200 r = amdgpu_device_wb_get(adev, &ring->rptr_offs); in amdgpu_ring_init()292 amdgpu_device_wb_free(ring->adev, ring->rptr_offs); in amdgpu_ring_fini()
43 return ring->adev->wb.wb[ring->rptr_offs>>2]; in si_dma_ring_get_rptr()157 rptr_addr = adev->wb.gpu_addr + (ring->rptr_offs * 4); in si_dma_start()
59 return ring->adev->wb.wb[ring->rptr_offs]; in mes_v10_1_ring_get_rptr()676 wb_gpu_addr = adev->wb.gpu_addr + (ring->rptr_offs * 4); in mes_v10_1_mqd_init()
215 unsigned rptr_offs; member
197 return ring->adev->wb.wb[ring->rptr_offs] >> 2; in sdma_v2_4_ring_get_rptr()422 wb_offset = (ring->rptr_offs * 4); in sdma_v2_4_gfx_resume()
167 rptr = ring->adev->wb.wb[ring->rptr_offs]; in cik_sdma_ring_get_rptr()444 wb_offset = (ring->rptr_offs * 4); in cik_sdma_gfx_resume()
353 return ring->adev->wb.wb[ring->rptr_offs] >> 2; in sdma_v3_0_ring_get_rptr()660 wb_offset = (ring->rptr_offs * 4); in sdma_v3_0_gfx_resume()
723 rptr = ((u64 *)&ring->adev->wb.wb[ring->rptr_offs]); in sdma_v4_0_ring_get_rptr()1180 wb_offset = (ring->rptr_offs * 4); in sdma_v4_0_gfx_resume()1270 wb_offset = (ring->rptr_offs * 4); in sdma_v4_0_page_resume()
243 rptr = ((u64 *)&ring->adev->wb.wb[ring->rptr_offs]); in sdma_v5_2_ring_get_rptr()611 wb_offset = (ring->rptr_offs * 4); in sdma_v5_2_gfx_resume()
2120 rptr_addr = adev->wb.gpu_addr + (ring->rptr_offs * 4); in gfx_v6_0_cp_gfx_resume()2142 return ring->adev->wb.wb[ring->rptr_offs]; in gfx_v6_0_ring_get_rptr()2206 rptr_addr = adev->wb.gpu_addr + (ring->rptr_offs * 4); in gfx_v6_0_cp_compute_resume()2225 rptr_addr = adev->wb.gpu_addr + (ring->rptr_offs * 4); in gfx_v6_0_cp_compute_resume()
356 rptr = ((u64 *)&ring->adev->wb.wb[ring->rptr_offs]); in sdma_v5_0_ring_get_rptr()729 wb_offset = (ring->rptr_offs * 4); in sdma_v5_0_gfx_resume()
2634 rptr_addr = adev->wb.gpu_addr + (ring->rptr_offs * 4); in gfx_v7_0_cp_gfx_resume()2659 return ring->adev->wb.wb[ring->rptr_offs]; in gfx_v7_0_ring_get_rptr()2989 wb_gpu_addr = adev->wb.gpu_addr + (ring->rptr_offs * 4); in gfx_v7_0_mqd_init()
3357 rptr_addr = adev->wb.gpu_addr + (ring->rptr_offs * 4); in gfx_v9_0_cp_gfx_resume()3573 wb_gpu_addr = adev->wb.gpu_addr + (ring->rptr_offs * 4); in gfx_v9_0_mqd_init()5311 return ring->adev->wb.wb[ring->rptr_offs]; /* gfx9 is 32bit rptr*/ in gfx_v9_0_ring_get_rptr_gfx()5501 return ring->adev->wb.wb[ring->rptr_offs]; /* gfx9 hardware is 32bit rptr */ in gfx_v9_0_ring_get_rptr_compute()
6399 rptr_addr = adev->wb.gpu_addr + (ring->rptr_offs * 4); in gfx_v10_0_cp_gfx_resume()6437 rptr_addr = adev->wb.gpu_addr + (ring->rptr_offs * 4); in gfx_v10_0_cp_gfx_resume()6659 wb_gpu_addr = adev->wb.gpu_addr + (ring->rptr_offs * 4); in gfx_v10_0_gfx_mqd_init()6953 wb_gpu_addr = adev->wb.gpu_addr + (ring->rptr_offs * 4); in gfx_v10_0_compute_mqd_init()8515 return ring->adev->wb.wb[ring->rptr_offs]; /* gfx10 is 32bit rptr*/ in gfx_v10_0_ring_get_rptr_gfx()8550 return ring->adev->wb.wb[ring->rptr_offs]; /* gfx10 hardware is 32bit rptr */ in gfx_v10_0_ring_get_rptr_compute()
4309 rptr_addr = adev->wb.gpu_addr + (ring->rptr_offs * 4); in gfx_v8_0_cp_gfx_resume()4520 wb_gpu_addr = adev->wb.gpu_addr + (ring->rptr_offs * 4); in gfx_v8_0_mqd_init()6050 return ring->adev->wb.wb[ring->rptr_offs]; in gfx_v8_0_ring_get_rptr()
382 unsigned rptr_offs, u32 nop) in radeon_ring_init() argument387 ring->rptr_offs = rptr_offs; in radeon_ring_init()
58 rptr = rdev->wb.wb[ring->rptr_offs/4]; in cayman_dma_get_rptr()
56 rptr = rdev->wb.wb[ring->rptr_offs/4]; in r600_dma_get_rptr()
68 rptr = rdev->wb.wb[ring->rptr_offs/4]; in cik_sdma_get_rptr()
835 unsigned rptr_offs; member1034 unsigned rptr_offs, u32 nop);
1467 rptr = rdev->wb.wb[ring->rptr_offs/4]; in cayman_gfx_get_rptr()
4119 rptr = rdev->wb.wb[ring->rptr_offs/4]; in cik_gfx_get_rptr()4145 rptr = rdev->wb.wb[ring->rptr_offs/4]; in cik_compute_get_rptr()
1077 rptr = le32_to_cpu(rdev->wb.wb[ring->rptr_offs/4]); in r100_gfx_get_rptr()
2624 rptr = rdev->wb.wb[ring->rptr_offs/4]; in r600_gfx_get_rptr()