Home
last modified time | relevance | path

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

/dragonfly/sys/dev/drm/amd/amdgpu/
H A Damdgpu_ih.c91 adev->irq.ih.rptr_offs = (adev->irq.ih.ring_size / 4) + 1; in amdgpu_ih_ring_init()
101 r = amdgpu_device_wb_get(adev, &adev->irq.ih.rptr_offs); in amdgpu_ih_ring_init()
137 amdgpu_device_wb_free(adev, adev->irq.ih.rptr_offs); in amdgpu_ih_ring_fini()
H A Damdgpu_ih.h55 unsigned rptr_offs; member
H A Damdgpu_ring.c267 r = amdgpu_device_wb_get(adev, &ring->rptr_offs); in amdgpu_ring_init()
352 amdgpu_device_wb_free(ring->adev, ring->rptr_offs); in amdgpu_ring_fini()
H A Dtonga_ih.c292 adev->irq.ih.ring[adev->irq.ih.rptr_offs] = adev->irq.ih.rptr; in tonga_ih_set_rptr()
294 adev->wb.wb[adev->irq.ih.rptr_offs] = adev->irq.ih.rptr; in tonga_ih_set_rptr()
H A Dvega10_ih.c365 adev->irq.ih.ring[adev->irq.ih.rptr_offs] = adev->irq.ih.rptr; in vega10_ih_set_rptr()
367 adev->wb.wb[adev->irq.ih.rptr_offs] = adev->irq.ih.rptr; in vega10_ih_set_rptr()
H A Damdgpu_ring.h182 unsigned rptr_offs; member
H A Dsdma_v2_4.c194 return ring->adev->wb.wb[ring->rptr_offs] >> 2; in sdma_v2_4_ring_get_rptr()
414 wb_offset = (ring->rptr_offs * 4); in sdma_v2_4_gfx_resume()
H A Dsdma_v3_0.c351 return ring->adev->wb.wb[ring->rptr_offs] >> 2; in sdma_v3_0_ring_get_rptr()
653 wb_offset = (ring->rptr_offs * 4); in sdma_v3_0_gfx_resume()
H A Dsdma_v4_0.c282 rptr = ((u64 *)&ring->adev->wb.wb[ring->rptr_offs]); in sdma_v4_0_ring_get_rptr()
631 wb_offset = (ring->rptr_offs * 4); in sdma_v4_0_gfx_resume()
H A Dgfx_v9_0.c2481 rptr_addr = adev->wb.gpu_addr + (ring->rptr_offs * 4); in gfx_v9_0_cp_gfx_resume()
2775 wb_gpu_addr = adev->wb.gpu_addr + (ring->rptr_offs * 4); in gfx_v9_0_mqd_init()
3852 return ring->adev->wb.wb[ring->rptr_offs]; /* gfx9 is 32bit rptr*/ in gfx_v9_0_ring_get_rptr_gfx()
4022 return ring->adev->wb.wb[ring->rptr_offs]; /* gfx9 hardware is 32bit rptr */ in gfx_v9_0_ring_get_rptr_compute()
H A Dgfx_v8_0.c4502 rptr_addr = adev->wb.gpu_addr + (ring->rptr_offs * 4); in gfx_v8_0_cp_gfx_resume()
4778 wb_gpu_addr = adev->wb.gpu_addr + (ring->rptr_offs * 4); in gfx_v8_0_mqd_init()
6286 return ring->adev->wb.wb[ring->rptr_offs]; in gfx_v8_0_ring_get_rptr()
/dragonfly/sys/dev/drm/radeon/
H A Dradeon_ring.c376 unsigned rptr_offs, u32 nop) in radeon_ring_init() argument
381 ring->rptr_offs = rptr_offs; in radeon_ring_init()
H A Dr600_dma.c55 rptr = rdev->wb.wb[ring->rptr_offs/4]; in r600_dma_get_rptr()
H A Dni_dma.c57 rptr = rdev->wb.wb[ring->rptr_offs/4]; in cayman_dma_get_rptr()
H A Dcik_sdma.c67 rptr = rdev->wb.wb[ring->rptr_offs/4]; in cik_sdma_get_rptr()
H A Dradeon.h850 unsigned rptr_offs; member
1049 unsigned rptr_offs, u32 nop);
H A Dni.c1489 rptr = rdev->wb.wb[ring->rptr_offs/4]; in cayman_gfx_get_rptr()
H A Dcik.c4159 rptr = rdev->wb.wb[ring->rptr_offs/4]; in cik_gfx_get_rptr()
4185 rptr = rdev->wb.wb[ring->rptr_offs/4]; in cik_compute_get_rptr()
H A Dr100.c1064 rptr = le32_to_cpu(rdev->wb.wb[ring->rptr_offs/4]); in r100_gfx_get_rptr()
H A Dr600.c2613 rptr = rdev->wb.wb[ring->rptr_offs/4]; in r600_gfx_get_rptr()