Home
last modified time | relevance | path

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

/Linux-v6.6/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()
185 a5xx_gpu->cur_ring = a5xx_gpu->next_ring; in a5xx_preempt_irq()
188 update_wptr(gpu, a5xx_gpu->cur_ring); in a5xx_preempt_irq()
200 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()
1074 if (ring != a5xx_gpu->cur_ring) { in a5xx_idle()
1658 return a5xx_gpu->cur_ring; in a5xx_active_ring()
Da6xx_gpu.c1412 a6xx_gpu->cur_ring = gpu->rb[0]; in hw_init()
2072 return a6xx_gpu->cur_ring; in a6xx_active_ring()
/Linux-v6.6/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-v6.6/drivers/usb/host/
Dxhci-mem.c596 struct xhci_ring *cur_ring; in xhci_alloc_stream_info() local
648 cur_ring = stream_info->stream_rings[cur_stream]; in xhci_alloc_stream_info()
649 if (!cur_ring) in xhci_alloc_stream_info()
651 cur_ring->stream_id = cur_stream; in xhci_alloc_stream_info()
652 cur_ring->trb_address_map = &stream_info->trb_address_map; in xhci_alloc_stream_info()
654 addr = cur_ring->first_seg->dma | in xhci_alloc_stream_info()
656 cur_ring->cycle_state; in xhci_alloc_stream_info()
661 ret = xhci_update_stream_mapping(cur_ring, mem_flags); in xhci_alloc_stream_info()
663 xhci_ring_free(xhci, cur_ring); in xhci_alloc_stream_info()
679 cur_ring = stream_info->stream_rings[cur_stream]; in xhci_alloc_stream_info()
[all …]
/Linux-v6.6/drivers/gpu/drm/msm/
Dmsm_gpu.c360 struct msm_ringbuffer *cur_ring = gpu->funcs->active_ring(gpu); in recover_worker() local
368 submit = find_submit(cur_ring, cur_ring->memptrs->fence + 1); in recover_worker()
415 if (ring == cur_ring) in recover_worker()
453 struct msm_ringbuffer *cur_ring = gpu->funcs->active_ring(gpu); in fault_worker() local
458 submit = find_submit(cur_ring, cur_ring->memptrs->fence + 1); in fault_worker()
/Linux-v6.6/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()