Home
last modified time | relevance | path

Searched refs:start_trb (Results 1 – 7 of 7) 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()
2944 (unsigned long long)xhci_trb_virt_to_dma(td->start_seg, td->start_trb), in handle_tx_event()
3347 td->start_trb = ep_ring->enqueue; in prepare_transfer()
3412 struct xhci_generic_trb *start_trb) in count_isoc_trbs_needed()
3433 giveback_first_trb(struct xhci_hcd * xhci,int slot_id,unsigned int ep_index,unsigned int stream_id,int start_cycle,struct xhci_generic_trb * start_trb) giveback_first_trb() argument
3616 struct xhci_generic_trb *start_trb; xhci_queue_bulk_tx() local
3776 struct xhci_generic_trb *start_trb; xhci_queue_ctrl_tx() local
4084 struct xhci_generic_trb *start_trb; xhci_queue_isoc_tx() local
[all...]
H A Dxhci.c1835 urb_priv->td[i].start_trb)); in xhci_urb_dequeue()
/linux/drivers/usb/cdns3/
H A Dcdnsp-ring.c527 * This TD is defined by the TRBs starting at start_trb in start_seg and ending
534 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()
975 struct cdnsp_generic_trb *start_trb) in cdnsp_giveback_first_trb()
984 start_trb->field[3] |= cpu_to_le32(start_cycle); in cdnsp_giveback_first_trb()
986 start_trb->field[3] &= cpu_to_le32(~TRB_CYCLE); in cdnsp_giveback_first_trb()
1871 struct cdnsp_generic_trb *start_trb; in cdnsp_queue_bulk_tx()
1937 start_trb = &ring->enqueue->generic; in cdnsp_queue_bulk_tx()
2040 start_cycle, start_trb); in cdnsp_queue_bulk_tx()
2229 struct cdnsp_generic_trb *start_trb; in cdnsp_queue_isoc_tx()
972 cdnsp_giveback_first_trb(struct cdnsp_device * pdev,struct cdnsp_ep * pep,unsigned int stream_id,int start_cycle,struct cdnsp_generic_trb * start_trb) cdnsp_giveback_first_trb() argument
1868 struct cdnsp_generic_trb *start_trb; cdnsp_queue_bulk_tx() local
2226 struct cdnsp_generic_trb *start_trb; cdnsp_queue_isoc_tx() local
[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()
1460 * ST = priv_req->start_trb - index of first TRB in transfer ring
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 in cdns3_trb_handled()
[all...]
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