Lines Matching refs:_req
1187 s3c2410_udc_free_request(struct usb_ep *_ep, struct usb_request *_req) in s3c2410_udc_free_request() argument
1190 struct s3c2410_request *req = to_s3c2410_req(_req); in s3c2410_udc_free_request()
1192 dprintk(DEBUG_VERBOSE, "%s(%p,%p)\n", __func__, _ep, _req); in s3c2410_udc_free_request()
1194 if (!ep || !_req || (!ep->ep.desc && _ep->name != ep0name)) in s3c2410_udc_free_request()
1204 static int s3c2410_udc_queue(struct usb_ep *_ep, struct usb_request *_req, in s3c2410_udc_queue() argument
1207 struct s3c2410_request *req = to_s3c2410_req(_req); in s3c2410_udc_queue()
1227 if (unlikely(!_req || !_req->complete in s3c2410_udc_queue()
1228 || !_req->buf || !list_empty(&req->queue))) { in s3c2410_udc_queue()
1229 if (!_req) in s3c2410_udc_queue()
1233 __func__, !_req->complete, !_req->buf, in s3c2410_udc_queue()
1241 _req->status = -EINPROGRESS; in s3c2410_udc_queue()
1242 _req->actual = 0; in s3c2410_udc_queue()
1245 __func__, ep->bEndpointAddress, _req->length); in s3c2410_udc_queue()
1274 if ((!_req->length) in s3c2410_udc_queue()
1311 static int s3c2410_udc_dequeue(struct usb_ep *_ep, struct usb_request *_req) in s3c2410_udc_dequeue() argument
1319 dprintk(DEBUG_VERBOSE, "%s(%p,%p)\n", __func__, _ep, _req); in s3c2410_udc_dequeue()
1324 if (!_ep || !_req) in s3c2410_udc_dequeue()
1332 if (&req->req == _req) { in s3c2410_udc_dequeue()
1334 _req->status = -ECONNRESET; in s3c2410_udc_dequeue()
1343 req, _ep->name, _req->length, _req->buf); in s3c2410_udc_dequeue()