Lines Matching refs:_ep
468 static int at91_ep_enable(struct usb_ep *_ep, in at91_ep_enable() argument
471 struct at91_ep *ep = container_of(_ep, struct at91_ep, ep); in at91_ep_enable()
477 if (!_ep || !ep in at91_ep_enable()
478 || !desc || _ep->name == ep0name in at91_ep_enable()
546 static int at91_ep_disable (struct usb_ep * _ep) in at91_ep_disable() argument
548 struct at91_ep *ep = container_of(_ep, struct at91_ep, ep); in at91_ep_disable()
580 at91_ep_alloc_request(struct usb_ep *_ep, gfp_t gfp_flags) in at91_ep_alloc_request() argument
592 static void at91_ep_free_request(struct usb_ep *_ep, struct usb_request *_req) in at91_ep_free_request() argument
601 static int at91_ep_queue(struct usb_ep *_ep, in at91_ep_queue() argument
611 ep = container_of(_ep, struct at91_ep, ep); in at91_ep_queue()
619 if (!_ep || (!ep->ep.desc && ep->ep.name != ep0name)) { in at91_ep_queue()
701 static int at91_ep_dequeue(struct usb_ep *_ep, struct usb_request *_req) in at91_ep_dequeue() argument
708 ep = container_of(_ep, struct at91_ep, ep); in at91_ep_dequeue()
709 if (!_ep || ep->ep.name == ep0name) in at91_ep_dequeue()
731 static int at91_ep_set_halt(struct usb_ep *_ep, int value) in at91_ep_set_halt() argument
733 struct at91_ep *ep = container_of(_ep, struct at91_ep, ep); in at91_ep_set_halt()
740 if (!_ep || ep->is_iso || !ep->udc->clocked) in at91_ep_set_halt()