Lines Matching refs:_req
282 goku_free_request(struct usb_ep *_ep, struct usb_request *_req) in goku_free_request() argument
286 if (!_ep || !_req) in goku_free_request()
289 req = container_of(_req, struct goku_request, req); in goku_free_request()
708 goku_queue(struct usb_ep *_ep, struct usb_request *_req, gfp_t gfp_flags) in goku_queue() argument
717 req = container_of(_req, struct goku_request, req); in goku_queue()
718 if (unlikely(!_req || !_req->complete in goku_queue()
719 || !_req->buf || !list_empty(&req->queue))) in goku_queue()
742 _ep->name, _req, _req->length, _req->buf); in goku_queue()
747 _req->status = -EINPROGRESS; in goku_queue()
748 _req->actual = 0; in goku_queue()
754 _req->zero = 1; in goku_queue()
807 static int goku_dequeue(struct usb_ep *_ep, struct usb_request *_req) in goku_dequeue() argument
815 if (!_ep || !_req || (!ep->ep.desc && ep->num != 0)) in goku_dequeue()
828 _req); in goku_dequeue()
834 if (&req->req == _req) in goku_dequeue()
837 if (&req->req != _req) { in goku_dequeue()