Lines Matching refs:usb_req
115 struct usb_request usb_req; member
144 #define to_max3420_req(r) container_of((r), struct max3420_req, usb_req)
267 if (req->usb_req.status == -EINPROGRESS) in max3420_req_done()
268 req->usb_req.status = status; in max3420_req_done()
270 status = req->usb_req.status; in max3420_req_done()
276 if (req->usb_req.complete) in max3420_req_done()
277 req->usb_req.complete(&ep->ep_usb, &req->usb_req); in max3420_req_done()
313 return &req->usb_req; in max3420_ep_alloc_request()
624 buf = req->usb_req.buf + req->usb_req.actual; in do_data()
627 length = req->usb_req.length - req->usb_req.actual; in do_data()
649 req->usb_req.actual += length; in do_data()
651 if (req->usb_req.actual == req->usb_req.length) in do_data()