Lines Matching refs:u_req
360 static int ast_vhub_ep0_queue(struct usb_ep* u_ep, struct usb_request *u_req, in ast_vhub_ep0_queue() argument
363 struct ast_vhub_req *req = to_ast_req(u_req); in ast_vhub_ep0_queue()
370 if (!u_req || (!u_req->complete && !req->internal)) { in ast_vhub_ep0_queue()
371 dev_warn(dev, "Bogus EP0 request ! u_req=%p\n", u_req); in ast_vhub_ep0_queue()
372 if (u_req) { in ast_vhub_ep0_queue()
374 u_req->complete, req->internal); in ast_vhub_ep0_queue()
388 if (u_req->length && !u_req->buf && !req->internal) { in ast_vhub_ep0_queue()
395 u_req->length, u_req->zero, in ast_vhub_ep0_queue()
396 u_req->short_not_ok, ep->ep0.dir_in); in ast_vhub_ep0_queue()
399 u_req->status = -EINPROGRESS; in ast_vhub_ep0_queue()
400 u_req->actual = 0; in ast_vhub_ep0_queue()
423 } else if (u_req->length == 0) { in ast_vhub_ep0_queue()
439 static int ast_vhub_ep0_dequeue(struct usb_ep* u_ep, struct usb_request *u_req) in ast_vhub_ep0_dequeue() argument
453 if (req && u_req == &req->req) { in ast_vhub_ep0_dequeue()