Home
last modified time | relevance | path

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

/linux-6.1.9/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.h357 __entry->trb_dma = cdnsp_trb_virt_to_dma(ring->deq_seg,
709 __field(dma_addr_t, deq_seg)
722 __entry->deq_seg = ring->deq_seg->dma;
728 __entry->deq = cdnsp_trb_virt_to_dma(ring->deq_seg,
735 &__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()
1345 deq = cdnsp_trb_virt_to_dma(pdev->event_ring->deq_seg, in cdnsp_update_erst_dequeue()
1391 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
/linux-6.1.9/drivers/usb/host/
Dxhci-ring.c164 if (!last_trb_on_seg(ring->deq_seg, ring->dequeue)) { in inc_deq()
168 if (last_trb_on_ring(ring, ring->deq_seg, ring->dequeue)) in inc_deq()
170 ring->deq_seg = ring->deq_seg->next; in inc_deq()
171 ring->dequeue = ring->deq_seg->trbs; in inc_deq()
177 if (last_trb_on_seg(ring->deq_seg, ring->dequeue)) { in inc_deq()
186 ring->deq_seg = ring->deq_seg->next; in inc_deq()
187 ring->dequeue = ring->deq_seg->trbs; in inc_deq()
292 num_trbs_in_deq_seg = ring->dequeue - ring->deq_seg->trbs; in room_on_ring()
369 struct xhci_segment *new_seg = xhci->cmd_ring->deq_seg; in xhci_abort_cmd_ring()
615 new_seg = ep_ring->deq_seg; in xhci_move_dequeue_past_td()
[all …]
Dxhci-trace.h465 __field(dma_addr_t, deq_seg)
478 __entry->deq_seg = ring->deq_seg->dma;
483 __entry->deq = xhci_trb_virt_to_dma(ring->deq_seg, ring->dequeue);
488 &__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-debugfs.c180 dma = xhci_trb_virt_to_dma(ring->deq_seg, ring->dequeue); in xhci_ring_dequeue_show()
Dxhci-mem.c303 ring->deq_seg = ring->first_seg; in xhci_initialize_ring_info()
750 addr = xhci_trb_virt_to_dma(ep->ring->deq_seg, ep->ring->dequeue); in xhci_setup_no_streams_ep_input_ctx()
2095 deq = xhci_trb_virt_to_dma(xhci->event_ring->deq_seg, in xhci_set_hc_event_deq()
Dxhci.c866 (xhci_trb_virt_to_dma(xhci->cmd_ring->deq_seg, in xhci_set_cmd_ring_deq()
891 seg = ring->deq_seg; in xhci_clear_command_ring()
898 } while (seg != ring->deq_seg); in xhci_clear_command_ring()
901 ring->deq_seg = ring->first_seg; in xhci_clear_command_ring()
903 ring->enq_seg = ring->deq_seg; in xhci_clear_command_ring()
Dxhci.h1623 struct xhci_segment *deq_seg; member