Lines Matching refs:_ep

116 static int dwc2_udc_set_halt(struct usb_ep *_ep, int value);
616 static int dwc2_ep_enable(struct usb_ep *_ep, in dwc2_ep_enable() argument
623 debug("%s: %p\n", __func__, _ep); in dwc2_ep_enable()
625 ep = container_of(_ep, struct dwc2_ep, ep); in dwc2_ep_enable()
626 if (!_ep || !desc || ep->desc || _ep->name == ep0name in dwc2_ep_enable()
641 debug("%s: %s type mismatch\n", __func__, _ep->name); in dwc2_ep_enable()
650 debug("%s: bad %s maxpacket\n", __func__, _ep->name); in dwc2_ep_enable()
668 dwc2_udc_set_halt(_ep, 0); in dwc2_ep_enable()
675 __func__, _ep->name, ep->stopped, ep->ep.maxpacket); in dwc2_ep_enable()
682 static int dwc2_ep_disable(struct usb_ep *_ep) in dwc2_ep_disable() argument
687 debug("%s: %p\n", __func__, _ep); in dwc2_ep_disable()
689 ep = container_of(_ep, struct dwc2_ep, ep); in dwc2_ep_disable()
690 if (!_ep || !ep->desc) { in dwc2_ep_disable()
692 _ep ? ep->ep.name : NULL); in dwc2_ep_disable()
706 debug("%s: disabled %s\n", __func__, _ep->name); in dwc2_ep_disable()
739 static int dwc2_dequeue(struct usb_ep *_ep, struct usb_request *_req) in dwc2_dequeue() argument
745 debug("%s: %p\n", __func__, _ep); in dwc2_dequeue()
747 ep = container_of(_ep, struct dwc2_ep, ep); in dwc2_dequeue()
748 if (!_ep || ep->ep.name == ep0name) in dwc2_dequeue()
772 static int dwc2_fifo_status(struct usb_ep *_ep) in dwc2_fifo_status() argument
777 ep = container_of(_ep, struct dwc2_ep, ep); in dwc2_fifo_status()
778 if (!_ep) { in dwc2_fifo_status()
795 static void dwc2_fifo_flush(struct usb_ep *_ep) in dwc2_fifo_flush() argument
799 ep = container_of(_ep, struct dwc2_ep, ep); in dwc2_fifo_flush()
800 if (unlikely(!_ep || (!ep->desc && ep->ep.name != ep0name))) { in dwc2_fifo_flush()