Searched refs:rptr_offs (Results 1 – 19 of 19) sorted by relevance
108 adev->irq.ih.rptr_offs = (adev->irq.ih.ring_size / 4) + 1; in amdgpu_ih_ring_init()118 r = amdgpu_wb_get(adev, &adev->irq.ih.rptr_offs); in amdgpu_ih_ring_init()164 amdgpu_wb_free(adev, adev->irq.ih.rptr_offs); in amdgpu_ih_ring_fini()
42 unsigned rptr_offs; member
264 adev->irq.ih.ring[adev->irq.ih.rptr_offs] = adev->irq.ih.rptr; in tonga_ih_set_rptr()266 adev->wb.wb[adev->irq.ih.rptr_offs] = adev->irq.ih.rptr; in tonga_ih_set_rptr()
323 r = amdgpu_wb_get(adev, &ring->rptr_offs); in amdgpu_ring_init()424 amdgpu_wb_free(ring->adev, ring->rptr_offs); in amdgpu_ring_fini()
157 rptr = ring->adev->wb.wb[ring->rptr_offs]; in cik_sdma_ring_get_rptr()408 wb_offset = (ring->rptr_offs * 4); in cik_sdma_gfx_resume()
187 rptr = ring->adev->wb.wb[ring->rptr_offs] >> 2; in sdma_v2_4_ring_get_rptr()450 wb_offset = (ring->rptr_offs * 4); in sdma_v2_4_gfx_resume()
283 rptr = ring->adev->wb.wb[ring->rptr_offs] >> 2; in sdma_v3_0_ring_get_rptr()587 wb_offset = (ring->rptr_offs * 4); in sdma_v3_0_gfx_resume()
2938 rptr_addr = adev->wb.gpu_addr + (ring->rptr_offs * 4); in gfx_v7_0_cp_gfx_resume()2968 rptr = ring->adev->wb.wb[ring->rptr_offs]; in gfx_v7_0_ring_get_rptr_gfx()2995 rptr = ring->adev->wb.wb[ring->rptr_offs]; in gfx_v7_0_ring_get_rptr_compute()3472 wb_gpu_addr = adev->wb.gpu_addr + (ring->rptr_offs * 4); in gfx_v7_0_cp_compute_resume()
3328 rptr_addr = adev->wb.gpu_addr + (ring->rptr_offs * 4); in gfx_v8_0_cp_gfx_resume()3889 wb_gpu_addr = adev->wb.gpu_addr + (ring->rptr_offs * 4); in gfx_v8_0_cp_compute_resume()4477 rptr = ring->adev->wb.wb[ring->rptr_offs]; in gfx_v8_0_ring_get_rptr_gfx()4748 return ring->adev->wb.wb[ring->rptr_offs]; in gfx_v8_0_ring_get_rptr_compute()
853 unsigned rptr_offs; member
376 unsigned rptr_offs, u32 nop) in radeon_ring_init() argument381 ring->rptr_offs = rptr_offs; in radeon_ring_init()
59 rptr = rdev->wb.wb[ring->rptr_offs/4]; in cayman_dma_get_rptr()
57 rptr = rdev->wb.wb[ring->rptr_offs/4]; in r600_dma_get_rptr()
69 rptr = rdev->wb.wb[ring->rptr_offs/4]; in cik_sdma_get_rptr()
850 unsigned rptr_offs; member1049 unsigned rptr_offs, u32 nop);
1484 rptr = rdev->wb.wb[ring->rptr_offs/4]; in cayman_gfx_get_rptr()
4507 rptr = rdev->wb.wb[ring->rptr_offs/4]; in cik_gfx_get_rptr()4537 rptr = rdev->wb.wb[ring->rptr_offs/4]; in cik_compute_get_rptr()
1062 rptr = le32_to_cpu(rdev->wb.wb[ring->rptr_offs/4]); in r100_gfx_get_rptr()
2617 rptr = rdev->wb.wb[ring->rptr_offs/4]; in r600_gfx_get_rptr()