Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/usb/gadget/udc/aspeed-vhub/
Depn.c328 static int ast_vhub_epn_queue(struct usb_ep* u_ep, struct usb_request *u_req, in ast_vhub_epn_queue() argument
332 struct ast_vhub_ep *ep = to_ast_ep(u_ep); in ast_vhub_epn_queue()
349 if (!ep->epn.enabled || !u_ep->desc || !ep->dev || !ep->d_idx || in ast_vhub_epn_queue()
373 (ep->epn.is_in || !(u_req->length & (u_ep->maxpacket - 1))))) { in ast_vhub_epn_queue()
465 static int ast_vhub_epn_dequeue(struct usb_ep* u_ep, struct usb_request *u_req) in ast_vhub_epn_dequeue() argument
467 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.c366 struct usb_ep *u_ep; in ast_vhub_udc_match_ep() local
377 list_for_each_entry(u_ep, &gadget->ep_list, ep_list) { in ast_vhub_udc_match_ep()
378 if (usb_gadget_ep_match_desc(gadget, u_ep, desc, ss)) { in ast_vhub_udc_match_ep()
380 to_ast_ep(u_ep)->d_idx); in ast_vhub_udc_match_ep()
381 return u_ep; in ast_vhub_udc_match_ep()
Dep0.c360 static int ast_vhub_ep0_queue(struct usb_ep* u_ep, struct usb_request *u_req, in ast_vhub_ep0_queue() argument
364 struct ast_vhub_ep *ep = to_ast_ep(u_ep); in ast_vhub_ep0_queue()
439 static int ast_vhub_ep0_dequeue(struct usb_ep* u_ep, struct usb_request *u_req) in ast_vhub_ep0_dequeue() argument
441 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.c76 struct usb_request *ast_vhub_alloc_request(struct usb_ep *u_ep, in ast_vhub_alloc_request() argument
87 void ast_vhub_free_request(struct usb_ep *u_ep, struct usb_request *u_req) in ast_vhub_free_request() argument