Lines Matching refs:u_ep

335 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
555 return ast_vhub_set_halt_and_wedge(u_ep, value != 0, false); in ast_vhub_epn_set_halt()
558 static int ast_vhub_epn_set_wedge(struct usb_ep *u_ep) in ast_vhub_epn_set_wedge() argument
560 return ast_vhub_set_halt_and_wedge(u_ep, true, true); in ast_vhub_epn_set_wedge()
563 static int ast_vhub_epn_disable(struct usb_ep* u_ep) in ast_vhub_epn_disable() argument
565 struct ast_vhub_ep *ep = to_ast_ep(u_ep); in ast_vhub_epn_disable()
600 static int ast_vhub_epn_enable(struct usb_ep* u_ep, in ast_vhub_epn_enable() argument
603 struct ast_vhub_ep *ep = to_ast_ep(u_ep); in ast_vhub_epn_enable()
611 if (!u_ep || !desc) in ast_vhub_epn_enable()
760 static void ast_vhub_epn_dispose(struct usb_ep *u_ep) in ast_vhub_epn_dispose() argument
762 struct ast_vhub_ep *ep = to_ast_ep(u_ep); in ast_vhub_epn_dispose()