Searched refs:rptr_offs (Results 1 - 14 of 14) sorted by relevance

/linux-master/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_ih.c75 unsigned wptr_offs, rptr_offs; local
81 r = amdgpu_device_wb_get(adev, &rptr_offs);
92 amdgpu_device_wb_free(adev, rptr_offs);
99 ih->rptr_addr = adev->wb.gpu_addr + rptr_offs * 4;
100 ih->rptr_cpu = &adev->wb.wb[rptr_offs];
H A Damdgpu_ring.c238 ring->rptr_offs = amdgpu_mes_ctx_get_offs(ring,
249 r = amdgpu_device_wb_get(adev, &ring->rptr_offs);
251 dev_err(adev->dev, "(%d) ring rptr_offs wb alloc failed\n", r);
286 amdgpu_ring_get_gpu_addr(ring, ring->rptr_offs);
288 amdgpu_ring_get_cpu_addr(ring, ring->rptr_offs);
383 amdgpu_device_wb_free(ring->adev, ring->rptr_offs);
H A Dsdma_v4_4_2.c163 rptr = READ_ONCE(*((u64 *)&ring->adev->wb.wb[ring->rptr_offs]));
629 wb_offset = (ring->rptr_offs * 4);
717 wb_offset = (ring->rptr_offs * 4);
H A Damdgpu_ring.h248 unsigned rptr_offs; member in struct:amdgpu_ring
H A Dgfx_v9_4_3.c1623 wb_gpu_addr = adev->wb.gpu_addr + (ring->rptr_offs * 4);
2659 return ring->adev->wb.wb[ring->rptr_offs]; /* gfx9 hardware is 32bit rptr */
/linux-master/drivers/gpu/drm/radeon/
H A Dradeon_ring.c375 * @rptr_offs: offset of the rptr writeback location in the WB buffer
382 unsigned rptr_offs, u32 nop)
387 ring->rptr_offs = rptr_offs;
381 radeon_ring_init(struct radeon_device *rdev, struct radeon_ring *ring, unsigned ring_size, unsigned rptr_offs, u32 nop) argument
H A Dr600_dma.c56 rptr = rdev->wb.wb[ring->rptr_offs/4];
H A Dni_dma.c58 rptr = rdev->wb.wb[ring->rptr_offs/4];
H A Dcik_sdma.c68 rptr = rdev->wb.wb[ring->rptr_offs/4];
H A Dradeon.h797 unsigned rptr_offs; member in struct:radeon_ring
996 unsigned rptr_offs, u32 nop);
H A Dni.c1454 rptr = rdev->wb.wb[ring->rptr_offs/4];
H A Dr100.c1078 rptr = le32_to_cpu(rdev->wb.wb[ring->rptr_offs/4]);
H A Dcik.c4119 rptr = rdev->wb.wb[ring->rptr_offs/4];
4145 rptr = rdev->wb.wb[ring->rptr_offs/4];
H A Dr600.c2623 rptr = rdev->wb.wb[ring->rptr_offs/4];

Completed in 410 milliseconds