Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/usb/gadget/udc/aspeed-vhub/
Depn.c335 static int ast_vhub_epn_queue(struct usb_ep* u_ep, struct usb_request *u_req, in ast_vhub_epn_queue() argument
339 struct ast_vhub_ep *ep = to_ast_ep(u_ep); in ast_vhub_epn_queue()
356 if (!ep->epn.enabled || !u_ep->desc || !ep->dev || !ep->d_idx || in ast_vhub_epn_queue()
380 (ep->epn.is_in || !(u_req->length & (u_ep->maxpacket - 1))))) { in ast_vhub_epn_queue()
472 static int ast_vhub_epn_dequeue(struct usb_ep* u_ep, struct usb_request *u_req) in ast_vhub_epn_dequeue() argument
474 struct ast_vhub_ep *ep = to_ast_ep(u_ep); in ast_vhub_epn_dequeue()
521 static int ast_vhub_set_halt_and_wedge(struct usb_ep* u_ep, bool halt, in ast_vhub_set_halt_and_wedge() argument
524 struct ast_vhub_ep *ep = to_ast_ep(u_ep); in ast_vhub_set_halt_and_wedge()
530 if (!u_ep || !u_ep->desc) in ast_vhub_set_halt_and_wedge()
553 static int ast_vhub_epn_set_halt(struct usb_ep *u_ep, int value) in ast_vhub_epn_set_halt() argument
[all …]
Ddev.c365 struct usb_ep *u_ep; in ast_vhub_udc_match_ep() local
376 list_for_each_entry(u_ep, &gadget->ep_list, ep_list) { in ast_vhub_udc_match_ep()
377 if (usb_gadget_ep_match_desc(gadget, u_ep, desc, ss)) { in ast_vhub_udc_match_ep()
379 to_ast_ep(u_ep)->d_idx); in ast_vhub_udc_match_ep()
380 return u_ep; in ast_vhub_udc_match_ep()
Dep0.c359 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_ep *ep = to_ast_ep(u_ep); in ast_vhub_ep0_queue()
438 static int ast_vhub_ep0_dequeue(struct usb_ep* u_ep, struct usb_request *u_req) in ast_vhub_ep0_dequeue() argument
440 struct ast_vhub_ep *ep = to_ast_ep(u_ep); in ast_vhub_ep0_dequeue()
Dvhub.h519 struct usb_request *ast_vhub_alloc_request(struct usb_ep *u_ep,
521 void ast_vhub_free_request(struct usb_ep *u_ep, struct usb_request *u_req);
Dcore.c75 struct usb_request *ast_vhub_alloc_request(struct usb_ep *u_ep, in ast_vhub_alloc_request() argument
86 void ast_vhub_free_request(struct usb_ep *u_ep, struct usb_request *u_req) in ast_vhub_free_request() argument