Lines Matching refs:_ep
471 static int at91_ep_enable(struct usb_ep *_ep, in at91_ep_enable() argument
474 struct at91_ep *ep = container_of(_ep, struct at91_ep, ep); in at91_ep_enable()
480 if (!_ep || !ep in at91_ep_enable()
481 || !desc || _ep->name == ep0name in at91_ep_enable()
549 static int at91_ep_disable (struct usb_ep * _ep) in at91_ep_disable() argument
551 struct at91_ep *ep = container_of(_ep, struct at91_ep, ep); in at91_ep_disable()
583 at91_ep_alloc_request(struct usb_ep *_ep, gfp_t gfp_flags) in at91_ep_alloc_request() argument
595 static void at91_ep_free_request(struct usb_ep *_ep, struct usb_request *_req) in at91_ep_free_request() argument
604 static int at91_ep_queue(struct usb_ep *_ep, in at91_ep_queue() argument
614 ep = container_of(_ep, struct at91_ep, ep); in at91_ep_queue()
622 if (!_ep || (!ep->ep.desc && ep->ep.name != ep0name)) { in at91_ep_queue()
704 static int at91_ep_dequeue(struct usb_ep *_ep, struct usb_request *_req) in at91_ep_dequeue() argument
711 ep = container_of(_ep, struct at91_ep, ep); in at91_ep_dequeue()
712 if (!_ep || ep->ep.name == ep0name) in at91_ep_dequeue()
736 static int at91_ep_set_halt(struct usb_ep *_ep, int value) in at91_ep_set_halt() argument
738 struct at91_ep *ep = container_of(_ep, struct at91_ep, ep); in at91_ep_set_halt()
745 if (!_ep || ep->is_iso || !ep->udc->clocked) in at91_ep_set_halt()