Home
last modified time | relevance | path

Searched refs:start_trb (Results 1 – 8 of 8) sorted by relevance

/linux/drivers/usb/host/
H A Dxhci-ring.c308 struct xhci_segment *start_seg, union xhci_trb *start_trb, in dma_in_range() argument
320 start = trb_to_pos(start_seg, start_trb); in dma_in_range()
333 return dma_in_range(suspect_dma, td->start_seg, td->start_trb, in trb_in_td()
806 union xhci_trb *trb = td->start_trb; in td_to_noop()
815 if (flip_cycle && trb != td->start_trb && trb != td->end_trb) in td_to_noop()
1058 td->start_seg, td->start_trb), in xhci_invalidate_cancelled_tds()
2280 union xhci_trb *trb = td->start_trb; in sum_trb_lengths()
2965 (unsigned long long)xhci_trb_virt_to_dma(td->start_seg, td->start_trb), in handle_tx_event()
3368 td->start_trb = ep_ring->enqueue; in prepare_transfer()
3433 struct xhci_generic_trb *start_trb) in giveback_first_trb() argument
[all …]
H A Dxhci.h1309 union xhci_trb *start_trb; member
H A Dxhci.c1838 urb_priv->td[i].start_trb)); in xhci_urb_dequeue()
/linux/drivers/usb/cdns3/
H A Dcdnsp-ring.c534 union cdnsp_trb *start_trb, in cdnsp_trb_in_td() argument
544 start_dma = cdnsp_trb_virt_to_dma(start_seg, start_trb); in cdnsp_trb_in_td()
972 struct cdnsp_generic_trb *start_trb) in cdnsp_giveback_first_trb() argument
981 start_trb->field[3] |= cpu_to_le32(start_cycle); in cdnsp_giveback_first_trb()
983 start_trb->field[3] &= cpu_to_le32(~TRB_CYCLE); in cdnsp_giveback_first_trb()
1868 struct cdnsp_generic_trb *start_trb; in cdnsp_queue_bulk_tx() local
1934 start_trb = &ring->enqueue->generic; in cdnsp_queue_bulk_tx()
2037 start_cycle, start_trb); in cdnsp_queue_bulk_tx()
2226 struct cdnsp_generic_trb *start_trb; in cdnsp_queue_isoc_tx() local
2258 start_trb = &ep_ring->enqueue->generic; in cdnsp_queue_isoc_tx()
[all …]
H A Dcdns3-gadget.c1017 priv_req->start_trb = priv_ep->enqueue; in cdns3_ep_run_stream_transfer()
1018 priv_req->end_trb = priv_req->start_trb; in cdns3_ep_run_stream_transfer()
1157 priv_req->start_trb = priv_ep->enqueue; in cdns3_ep_run_transfer()
1399 priv_req->start_trb * TRB_SIZE), in cdns3_ep_run_transfer()
1498 if (priv_req->start_trb < priv_req->end_trb) { in cdns3_trb_handled()
1502 if (priv_ep->dequeue < priv_req->start_trb) in cdns3_trb_handled()
1506 if ((priv_req->start_trb > priv_req->end_trb) && in cdns3_trb_handled()
1508 (priv_ep->dequeue < priv_req->start_trb)) in cdns3_trb_handled()
1511 if ((priv_req->start_trb == priv_req->end_trb) && in cdns3_trb_handled()
H A Dcdns3-gadget.h1236 int start_trb; member
/linux/drivers/usb/gadget/udc/cdns2/
H A Dcdns2-gadget.c784 preq->start_trb = ring->enqueue; in cdns2_ep_run_transfer()
902 if (preq->start_trb < preq->end_trb) { in cdns2_trb_handled()
906 if (ring->dequeue < preq->start_trb) in cdns2_trb_handled()
910 if (preq->start_trb > preq->end_trb && ring->dequeue > preq->end_trb && in cdns2_trb_handled()
911 ring->dequeue < preq->start_trb) in cdns2_trb_handled()
914 if (preq->start_trb == preq->end_trb && ring->dequeue != preq->end_trb) in cdns2_trb_handled()
H A Dcdns2-gadget.h602 int start_trb; member