Home
last modified time | relevance | path

Searched refs:cur_ring (Results 1 – 9 of 9) sorted by relevance

/linux-6.1.9/drivers/gpu/drm/msm/adreno/
Da5xx_preempt.c114 if (!ring || (a5xx_gpu->cur_ring == ring)) { in a5xx_preempt_trigger()
128 update_wptr(gpu, a5xx_gpu->cur_ring); in a5xx_preempt_trigger()
186 a5xx_gpu->cur_ring = a5xx_gpu->next_ring; in a5xx_preempt_irq()
189 update_wptr(gpu, a5xx_gpu->cur_ring); in a5xx_preempt_irq()
201 a5xx_gpu->cur_ring = gpu->rb[0]; in a5xx_preempt_hw_init()
Da6xx_gpu.h21 struct msm_ringbuffer *cur_ring; member
Da5xx_gpu.h30 struct msm_ringbuffer *cur_ring; member
Da5xx_gpu.c62 if (a5xx_gpu->cur_ring == ring && !a5xx_in_preempt(a5xx_gpu)) in a5xx_flush()
1081 if (ring != a5xx_gpu->cur_ring) { in a5xx_idle()
1662 return a5xx_gpu->cur_ring; in a5xx_active_ring()
Da6xx_gpu.c1186 a6xx_gpu->cur_ring = gpu->rb[0]; in hw_init()
1737 return a6xx_gpu->cur_ring; in a6xx_active_ring()
/linux-6.1.9/drivers/usb/cdns3/
Dcdnsp-mem.c567 struct cdnsp_ring *cur_ring; in cdnsp_alloc_stream_info() local
600 cur_ring = cdnsp_ring_alloc(pdev, 2, TYPE_STREAM, mps, in cdnsp_alloc_stream_info()
602 stream_info->stream_rings[cur_stream] = cur_ring; in cdnsp_alloc_stream_info()
604 if (!cur_ring) in cdnsp_alloc_stream_info()
607 cur_ring->stream_id = cur_stream; in cdnsp_alloc_stream_info()
608 cur_ring->trb_address_map = &stream_info->trb_address_map; in cdnsp_alloc_stream_info()
611 addr = cur_ring->first_seg->dma | SCT_FOR_CTX(SCT_PRI_TR) | in cdnsp_alloc_stream_info()
612 cur_ring->cycle_state; in cdnsp_alloc_stream_info()
617 trace_cdnsp_set_stream_ring(cur_ring); in cdnsp_alloc_stream_info()
619 ret = cdnsp_update_stream_mapping(cur_ring); in cdnsp_alloc_stream_info()
[all …]
/linux-6.1.9/drivers/usb/host/
Dxhci-mem.c610 struct xhci_ring *cur_ring; in xhci_alloc_stream_info() local
665 cur_ring = stream_info->stream_rings[cur_stream]; in xhci_alloc_stream_info()
666 if (!cur_ring) in xhci_alloc_stream_info()
668 cur_ring->stream_id = cur_stream; in xhci_alloc_stream_info()
669 cur_ring->trb_address_map = &stream_info->trb_address_map; in xhci_alloc_stream_info()
671 addr = cur_ring->first_seg->dma | in xhci_alloc_stream_info()
673 cur_ring->cycle_state; in xhci_alloc_stream_info()
679 ret = xhci_update_stream_mapping(cur_ring, mem_flags); in xhci_alloc_stream_info()
681 xhci_ring_free(xhci, cur_ring); in xhci_alloc_stream_info()
697 cur_ring = stream_info->stream_rings[cur_stream]; in xhci_alloc_stream_info()
[all …]
/linux-6.1.9/drivers/gpu/drm/msm/
Dmsm_gpu.c363 struct msm_ringbuffer *cur_ring = gpu->funcs->active_ring(gpu); in recover_worker() local
371 submit = find_submit(cur_ring, cur_ring->memptrs->fence + 1); in recover_worker()
418 if (ring == cur_ring) in recover_worker()
456 struct msm_ringbuffer *cur_ring = gpu->funcs->active_ring(gpu); in fault_worker() local
461 submit = find_submit(cur_ring, cur_ring->memptrs->fence + 1); in fault_worker()
/linux-6.1.9/drivers/net/wireless/ath/wil6210/
Dtxrx.c2270 struct wil_ring *cur_ring = &wil->ring_tx[i]; in __wil_update_net_queues() local
2273 if (txdata->mid != vif->mid || !cur_ring->va || in __wil_update_net_queues()
2274 !txdata->enabled || cur_ring == ring) in __wil_update_net_queues()
2277 if (wil_ring_avail_low(cur_ring)) { in __wil_update_net_queues()
2279 (int)(cur_ring - wil->ring_tx)); in __wil_update_net_queues()