Searched refs:u_ep (Results 1 – 5 of 5) sorted by relevance
/Linux-v5.10/drivers/usb/gadget/udc/aspeed-vhub/ |
D | epn.c | 333 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 …]
|
D | dev.c | 360 struct usb_ep *u_ep; in ast_vhub_udc_match_ep() local 371 list_for_each_entry(u_ep, &gadget->ep_list, ep_list) { in ast_vhub_udc_match_ep() 372 if (usb_gadget_ep_match_desc(gadget, u_ep, desc, ss)) { in ast_vhub_udc_match_ep() 374 to_ast_ep(u_ep)->d_idx); in ast_vhub_udc_match_ep() 375 return u_ep; in ast_vhub_udc_match_ep()
|
D | ep0.c | 358 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_ep *ep = to_ast_ep(u_ep); in ast_vhub_ep0_queue() 437 static int ast_vhub_ep0_dequeue(struct usb_ep* u_ep, struct usb_request *u_req) in ast_vhub_ep0_dequeue() argument 439 struct ast_vhub_ep *ep = to_ast_ep(u_ep); in ast_vhub_ep0_dequeue()
|
D | vhub.h | 518 struct usb_request *ast_vhub_alloc_request(struct usb_ep *u_ep, 520 void ast_vhub_free_request(struct usb_ep *u_ep, struct usb_request *u_req);
|
D | core.c | 80 struct usb_request *ast_vhub_alloc_request(struct usb_ep *u_ep, in ast_vhub_alloc_request() argument 91 void ast_vhub_free_request(struct usb_ep *u_ep, struct usb_request *u_req) in ast_vhub_free_request() argument
|