Lines Matching refs:u_ep

328 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
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
596 struct ast_vhub_ep *ep = to_ast_ep(u_ep); in ast_vhub_epn_enable()
604 if (!u_ep || !desc) in ast_vhub_epn_enable()
753 static void ast_vhub_epn_dispose(struct usb_ep *u_ep) in ast_vhub_epn_dispose() argument
755 struct ast_vhub_ep *ep = to_ast_ep(u_ep); in ast_vhub_epn_dispose()