Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/usb/gadget/udc/aspeed-vhub/
Dep0.c360 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()
[all …]
Depn.c328 static int ast_vhub_epn_queue(struct usb_ep* u_ep, struct usb_request *u_req, in ast_vhub_epn_queue() argument
331 struct ast_vhub_req *req = to_ast_req(u_req); in ast_vhub_epn_queue()
339 if (!u_req || !u_req->complete || !u_req->buf) { in ast_vhub_epn_queue()
340 dev_warn(&vhub->pdev->dev, "Bogus EPn request ! u_req=%p\n", u_req); in ast_vhub_epn_queue()
341 if (u_req) { in ast_vhub_epn_queue()
343 u_req->complete, req->internal); in ast_vhub_epn_queue()
372 ((((unsigned long)u_req->buf & 7) == 0) && in ast_vhub_epn_queue()
373 (ep->epn.is_in || !(u_req->length & (u_ep->maxpacket - 1))))) { in ast_vhub_epn_queue()
374 rc = usb_gadget_map_request_by_dev(&vhub->pdev->dev, u_req, in ast_vhub_epn_queue()
382 u_req->dma = 0; in ast_vhub_epn_queue()
[all …]
Dcore.c87 void ast_vhub_free_request(struct usb_ep *u_ep, struct usb_request *u_req) in ast_vhub_free_request() argument
89 struct ast_vhub_req *req = to_ast_req(u_req); in ast_vhub_free_request()
Dvhub.h521 void ast_vhub_free_request(struct usb_ep *u_ep, struct usb_request *u_req);