Lines Matching refs:_req
1188 s3c2410_udc_free_request(struct usb_ep *_ep, struct usb_request *_req) in s3c2410_udc_free_request() argument
1191 struct s3c2410_request *req = to_s3c2410_req(_req); in s3c2410_udc_free_request()
1193 dprintk(DEBUG_VERBOSE, "%s(%p,%p)\n", __func__, _ep, _req); in s3c2410_udc_free_request()
1195 if (!ep || !_req || (!ep->ep.desc && _ep->name != ep0name)) in s3c2410_udc_free_request()
1205 static int s3c2410_udc_queue(struct usb_ep *_ep, struct usb_request *_req, in s3c2410_udc_queue() argument
1208 struct s3c2410_request *req = to_s3c2410_req(_req); in s3c2410_udc_queue()
1228 if (unlikely(!_req || !_req->complete in s3c2410_udc_queue()
1229 || !_req->buf || !list_empty(&req->queue))) { in s3c2410_udc_queue()
1230 if (!_req) in s3c2410_udc_queue()
1234 __func__, !_req->complete, !_req->buf, in s3c2410_udc_queue()
1242 _req->status = -EINPROGRESS; in s3c2410_udc_queue()
1243 _req->actual = 0; in s3c2410_udc_queue()
1246 __func__, ep->bEndpointAddress, _req->length); in s3c2410_udc_queue()
1275 if ((!_req->length) in s3c2410_udc_queue()
1312 static int s3c2410_udc_dequeue(struct usb_ep *_ep, struct usb_request *_req) in s3c2410_udc_dequeue() argument
1320 dprintk(DEBUG_VERBOSE, "%s(%p,%p)\n", __func__, _ep, _req); in s3c2410_udc_dequeue()
1325 if (!_ep || !_req) in s3c2410_udc_dequeue()
1333 if (&req->req == _req) { in s3c2410_udc_dequeue()
1335 _req->status = -ECONNRESET; in s3c2410_udc_dequeue()
1344 req, _ep->name, _req->length, _req->buf); in s3c2410_udc_dequeue()