Home
last modified time | relevance | path

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

/linux/drivers/usb/host/
H A Dxhci-ring.c229 if (last_trb_on_seg(ring->enq_seg, ring->enqueue)) { in inc_enq()
265 ring->enq_seg = ring->enq_seg->next; in inc_enq()
266 ring->enqueue = ring->enq_seg->trbs; in inc_enq()
286 struct xhci_segment *enq_seg = ring->enq_seg; in xhci_num_trbs_free() local
294 enq_seg = enq_seg->next; in xhci_num_trbs_free()
295 enq = enq_seg->trbs; in xhci_num_trbs_free()
303 if (ring->deq_seg == enq_seg && ring->dequeue >= enq) in xhci_num_trbs_free()
305 last_on_seg = &enq_seg->trbs[TRBS_PER_SEGMENT - 1]; in xhci_num_trbs_free()
307 enq_seg = enq_seg->next; in xhci_num_trbs_free()
308 enq = enq_seg->trbs; in xhci_num_trbs_free()
[all …]
H A Dxhci-dbgcap.h174 xhci_trb_virt_to_dma((d)->ring_out->enq_seg, (d)->ring_out->enqueue)
176 xhci_trb_virt_to_dma((d)->ring_in->enq_seg, (d)->ring_in->enqueue)
H A Dxhci-trace.h457 __field(dma_addr_t, enq_seg)
469 __entry->enq_seg = ring->enq_seg->dma;
473 __entry->enq = xhci_trb_virt_to_dma(ring->enq_seg, ring->enqueue);
478 &__entry->enq, &__entry->enq_seg,
H A Dxhci-mem.c141 next = ring->enq_seg->next; in xhci_link_rings()
142 xhci_link_segments(ring->enq_seg, first, ring->type, chain_links); in xhci_link_rings()
146 if (ring->enq_seg == ring->last_seg) { in xhci_link_rings()
156 for (seg = ring->enq_seg; seg != ring->last_seg; seg = seg->next) in xhci_link_rings()
305 ring->enq_seg = ring->first_seg; in xhci_initialize_ring_info()
1033 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.c257 ring->enqueue = ring->enq_seg->trbs; in xhci_dbc_queue_trb()
289 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.h1347 struct xhci_segment *enq_seg; member
/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()
2376 ep_ring->enq_seg = preq->td.start_seg; in cdnsp_queue_isoc_tx()
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.h1254 struct cdnsp_segment *enq_seg; member