Home
last modified time | relevance | path

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

/OK3568_Linux_fs/u-boot/drivers/usb/host/
H A Dxhci-ring.c36 static int last_trb(struct xhci_ctrl *ctrl, struct xhci_ring *ring, in last_trb() function
102 while (last_trb(ctrl, ring, ring->enq_seg, next)) { in inc_enq()
155 if (last_trb(ctrl, ring, ring->deq_seg, ring->dequeue)) { in inc_deq()
166 } while (last_trb(ctrl, ring, ring->deq_seg, ring->dequeue)); in inc_deq()
238 while (last_trb(ctrl, ep_ring, ep_ring->enq_seg, next)) { in prepare_ring()
/OK3568_Linux_fs/kernel/drivers/usb/host/
H A Dxhci-ring.c628 td->first_trb, td->last_trb, in xhci_move_dequeue_past_td()
654 if (new_deq == td->last_trb) in xhci_move_dequeue_past_td()
735 if (flip_cycle && trb != td->first_trb && trb != td->last_trb) in td_to_noop()
738 if (trb == td->last_trb) in td_to_noop()
995 trb_in_td(xhci, td->start_seg, td->first_trb, td->last_trb, hw_deq, false)) { in xhci_invalidate_cancelled_tds()
1055 td->last_trb, hw_deq, false)) in find_halted_td()
2272 ep_ring->dequeue = td->last_trb; in finish_td()
2444 if (ep_trb != td->last_trb) in process_isoc_td()
2494 ep->ring->dequeue = td->last_trb; in skip_isoc_td()
2523 if (ep_trb != td->last_trb || remaining) { in process_bulk_intr_td()
[all …]
H A Dxhci.h1565 union xhci_trb *last_trb; member
/OK3568_Linux_fs/kernel/drivers/usb/gadget/udc/
H A Dtegra-xudc.c391 struct tegra_xudc_trb *last_trb; member
1182 req->last_trb = trb; in tegra_xudc_queue_trbs()
1269 req->last_trb = NULL; in __tegra_xudc_ep_queue()
1359 req->last_trb = NULL; in squeeze_transfer_ring()
1374 req->first_trb, req->last_trb, trb); in trb_in_request()
1376 if (trb >= req->first_trb && (trb <= req->last_trb || in trb_in_request()
1377 req->last_trb < req->first_trb)) in trb_in_request()
1380 if (trb < req->first_trb && trb <= req->last_trb && in trb_in_request()
1381 req->last_trb < req->first_trb) in trb_in_request()
1398 __func__, req->first_trb, req->last_trb, enq_trb, trb); in trb_before_request()
[all …]