Home
last modified time | relevance | path

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

/linux/drivers/usb/gadget/udc/aspeed-vhub/
H A Dep0.c359 static int ast_vhub_ep0_queue(struct usb_ep* u_ep, struct usb_request *u_req, in ast_vhub_ep0_queue() argument
362 struct ast_vhub_req *req = to_ast_req(u_req); in ast_vhub_ep0_queue()
369 if (!u_req || (!u_req->complete && !req->internal)) { in ast_vhub_ep0_queue()
370 dev_warn(dev, "Bogus EP0 request ! u_req=%p\n", u_req); in ast_vhub_ep0_queue()
371 if (u_req) { in ast_vhub_ep0_queue()
373 u_req->complete, req->internal); in ast_vhub_ep0_queue()
387 if (u_req->length && !u_req->buf && !req->internal) { in ast_vhub_ep0_queue()
394 u_req->length, u_req->zero, in ast_vhub_ep0_queue()
395 u_req->short_not_ok, ep->ep0.dir_in); in ast_vhub_ep0_queue()
398 u_req->status = -EINPROGRESS; in ast_vhub_ep0_queue()
[all …]
H A Depn.c335 static int ast_vhub_epn_queue(struct usb_ep* u_ep, struct usb_request *u_req, in ast_vhub_epn_queue() argument
338 struct ast_vhub_req *req = to_ast_req(u_req); in ast_vhub_epn_queue()
346 if (!u_req || !u_req->complete || !u_req->buf) { in ast_vhub_epn_queue()
347 dev_warn(&vhub->pdev->dev, "Bogus EPn request ! u_req=%p\n", u_req); in ast_vhub_epn_queue()
348 if (u_req) { in ast_vhub_epn_queue()
350 u_req->complete, req->internal); in ast_vhub_epn_queue()
379 ((((unsigned long)u_req->buf & 7) == 0) && in ast_vhub_epn_queue()
380 (ep->epn.is_in || !(u_req->length & (u_ep->maxpacket - 1))))) { in ast_vhub_epn_queue()
381 rc = usb_gadget_map_request_by_dev(&vhub->pdev->dev, u_req, in ast_vhub_epn_queue()
389 u_req->dma = 0; in ast_vhub_epn_queue()
[all …]
H A Dcore.c86 void ast_vhub_free_request(struct usb_ep *u_ep, struct usb_request *u_req) in ast_vhub_free_request() argument
88 struct ast_vhub_req *req = to_ast_req(u_req); in ast_vhub_free_request()
H A Dvhub.h521 void ast_vhub_free_request(struct usb_ep *u_ep, struct usb_request *u_req);