Home
last modified time | relevance | path

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

/drivers/gpu/drm/msm/adreno/
Da5xx_preempt.c115 if (!ring || (a5xx_gpu->cur_ring == ring)) { in a5xx_preempt_trigger()
129 update_wptr(gpu, a5xx_gpu->cur_ring); in a5xx_preempt_trigger()
188 a5xx_gpu->cur_ring = a5xx_gpu->next_ring; in a5xx_preempt_irq()
191 update_wptr(gpu, a5xx_gpu->cur_ring); in a5xx_preempt_irq()
203 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.c42 if (a5xx_gpu->cur_ring == ring && !a5xx_in_preempt(a5xx_gpu)) in a5xx_flush()
808 if (ring != a5xx_gpu->cur_ring) { in a5xx_idle()
1348 return a5xx_gpu->cur_ring; in a5xx_active_ring()
Da6xx_gpu.c516 a6xx_gpu->cur_ring = gpu->rb[0]; in a6xx_hw_init()
774 return a6xx_gpu->cur_ring; in a6xx_active_ring()
/drivers/usb/host/
Dxhci-mem.c619 struct xhci_ring *cur_ring; in xhci_alloc_stream_info() local
674 cur_ring = stream_info->stream_rings[cur_stream]; in xhci_alloc_stream_info()
675 if (!cur_ring) in xhci_alloc_stream_info()
677 cur_ring->stream_id = cur_stream; in xhci_alloc_stream_info()
678 cur_ring->trb_address_map = &stream_info->trb_address_map; in xhci_alloc_stream_info()
680 addr = cur_ring->first_seg->dma | in xhci_alloc_stream_info()
682 cur_ring->cycle_state; in xhci_alloc_stream_info()
688 ret = xhci_update_stream_mapping(cur_ring, mem_flags); in xhci_alloc_stream_info()
690 xhci_ring_free(xhci, cur_ring); in xhci_alloc_stream_info()
706 cur_ring = stream_info->stream_rings[cur_stream]; in xhci_alloc_stream_info()
[all …]
/drivers/gpu/drm/msm/
Dmsm_gpu.c425 struct msm_ringbuffer *cur_ring = gpu->funcs->active_ring(gpu); in recover_worker() local
433 submit = find_submit(cur_ring, cur_ring->memptrs->fence + 1); in recover_worker()
480 if (ring == cur_ring) in recover_worker()
/drivers/net/wireless/ath/wil6210/
Dtxrx.c2278 struct wil_ring *cur_ring = &wil->ring_tx[i]; in __wil_update_net_queues() local
2281 if (txdata->mid != vif->mid || !cur_ring->va || in __wil_update_net_queues()
2282 !txdata->enabled || cur_ring == ring) in __wil_update_net_queues()
2285 if (wil_ring_avail_low(cur_ring)) { in __wil_update_net_queues()
2287 (int)(cur_ring - wil->ring_tx)); in __wil_update_net_queues()