Lines Matching refs:_ep

212 static int pxa25x_ep_enable (struct usb_ep *_ep,  in pxa25x_ep_enable()  argument
218 ep = container_of (_ep, struct pxa25x_ep, ep); in pxa25x_ep_enable()
219 if (!_ep || !desc || _ep->name == ep0name in pxa25x_ep_enable()
231 DMSG("%s, %s type mismatch\n", __func__, _ep->name); in pxa25x_ep_enable()
240 DMSG("%s, bad %s maxpacket\n", __func__, _ep->name); in pxa25x_ep_enable()
256 pxa25x_ep_fifo_flush (_ep); in pxa25x_ep_enable()
260 DBG(DBG_VERBOSE, "enabled %s\n", _ep->name); in pxa25x_ep_enable()
264 static int pxa25x_ep_disable (struct usb_ep *_ep) in pxa25x_ep_disable() argument
269 ep = container_of (_ep, struct pxa25x_ep, ep); in pxa25x_ep_disable()
270 if (!_ep || !ep->ep.desc) { in pxa25x_ep_disable()
272 _ep ? ep->ep.name : NULL); in pxa25x_ep_disable()
280 pxa25x_ep_fifo_flush (_ep); in pxa25x_ep_disable()
286 DBG(DBG_VERBOSE, "%s disabled\n", _ep->name); in pxa25x_ep_disable()
301 pxa25x_ep_alloc_request (struct usb_ep *_ep, gfp_t gfp_flags) in pxa25x_ep_alloc_request() argument
318 pxa25x_ep_free_request (struct usb_ep *_ep, struct usb_request *_req) in pxa25x_ep_free_request() argument
629 pxa25x_ep_queue(struct usb_ep *_ep, struct usb_request *_req, gfp_t gfp_flags) in pxa25x_ep_queue() argument
643 ep = container_of(_ep, struct pxa25x_ep, ep); in pxa25x_ep_queue()
644 if (unlikely(!_ep || (!ep->ep.desc && ep->ep.name != ep0name))) { in pxa25x_ep_queue()
664 _ep->name, _req, _req->length, _req->buf); in pxa25x_ep_queue()
755 static int pxa25x_ep_dequeue(struct usb_ep *_ep, struct usb_request *_req) in pxa25x_ep_dequeue() argument
761 ep = container_of(_ep, struct pxa25x_ep, ep); in pxa25x_ep_dequeue()
762 if (!_ep || ep->ep.name == ep0name) in pxa25x_ep_dequeue()
785 static int pxa25x_ep_set_halt(struct usb_ep *_ep, int value) in pxa25x_ep_set_halt() argument
790 ep = container_of(_ep, struct pxa25x_ep, ep); in pxa25x_ep_set_halt()
791 if (unlikely (!_ep in pxa25x_ep_set_halt()
803 DMSG("only host can clear %s halt\n", _ep->name); in pxa25x_ep_set_halt()
836 DBG(DBG_VERBOSE, "%s halt\n", _ep->name); in pxa25x_ep_set_halt()
840 static int pxa25x_ep_fifo_status(struct usb_ep *_ep) in pxa25x_ep_fifo_status() argument
844 ep = container_of(_ep, struct pxa25x_ep, ep); in pxa25x_ep_fifo_status()
845 if (!_ep) { in pxa25x_ep_fifo_status()
859 static void pxa25x_ep_fifo_flush(struct usb_ep *_ep) in pxa25x_ep_fifo_flush() argument
863 ep = container_of(_ep, struct pxa25x_ep, ep); in pxa25x_ep_fifo_flush()
864 if (!_ep || ep->ep.name == ep0name || !list_empty(&ep->queue)) { in pxa25x_ep_fifo_flush()