Home
last modified time | relevance | path

Searched refs:enq_seg (Results 1 – 15 of 15) sorted by relevance

/openbmc/u-boot/drivers/usb/host/
H A Dxhci-ring.c101 while (last_trb(ctrl, ring, ring->enq_seg, next)) { in inc_enq()
129 ring->enq_seg, next)) in inc_enq()
132 ring->enq_seg = ring->enq_seg->next; in inc_enq()
133 ring->enqueue = ring->enq_seg->trbs; in inc_enq()
237 while (last_trb(ctrl, ep_ring, ep_ring->enq_seg, next)) { in prepare_ring()
250 ep_ring->enq_seg, next)) in prepare_ring()
252 ep_ring->enq_seg = ep_ring->enq_seg->next; in prepare_ring()
253 ep_ring->enqueue = ep_ring->enq_seg->trbs; in prepare_ring()
H A Dxhci.h1012 struct xhci_segment *enq_seg; member
H A Dxhci-mem.c251 ring->enq_seg = ring->first_seg; in xhci_initialize_ring_info()
/openbmc/linux/drivers/usb/host/
H A Dxhci-ring.c261 ring->enq_seg = ring->enq_seg->next; in inc_enq()
282 struct xhci_segment *enq_seg = ring->enq_seg; in xhci_num_trbs_free() local
290 enq_seg = enq_seg->next; in xhci_num_trbs_free()
291 enq = enq_seg->trbs; in xhci_num_trbs_free()
303 enq_seg = enq_seg->next; in xhci_num_trbs_free()
304 enq = enq_seg->trbs; in xhci_num_trbs_free()
343 seg = ring->enq_seg; in xhci_ring_expansion_needed()
661 new_seg = ep_ring->enq_seg; in xhci_move_dequeue_past_td()
3338 ep_ring->enq_seg = ep_ring->enq_seg->next; in prepare_ring()
3399 td->start_seg = ep_ring->enq_seg; in prepare_transfer()
[all …]
H A Dxhci-dbgcap.h171 xhci_trb_virt_to_dma((d)->ring_out->enq_seg, (d)->ring_out->enqueue)
173 xhci_trb_virt_to_dma((d)->ring_in->enq_seg, (d)->ring_in->enqueue)
H A Dxhci-trace.h456 __field(dma_addr_t, enq_seg)
468 __entry->enq_seg = ring->enq_seg->dma;
472 __entry->enq = xhci_trb_virt_to_dma(ring->enq_seg, ring->enqueue);
477 &__entry->enq, &__entry->enq_seg,
H A Dxhci-mem.c142 next = ring->enq_seg->next; in xhci_link_rings()
143 xhci_link_segments(ring->enq_seg, first, ring->type, chain_links); in xhci_link_rings()
147 if (ring->type != TYPE_EVENT && ring->enq_seg == ring->last_seg) { in xhci_link_rings()
301 ring->enq_seg = ring->first_seg; in xhci_initialize_ring_info()
1034 ep0_ctx->deq = cpu_to_le64(xhci_trb_virt_to_dma(ep_ring->enq_seg, in xhci_copy_ep0_dequeue_into_input_ctx()
H A Dxhci-dbgcap.c240 ring->enqueue = ring->enq_seg->trbs; in xhci_dbc_queue_trb()
272 req->trb_dma = xhci_trb_virt_to_dma(ring->enq_seg, ring->enqueue); in xhci_dbc_queue_bulk_tx()
H A Dxhci-debugfs.c170 dma = xhci_trb_virt_to_dma(ring->enq_seg, ring->enqueue); in xhci_ring_enqueue_show()
H A Dxhci.h1376 struct xhci_segment *enq_seg; member
H A Dxhci.c747 ring->enq_seg = ring->deq_seg; in xhci_clear_command_ring()
/openbmc/linux/drivers/usb/cdns3/
H A Dcdnsp-ring.c224 ring->enq_seg = ring->enq_seg->next; in cdnsp_inc_enq()
225 ring->enqueue = ring->enq_seg->trbs; in cdnsp_inc_enq()
1667 ep_ring->enq_seg = ep_ring->enq_seg->next; in cdnsp_prepare_ring()
1668 ep_ring->enqueue = ep_ring->enq_seg->trbs; in cdnsp_prepare_ring()
1699 preq->td.start_seg = ep_ring->enq_seg; in cdnsp_prepare_transfer()
1964 ring->enq_seg)) { in cdnsp_queue_bulk_tx()
1965 send_addr = ring->enq_seg->bounce_dma; in cdnsp_queue_bulk_tx()
1967 preq->td.bounce_seg = ring->enq_seg; in cdnsp_queue_bulk_tx()
2389 ep_ring->enq_seg = preq->td.start_seg; in cdnsp_queue_isoc_tx()
H A Dcdnsp-trace.h705 __field(dma_addr_t, enq_seg)
718 __entry->enq_seg = ring->enq_seg->dma;
723 __entry->enq = cdnsp_trb_virt_to_dma(ring->enq_seg,
731 &__entry->enq, &__entry->enq_seg,
H A Dcdnsp-mem.c147 next = ring->enq_seg->next; in cdnsp_link_rings()
148 cdnsp_link_segments(pdev, ring->enq_seg, first, ring->type); in cdnsp_link_rings()
153 if (ring->type != TYPE_EVENT && ring->enq_seg == ring->last_seg) { in cdnsp_link_rings()
300 ring->enq_seg = ring->first_seg; in cdnsp_initialize_ring_info()
721 dma = cdnsp_trb_virt_to_dma(ep_ring->enq_seg, ep_ring->enqueue); in cdnsp_copy_ep0_dequeue_into_input_ctx()
H A Dcdnsp-gadget.h1256 struct cdnsp_segment *enq_seg; member