Home
last modified time | relevance | path

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

/drivers/usb/cdns3/
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 …]
Dcdnsp-trace.h355 __entry->trb_dma = cdnsp_trb_virt_to_dma(ring->deq_seg,
706 __field(dma_addr_t, deq_seg)
719 __entry->deq_seg = ring->deq_seg->dma;
725 __entry->deq = cdnsp_trb_virt_to_dma(ring->deq_seg,
732 &__entry->deq, &__entry->deq_seg,
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()
1348 deq = cdnsp_trb_virt_to_dma(pdev->event_ring->deq_seg, in cdnsp_update_erst_dequeue()
1394 event_deq_seg = pdev->event_ring->deq_seg; in cdnsp_consume_all_events()
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()
Dcdnsp-gadget.h1255 struct cdnsp_segment *deq_seg; member
/drivers/usb/host/
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()
305 if (ring->deq_seg == enq_seg && ring->dequeue >= enq) in xhci_num_trbs_free()
353 if (seg == ring->deq_seg) { in xhci_ring_expansion_needed()
436 struct xhci_segment *new_seg = xhci->cmd_ring->deq_seg; in xhci_abort_cmd_ring()
[all …]
Dxhci-trace.h457 __field(dma_addr_t, deq_seg)
469 __entry->deq_seg = ring->deq_seg->dma;
473 __entry->deq = xhci_trb_virt_to_dma(ring->deq_seg, ring->dequeue);
478 &__entry->deq, &__entry->deq_seg,
Dxhci-dbgcap.c508 deq = xhci_trb_virt_to_dma(dbc->ring_evt->deq_seg, in xhci_dbc_mem_init()
742 if (ring->dequeue == &ring->deq_seg->trbs[TRBS_PER_SEGMENT - 1]) { in inc_evt_deq()
744 ring->dequeue = ring->deq_seg->trbs; in inc_evt_deq()
878 deq = xhci_trb_virt_to_dma(dbc->ring_evt->deq_seg, in xhci_dbc_do_handle_events()
Dxhci-mem.c310 ring->deq_seg = ring->first_seg; in xhci_initialize_ring_info()
743 addr = xhci_trb_virt_to_dma(ep->ring->deq_seg, ep->ring->dequeue); in xhci_setup_no_streams_ep_input_ctx()
1994 deq = xhci_trb_virt_to_dma(ir->event_ring->deq_seg, in xhci_set_hc_event_deq()
Dxhci-debugfs.c181 dma = xhci_trb_virt_to_dma(ring->deq_seg, ring->dequeue); in xhci_ring_dequeue_show()
Dxhci.c742 (xhci_trb_virt_to_dma(xhci->cmd_ring->deq_seg, in xhci_set_cmd_ring_deq()
767 seg = ring->deq_seg; in xhci_clear_command_ring()
774 } while (seg != ring->deq_seg); in xhci_clear_command_ring()
777 ring->deq_seg = ring->first_seg; in xhci_clear_command_ring()
779 ring->enq_seg = ring->deq_seg; in xhci_clear_command_ring()
Dxhci.h1646 struct xhci_segment *deq_seg; member