Lines Matching refs:_req
1166 s3c2410_udc_free_request(struct usb_ep *_ep, struct usb_request *_req) in s3c2410_udc_free_request() argument
1169 struct s3c2410_request *req = to_s3c2410_req(_req); in s3c2410_udc_free_request()
1171 dprintk(DEBUG_VERBOSE, "%s(%p,%p)\n", __func__, _ep, _req); in s3c2410_udc_free_request()
1173 if (!ep || !_req || (!ep->ep.desc && _ep->name != ep0name)) in s3c2410_udc_free_request()
1183 static int s3c2410_udc_queue(struct usb_ep *_ep, struct usb_request *_req, in s3c2410_udc_queue() argument
1186 struct s3c2410_request *req = to_s3c2410_req(_req); in s3c2410_udc_queue()
1206 if (unlikely(!_req || !_req->complete in s3c2410_udc_queue()
1207 || !_req->buf || !list_empty(&req->queue))) { in s3c2410_udc_queue()
1208 if (!_req) in s3c2410_udc_queue()
1212 __func__, !_req->complete, !_req->buf, in s3c2410_udc_queue()
1220 _req->status = -EINPROGRESS; in s3c2410_udc_queue()
1221 _req->actual = 0; in s3c2410_udc_queue()
1224 __func__, ep->bEndpointAddress, _req->length); in s3c2410_udc_queue()
1253 if ((!_req->length) in s3c2410_udc_queue()
1290 static int s3c2410_udc_dequeue(struct usb_ep *_ep, struct usb_request *_req) in s3c2410_udc_dequeue() argument
1298 dprintk(DEBUG_VERBOSE, "%s(%p,%p)\n", __func__, _ep, _req); in s3c2410_udc_dequeue()
1303 if (!_ep || !_req) in s3c2410_udc_dequeue()
1311 if (&req->req == _req) { in s3c2410_udc_dequeue()
1313 _req->status = -ECONNRESET; in s3c2410_udc_dequeue()
1322 req, _ep->name, _req->length, _req->buf); in s3c2410_udc_dequeue()