Home
last modified time | relevance | path

Searched refs:deq_seg (Results 1 – 11 of 11) sorted by relevance

/linux/drivers/usb/cdns3/
H A Dcdnsp-ring.c150 if (!cdnsp_last_trb_on_seg(ring->deq_seg, ring->dequeue)) { in cdnsp_inc_deq()
155 if (cdnsp_last_trb_on_ring(ring, ring->deq_seg, ring->dequeue)) in cdnsp_inc_deq()
158 ring->deq_seg = ring->deq_seg->next; in cdnsp_inc_deq()
159 ring->dequeue = ring->deq_seg->trbs; in cdnsp_inc_deq()
169 ring->deq_seg = ring->deq_seg->next; in cdnsp_inc_deq()
170 ring->dequeue = ring->deq_seg->trbs; in cdnsp_inc_deq()
246 num_trbs_in_deq_seg = ring->dequeue - ring->deq_seg->trbs; in cdnsp_room_on_ring()
452 new_seg = ep_ring->deq_seg; in cdnsp_find_new_dequeue_state()
660 ep_ring->deq_seg = ep_ring->deq_seg->next; in cdnsp_cmd_set_deq()
661 ep_ring->dequeue = ep_ring->deq_seg->trbs; in cdnsp_cmd_set_deq()
[all …]
H A Dcdnsp-gadget.c496 segment = pdev->event_ring->deq_seg; in cdnsp_invalidate_ep_events()
514 segment = pdev->event_ring->deq_seg->next; in cdnsp_invalidate_ep_events()
549 event_deq_seg = pdev->event_ring->deq_seg; in cdnsp_wait_for_cmd_compl()
552 cmd_deq_dma = cdnsp_trb_virt_to_dma(pdev->cmd_ring->deq_seg, cmd_trb); in cdnsp_wait_for_cmd_compl()
1346 deq = cdnsp_trb_virt_to_dma(pdev->event_ring->deq_seg, in cdnsp_update_erst_dequeue()
1392 event_deq_seg = pdev->event_ring->deq_seg; in cdnsp_consume_all_events()
H A Dcdnsp-mem.c302 ring->deq_seg = ring->first_seg; in cdnsp_initialize_ring_info()
1105 deq = cdnsp_trb_virt_to_dma(pdev->event_ring->deq_seg, in cdnsp_set_event_deq()
H A Dcdnsp-gadget.h1256 struct cdnsp_segment *deq_seg; member
/linux/drivers/usb/host/
H A Dxhci-ring.c170 if (!last_trb_on_seg(ring->deq_seg, ring->dequeue)) { in inc_deq()
174 if (last_trb_on_ring(ring, ring->deq_seg, ring->dequeue)) in inc_deq()
176 ring->deq_seg = ring->deq_seg->next; in inc_deq()
177 ring->dequeue = ring->deq_seg->trbs; in inc_deq()
183 if (last_trb_on_seg(ring->deq_seg, ring->dequeue)) in inc_deq()
190 ring->deq_seg = ring->deq_seg->next; in inc_deq()
191 ring->dequeue = ring->deq_seg->trbs; in inc_deq()
303 if (ring->deq_seg == enq_seg && ring->dequeue >= enq) in xhci_num_trbs_free()
351 if (seg == ring->deq_seg) { in xhci_ring_expansion_needed()
432 struct xhci_segment *new_seg = xhci->cmd_ring->deq_seg; in xhci_abort_cmd_ring()
[all …]
H A Dxhci-trace.h458 __field(dma_addr_t, deq_seg)
470 __entry->deq_seg = ring->deq_seg->dma;
474 __entry->deq = xhci_trb_virt_to_dma(ring->deq_seg, ring->dequeue);
479 &__entry->deq, &__entry->deq_seg,
H A Dxhci-dbgcap.c524 deq = xhci_trb_virt_to_dma(dbc->ring_evt->deq_seg, in xhci_dbc_mem_init()
813 if (ring->dequeue == &ring->deq_seg->trbs[TRBS_PER_SEGMENT - 1]) { in inc_evt_deq()
815 ring->dequeue = ring->deq_seg->trbs; in inc_evt_deq()
922 deq = xhci_trb_virt_to_dma(dbc->ring_evt->deq_seg, in xhci_dbc_do_handle_events()
H A Dxhci-debugfs.c181 dma = xhci_trb_virt_to_dma(ring->deq_seg, ring->dequeue); in xhci_ring_dequeue_show()
H A Dxhci-mem.c307 ring->deq_seg = ring->first_seg; in xhci_initialize_ring_info()
731 addr = xhci_trb_virt_to_dma(ep->ring->deq_seg, ep->ring->dequeue); in xhci_setup_no_streams_ep_input_ctx()
1971 deq = xhci_trb_virt_to_dma(ir->event_ring->deq_seg, in xhci_set_hc_event_deq()
H A Dxhci.c763 (xhci_trb_virt_to_dma(xhci->cmd_ring->deq_seg, in xhci_set_cmd_ring_deq()
788 seg = ring->deq_seg; in xhci_clear_command_ring()
795 } while (seg != ring->deq_seg); in xhci_clear_command_ring()
H A Dxhci.h1349 struct xhci_segment *deq_seg; member