Lines Matching refs:_req
349 net2272_free_request(struct usb_ep *_ep, struct usb_request *_req) in net2272_free_request() argument
355 if (!_ep || !_req) in net2272_free_request()
358 req = container_of(_req, struct net2272_request, req); in net2272_free_request()
826 net2272_queue(struct usb_ep *_ep, struct usb_request *_req, gfp_t gfp_flags) in net2272_queue() argument
835 req = container_of(_req, struct net2272_request, req); in net2272_queue()
836 if (!_req || !_req->complete || !_req->buf in net2272_queue()
848 status = usb_gadget_map_request(&dev->gadget, _req, in net2272_queue()
855 _ep->name, _req, _req->length, _req->buf, in net2272_queue()
856 (unsigned long long) _req->dma, _req->zero ? "zero" : "!zero"); in net2272_queue()
860 _req->status = -EINPROGRESS; in net2272_queue()
861 _req->actual = 0; in net2272_queue()
866 if (ep->num == 0 && _req->length == 0) { in net2272_queue()
944 net2272_dequeue(struct usb_ep *_ep, struct usb_request *_req) in net2272_dequeue() argument
952 if (!_ep || (!ep->desc && ep->num != 0) || !_req) in net2272_dequeue()
961 if (&req->req == _req) in net2272_dequeue()
964 if (&req->req != _req) { in net2272_dequeue()