Home
last modified time | relevance | path

Searched full:readptr (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_ring_mux.c267 * amdgpu_ring_mux_get_rptr - get the readptr of the software ring
269 * @ring: the software ring of which we calculate the readptr
271 * The return value of the readptr is not precise while the other rings could
277 * If the readptr is between start and end, then we return the copy pointer
278 * plus the distance from start to readptr. If the readptr is before start, we
279 * return the copy pointer. Lastly, if the readptr is past end, we return the
309 /* end < readptr */ in amdgpu_ring_mux_get_rptr()
/linux/drivers/gpu/nova-core/gsp/
H A Dfw.rs70 dma_read!(qs, .gspq.rx.0.readPtr) % MSGQ_NUM_PAGES in cpu_read_ptr()
74 dma_read!(qs, .cpuq.rx.0.readPtr) % MSGQ_NUM_PAGES in advance_cpu_read_ptr()
83 dma_write!(qs, .cpuq.rx.0.readPtr, rptr); in cpu_write_ptr()
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/
H A Dgsp.c1172 cmdq->tx.rxHdrOff = offsetof(typeof(*cmdq), rx.readPtr); in r535_gsp_shared_init()
1178 gsp->cmdq.rptr = &msgq->rx.readPtr; in r535_gsp_shared_init()
1181 gsp->msgq.rptr = &cmdq->rx.readPtr; in r535_gsp_shared_init()