Lines Matching refs:u_ep

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
548 return ast_vhub_set_halt_and_wedge(u_ep, value != 0, false); in ast_vhub_epn_set_halt()
551 static int ast_vhub_epn_set_wedge(struct usb_ep *u_ep) in ast_vhub_epn_set_wedge() argument
553 return ast_vhub_set_halt_and_wedge(u_ep, true, true); in ast_vhub_epn_set_wedge()
556 static int ast_vhub_epn_disable(struct usb_ep* u_ep) in ast_vhub_epn_disable() argument
558 struct ast_vhub_ep *ep = to_ast_ep(u_ep); in ast_vhub_epn_disable()
593 static int ast_vhub_epn_enable(struct usb_ep* u_ep, in ast_vhub_epn_enable() argument
600 struct ast_vhub_ep *ep = to_ast_ep(u_ep); in ast_vhub_epn_enable()
608 if (!u_ep || !desc) in ast_vhub_epn_enable()
757 static void ast_vhub_epn_dispose(struct usb_ep *u_ep) in ast_vhub_epn_dispose() argument
759 struct ast_vhub_ep *ep = to_ast_ep(u_ep); in ast_vhub_epn_dispose()