Home
last modified time | relevance | path

Searched refs:u_ep (Results 1 – 5 of 5) sorted by relevance

/Linux-v4.19/drivers/usb/gadget/udc/aspeed-vhub/
Depn.c333 static int ast_vhub_epn_queue(struct usb_ep* u_ep, struct usb_request *u_req, in ast_vhub_epn_queue() argument
337 struct ast_vhub_ep *ep = to_ast_ep(u_ep); in ast_vhub_epn_queue()
354 if (!ep->epn.enabled || !u_ep->desc || !ep->dev || !ep->d_idx || in ast_vhub_epn_queue()
378 (ep->epn.is_in || !(u_req->length & (u_ep->maxpacket - 1))))) { in ast_vhub_epn_queue()
467 static int ast_vhub_epn_dequeue(struct usb_ep* u_ep, struct usb_request *u_req) in ast_vhub_epn_dequeue() argument
469 struct ast_vhub_ep *ep = to_ast_ep(u_ep); in ast_vhub_epn_dequeue()
514 static int ast_vhub_set_halt_and_wedge(struct usb_ep* u_ep, bool halt, in ast_vhub_set_halt_and_wedge() argument
517 struct ast_vhub_ep *ep = to_ast_ep(u_ep); in ast_vhub_set_halt_and_wedge()
523 if (!u_ep || !u_ep->desc) in ast_vhub_set_halt_and_wedge()
546 static int ast_vhub_epn_set_halt(struct usb_ep *u_ep, int value) in ast_vhub_epn_set_halt() argument
[all …]
Ddev.c340 struct usb_ep *u_ep; in ast_vhub_udc_match_ep() local
351 list_for_each_entry(u_ep, &gadget->ep_list, ep_list) { in ast_vhub_udc_match_ep()
352 if (usb_gadget_ep_match_desc(gadget, u_ep, desc, ss)) { in ast_vhub_udc_match_ep()
354 to_ast_ep(u_ep)->d_idx); in ast_vhub_udc_match_ep()
355 return u_ep; in ast_vhub_udc_match_ep()
Dep0.c346 static int ast_vhub_ep0_queue(struct usb_ep* u_ep, struct usb_request *u_req, in ast_vhub_ep0_queue() argument
350 struct ast_vhub_ep *ep = to_ast_ep(u_ep); in ast_vhub_ep0_queue()
421 static int ast_vhub_ep0_dequeue(struct usb_ep* u_ep, struct usb_request *u_req) in ast_vhub_ep0_dequeue() argument
423 struct ast_vhub_ep *ep = to_ast_ep(u_ep); in ast_vhub_ep0_dequeue()
Dvhub.h502 struct usb_request *ast_vhub_alloc_request(struct usb_ep *u_ep,
504 void ast_vhub_free_request(struct usb_ep *u_ep, struct usb_request *u_req);
Dcore.c78 struct usb_request *ast_vhub_alloc_request(struct usb_ep *u_ep, in ast_vhub_alloc_request() argument
89 void ast_vhub_free_request(struct usb_ep *u_ep, struct usb_request *u_req) in ast_vhub_free_request() argument