Lines Matching refs:usb_req
152 struct usb_request usb_req; member
187 #define to_max3420_req(r) container_of((r), struct max3420_req, usb_req)
673 if (req->usb_req.status == -EINPROGRESS) in max3420_req_done()
674 req->usb_req.status = status; in max3420_req_done()
676 status = req->usb_req.status; in max3420_req_done()
682 if (req->usb_req.complete) in max3420_req_done()
683 req->usb_req.complete(&ep->ep_usb, &req->usb_req); in max3420_req_done()
697 buf = req->usb_req.buf + req->usb_req.actual; in max3420_do_data()
700 length = req->usb_req.length - req->usb_req.actual; in max3420_do_data()
724 req->usb_req.actual += length; in max3420_do_data()
726 if (req->usb_req.actual == req->usb_req.length) in max3420_do_data()
1018 return &req->usb_req; in max3420_alloc_request()
1240 udc->ep0req.usb_req.buf = udc->ep0buf; in max3420_probe()