Home
last modified time | relevance | path

Searched refs:rptr_offs (Results 1 – 19 of 19) sorted by relevance

/drivers/gpu/drm/amd/amdgpu/
Damdgpu_ih.c108 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()
Damdgpu_ih.h42 unsigned rptr_offs; member
Dtonga_ih.c264 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()
Damdgpu_ring.c323 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()
Dcik_sdma.c157 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()
Dsdma_v2_4.c187 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()
Dsdma_v3_0.c283 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()
Dgfx_v7_0.c2938 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()
Dgfx_v8_0.c3328 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()
Damdgpu.h853 unsigned rptr_offs; member
/drivers/gpu/drm/radeon/
Dradeon_ring.c376 unsigned rptr_offs, u32 nop) in radeon_ring_init() argument
381 ring->rptr_offs = rptr_offs; in radeon_ring_init()
Dni_dma.c59 rptr = rdev->wb.wb[ring->rptr_offs/4]; in cayman_dma_get_rptr()
Dr600_dma.c57 rptr = rdev->wb.wb[ring->rptr_offs/4]; in r600_dma_get_rptr()
Dcik_sdma.c69 rptr = rdev->wb.wb[ring->rptr_offs/4]; in cik_sdma_get_rptr()
Dradeon.h850 unsigned rptr_offs; member
1049 unsigned rptr_offs, u32 nop);
Dni.c1484 rptr = rdev->wb.wb[ring->rptr_offs/4]; in cayman_gfx_get_rptr()
Dcik.c4507 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()
Dr100.c1062 rptr = le32_to_cpu(rdev->wb.wb[ring->rptr_offs/4]); in r100_gfx_get_rptr()
Dr600.c2617 rptr = rdev->wb.wb[ring->rptr_offs/4]; in r600_gfx_get_rptr()