Home
last modified time | relevance | path

Searched refs:u_ep (Results 1 - 10 of 10) sorted by relevance

/kernel/linux/linux-5.10/drivers/usb/gadget/udc/aspeed-vhub/
H A 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()
470 static int ast_vhub_epn_dequeue(struct usb_ep* u_ep, struct usb_request *u_req) in ast_vhub_epn_dequeue() argument
472 struct ast_vhub_ep *ep = to_ast_ep(u_ep); in ast_vhub_epn_dequeue()
517 static int ast_vhub_set_halt_and_wedge(struct usb_ep* u_ep, bool halt, in ast_vhub_set_halt_and_wedge() argument
520 struct ast_vhub_ep *ep = to_ast_ep(u_ep); in ast_vhub_set_halt_and_wedge()
526 if (!u_ep || !u_ep in ast_vhub_set_halt_and_wedge()
549 ast_vhub_epn_set_halt(struct usb_ep *u_ep, int value) ast_vhub_epn_set_halt() argument
554 ast_vhub_epn_set_wedge(struct usb_ep *u_ep) ast_vhub_epn_set_wedge() argument
559 ast_vhub_epn_disable(struct usb_ep* u_ep) ast_vhub_epn_disable() argument
596 ast_vhub_epn_enable(struct usb_ep* u_ep, const struct usb_endpoint_descriptor *desc) ast_vhub_epn_enable() argument
756 ast_vhub_epn_dispose(struct usb_ep *u_ep) ast_vhub_epn_dispose() argument
[all...]
H A Ddev.c360 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()
H A Dep0.c358 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()
H A Dvhub.h518 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);
H A Dcore.c81 struct usb_request *ast_vhub_alloc_request(struct usb_ep *u_ep, in ast_vhub_alloc_request() argument
92 void ast_vhub_free_request(struct usb_ep *u_ep, struct usb_request *u_req) in ast_vhub_free_request() argument
/kernel/linux/linux-6.6/drivers/usb/gadget/udc/aspeed-vhub/
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
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 in ast_vhub_set_halt_and_wedge()
553 ast_vhub_epn_set_halt(struct usb_ep *u_ep, int value) ast_vhub_epn_set_halt() argument
558 ast_vhub_epn_set_wedge(struct usb_ep *u_ep) ast_vhub_epn_set_wedge() argument
563 ast_vhub_epn_disable(struct usb_ep* u_ep) ast_vhub_epn_disable() argument
600 ast_vhub_epn_enable(struct usb_ep* u_ep, const struct usb_endpoint_descriptor *desc) ast_vhub_epn_enable() argument
760 ast_vhub_epn_dispose(struct usb_ep *u_ep) ast_vhub_epn_dispose() argument
[all...]
H A 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()
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
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()
H A 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);
H A 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

Completed in 9 milliseconds