Lines Matching refs:first_trb
389 struct tegra_xudc_trb *first_trb; member
1181 if (!req->first_trb) in tegra_xudc_queue_trbs()
1182 req->first_trb = &ep->transfer_ring[ep->enq_ptr]; in tegra_xudc_queue_trbs()
1278 req->first_trb = NULL; in __tegra_xudc_ep_queue()
1338 struct tegra_xudc_trb *trb = req->first_trb; in squeeze_transfer_ring()
1357 ep->enq_ptr = req->first_trb - ep->transfer_ring; in squeeze_transfer_ring()
1368 req->first_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()
1410 if (trb < req->first_trb && (enq_trb <= trb || in trb_before_request()
1411 req->first_trb < enq_trb)) in trb_before_request()
1414 if (trb > req->first_trb && req->first_trb < enq_trb && enq_trb <= trb) in trb_before_request()