Lines Matching refs:tx_req
1134 if (ep->tx_req != NULL) { in txcomplete()
1135 struct qe_req *req = ep->tx_req; in txcomplete()
1160 if (((ep->tx_req->req.length - ep->sent) <= 0) && !zlp) { in txcomplete()
1161 done(ep, ep->tx_req, 0); in txcomplete()
1162 ep->tx_req = NULL; in txcomplete()
1169 if (ep->tx_req == NULL) { in txcomplete()
1171 ep->tx_req = list_entry(ep->queue.next, struct qe_req, in txcomplete()
1188 size = min_t(u32, (ep->tx_req->req.length - ep->sent), in qe_usb_senddata()
1190 buf = (u8 *)ep->tx_req->req.buf + ep->sent; in qe_usb_senddata()
1193 ep->tx_req->req.actual += size; in qe_usb_senddata()
1222 struct qe_req *req = ep->tx_req; in frame_create_tx()
1299 struct qe_req *tx_req = NULL; in ep0_txcomplete() local
1310 tx_req = ep->tx_req; in ep0_txcomplete()
1311 if (tx_req != NULL) { in ep0_txcomplete()
1321 if ((ep->tx_req->req.length - ep->sent) <= 0) { in ep0_txcomplete()
1322 ep->tx_req->req.actual = (unsigned int)ep->sent; in ep0_txcomplete()
1323 ep0_req_complete(ep->udc, ep->tx_req); in ep0_txcomplete()
1324 ep->tx_req = NULL; in ep0_txcomplete()
1453 if (ep->tx_req == NULL) { in ep_req_send()
1626 ep->tx_req = NULL; in qe_ep_disable()
1894 ep->tx_req = NULL; in udc_reset_ep_queue()
2427 ep->tx_req = NULL; in qe_ep_config()