Lines Matching defs:tx_req
1075 /* send data from a frame, no matter what tx_req */
1147 * handle the tx_req, not include ep0 */
1150 if (ep->tx_req != NULL) {
1160 if ((ep->tx_req->req.length - ep->sent) <= 0) {
1161 ep->tx_req->req.actual = (unsigned int)ep->sent;
1162 done(ep, ep->tx_req, 0);
1163 ep->tx_req = NULL;
1169 /* we should gain a new tx_req fot this endpoint */
1170 if (ep->tx_req == NULL) {
1172 ep->tx_req = list_entry(ep->queue.next, struct qe_req,
1182 /* give a frame and a tx_req, send some data */
1189 size = min_t(u32, (ep->tx_req->req.length - ep->sent),
1191 buf = (u8 *)ep->tx_req->req.buf + ep->sent;
1222 struct qe_req *req = ep->tx_req;
1299 struct qe_req *tx_req = NULL;
1310 tx_req = ep->tx_req;
1311 if (tx_req != NULL) {
1321 if ((ep->tx_req->req.length - ep->sent) <= 0) {
1322 ep->tx_req->req.actual = (unsigned int)ep->sent;
1323 ep0_req_complete(ep->udc, ep->tx_req);
1324 ep->tx_req = NULL;
1453 if (ep->tx_req == NULL) {
1456 txcomplete(ep, 0); /* can gain a new tx_req */
1626 ep->tx_req = NULL;
1932 ep->tx_req = NULL;
2493 ep->tx_req = NULL;