Lines Matching refs:_req
1186 s3c2410_udc_free_request(struct usb_ep *_ep, struct usb_request *_req)
1189 struct s3c2410_request *req = to_s3c2410_req(_req);
1191 dprintk(DEBUG_VERBOSE, "%s(%p,%p)\n", __func__, _ep, _req);
1193 if (!ep || !_req || (!ep->desc && _ep->name != ep0name))
1203 static int s3c2410_udc_queue(struct usb_ep *_ep, struct usb_request *_req,
1206 struct s3c2410_request *req = to_s3c2410_req(_req);
1226 if (unlikely(!_req || !_req->complete
1227 || !_req->buf || !list_empty(&req->queue))) {
1228 if (!_req)
1232 __func__, !_req->complete,!_req->buf,
1240 _req->status = -EINPROGRESS;
1241 _req->actual = 0;
1244 __func__, ep->bEndpointAddress, _req->length);
1273 if ((!_req->length)
1310 static int s3c2410_udc_dequeue(struct usb_ep *_ep, struct usb_request *_req)
1318 dprintk(DEBUG_VERBOSE, "%s(%p,%p)\n", __func__, _ep, _req);
1323 if (!_ep || !_req)
1331 if (&req->req == _req) {
1333 _req->status = -ECONNRESET;
1342 req, _ep->name, _req->length, _req->buf);