Home
last modified time | relevance | path

Searched refs:u_req (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.10/drivers/usb/gadget/udc/aspeed-vhub/
Dep0.c358 static int ast_vhub_ep0_queue(struct usb_ep* u_ep, struct usb_request *u_req, in ast_vhub_ep0_queue() argument
361 struct ast_vhub_req *req = to_ast_req(u_req); in ast_vhub_ep0_queue()
368 if (!u_req || (!u_req->complete && !req->internal)) { in ast_vhub_ep0_queue()
369 dev_warn(dev, "Bogus EP0 request ! u_req=%p\n", u_req); in ast_vhub_ep0_queue()
370 if (u_req) { in ast_vhub_ep0_queue()
372 u_req->complete, req->internal); in ast_vhub_ep0_queue()
386 if (u_req->length && !u_req->buf && !req->internal) { in ast_vhub_ep0_queue()
393 u_req->length, u_req->zero, in ast_vhub_ep0_queue()
394 u_req->short_not_ok, ep->ep0.dir_in); in ast_vhub_ep0_queue()
397 u_req->status = -EINPROGRESS; in ast_vhub_ep0_queue()
[all …]
Depn.c333 static int ast_vhub_epn_queue(struct usb_ep* u_ep, struct usb_request *u_req, in ast_vhub_epn_queue() argument
336 struct ast_vhub_req *req = to_ast_req(u_req); in ast_vhub_epn_queue()
344 if (!u_req || !u_req->complete || !u_req->buf) { in ast_vhub_epn_queue()
345 dev_warn(&vhub->pdev->dev, "Bogus EPn request ! u_req=%p\n", u_req); in ast_vhub_epn_queue()
346 if (u_req) { in ast_vhub_epn_queue()
348 u_req->complete, req->internal); in ast_vhub_epn_queue()
377 ((((unsigned long)u_req->buf & 7) == 0) && in ast_vhub_epn_queue()
378 (ep->epn.is_in || !(u_req->length & (u_ep->maxpacket - 1))))) { in ast_vhub_epn_queue()
379 rc = usb_gadget_map_request(&ep->dev->gadget, u_req, in ast_vhub_epn_queue()
387 u_req->dma = 0; in ast_vhub_epn_queue()
[all …]
Dcore.c91 void ast_vhub_free_request(struct usb_ep *u_ep, struct usb_request *u_req) in ast_vhub_free_request() argument
93 struct ast_vhub_req *req = to_ast_req(u_req); in ast_vhub_free_request()
Dvhub.h520 void ast_vhub_free_request(struct usb_ep *u_ep, struct usb_request *u_req);