Home
last modified time | relevance | path

Searched refs:last_trb (Results 1 – 7 of 7) sorted by relevance

/openbmc/linux/drivers/usb/cdns3/
H A Dcdnsp-ring.c472 if (new_deq == cur_td->last_trb) in cdnsp_find_new_dequeue_state()
515 if (flip_cycle && trb != td->first_trb && trb != td->last_trb) in cdnsp_td_to_noop()
518 if (trb == td->last_trb) in cdnsp_td_to_noop()
719 cur_td->last_trb, hw_deq); in cdnsp_remove_request()
941 while (ep_ring->dequeue != td->last_trb) in cdnsp_finish_td()
1030 &td->last_trb->generic); in cdnsp_process_ctrl_td()
1119 while (ep_ring->dequeue != td->last_trb) in cdnsp_skip_isoc_td()
1162 if (ep_trb == td->last_trb) in cdnsp_process_bulk_intr_td()
1335 ep_ring->dequeue, td->last_trb, in cdnsp_handle_tx_event()
1348 td->last_trb != ep_trb) in cdnsp_handle_tx_event()
[all …]
H A Dcdnsp-trace.h673 __field(union cdnsp_trb *, last_trb)
681 __entry->last_trb = preq->td.last_trb;
688 __entry->last_trb
H A Dcdnsp-gadget.h1197 union cdnsp_trb *last_trb; member
/openbmc/u-boot/drivers/usb/host/
H A Dxhci-ring.c35 static int last_trb(struct xhci_ctrl *ctrl, struct xhci_ring *ring, in last_trb() function
101 while (last_trb(ctrl, ring, ring->enq_seg, next)) { in inc_enq()
154 if (last_trb(ctrl, ring, ring->deq_seg, ring->dequeue)) { in inc_deq()
165 } while (last_trb(ctrl, ring, ring->deq_seg, ring->dequeue)); in inc_deq()
237 while (last_trb(ctrl, ep_ring, ep_ring->enq_seg, next)) { in prepare_ring()
/openbmc/linux/drivers/usb/host/
H A Dxhci-ring.c690 if (new_deq == td->last_trb) in xhci_move_dequeue_past_td()
771 if (flip_cycle && trb != td->first_trb && trb != td->last_trb) in td_to_noop()
774 if (trb == td->last_trb) in td_to_noop()
1030 trb_in_td(xhci, td->start_seg, td->first_trb, td->last_trb, hw_deq, false)) { in xhci_invalidate_cancelled_tds()
1108 td->last_trb, hw_deq, false)) in find_halted_td()
2295 ep_ring->dequeue = td->last_trb; in finish_td()
2463 if (ep_trb != td->last_trb) in process_isoc_td()
2473 if (ep_trb != td->last_trb) in process_isoc_td()
2507 if (td->error_mid_td && ep_trb != td->last_trb) { in process_isoc_td()
2534 ep->ring->dequeue = td->last_trb; in skip_isoc_td()
[all …]
H A Dxhci.h1319 union xhci_trb *last_trb; member
/openbmc/linux/drivers/usb/gadget/udc/
H A Dtegra-xudc.c390 struct tegra_xudc_trb *last_trb; member
1192 req->last_trb = trb; in tegra_xudc_queue_trbs()
1279 req->last_trb = NULL; in __tegra_xudc_ep_queue()
1369 req->last_trb = NULL; in squeeze_transfer_ring()
1384 req->first_trb, req->last_trb, trb); in trb_in_request()
1386 if (trb >= req->first_trb && (trb <= req->last_trb || in trb_in_request()
1387 req->last_trb < req->first_trb)) in trb_in_request()
1390 if (trb < req->first_trb && trb <= req->last_trb && in trb_in_request()
1391 req->last_trb < req->first_trb) in trb_in_request()
1408 __func__, req->first_trb, req->last_trb, enq_trb, trb); in trb_before_request()
[all …]