Lines Matching refs:_ep

418 static int pxa25x_ep_enable (struct usb_ep *_ep,  in pxa25x_ep_enable()  argument
424 ep = container_of (_ep, struct pxa25x_ep, ep); in pxa25x_ep_enable()
425 if (!_ep || !desc || _ep->name == ep0name in pxa25x_ep_enable()
437 DMSG("%s, %s type mismatch\n", __func__, _ep->name); in pxa25x_ep_enable()
446 DMSG("%s, bad %s maxpacket\n", __func__, _ep->name); in pxa25x_ep_enable()
462 pxa25x_ep_fifo_flush (_ep); in pxa25x_ep_enable()
466 DBG(DBG_VERBOSE, "enabled %s\n", _ep->name); in pxa25x_ep_enable()
470 static int pxa25x_ep_disable (struct usb_ep *_ep) in pxa25x_ep_disable() argument
475 ep = container_of (_ep, struct pxa25x_ep, ep); in pxa25x_ep_disable()
476 if (!_ep || !ep->ep.desc) { in pxa25x_ep_disable()
478 _ep ? ep->ep.name : NULL); in pxa25x_ep_disable()
486 pxa25x_ep_fifo_flush (_ep); in pxa25x_ep_disable()
492 DBG(DBG_VERBOSE, "%s disabled\n", _ep->name); in pxa25x_ep_disable()
507 pxa25x_ep_alloc_request (struct usb_ep *_ep, gfp_t gfp_flags) in pxa25x_ep_alloc_request() argument
524 pxa25x_ep_free_request (struct usb_ep *_ep, struct usb_request *_req) in pxa25x_ep_free_request() argument
836 pxa25x_ep_queue(struct usb_ep *_ep, struct usb_request *_req, gfp_t gfp_flags) in pxa25x_ep_queue() argument
850 ep = container_of(_ep, struct pxa25x_ep, ep); in pxa25x_ep_queue()
851 if (unlikely(!_ep || (!ep->ep.desc && ep->ep.name != ep0name))) { in pxa25x_ep_queue()
871 _ep->name, _req, _req->length, _req->buf); in pxa25x_ep_queue()
962 static int pxa25x_ep_dequeue(struct usb_ep *_ep, struct usb_request *_req) in pxa25x_ep_dequeue() argument
969 ep = container_of(_ep, struct pxa25x_ep, ep); in pxa25x_ep_dequeue()
970 if (!_ep || ep->ep.name == ep0name) in pxa25x_ep_dequeue()
995 static int pxa25x_ep_set_halt(struct usb_ep *_ep, int value) in pxa25x_ep_set_halt() argument
1000 ep = container_of(_ep, struct pxa25x_ep, ep); in pxa25x_ep_set_halt()
1001 if (unlikely (!_ep in pxa25x_ep_set_halt()
1013 DMSG("only host can clear %s halt\n", _ep->name); in pxa25x_ep_set_halt()
1046 DBG(DBG_VERBOSE, "%s halt\n", _ep->name); in pxa25x_ep_set_halt()
1050 static int pxa25x_ep_fifo_status(struct usb_ep *_ep) in pxa25x_ep_fifo_status() argument
1054 ep = container_of(_ep, struct pxa25x_ep, ep); in pxa25x_ep_fifo_status()
1055 if (!_ep) { in pxa25x_ep_fifo_status()
1069 static void pxa25x_ep_fifo_flush(struct usb_ep *_ep) in pxa25x_ep_fifo_flush() argument
1073 ep = container_of(_ep, struct pxa25x_ep, ep); in pxa25x_ep_fifo_flush()
1074 if (!_ep || ep->ep.name == ep0name || !list_empty(&ep->queue)) { in pxa25x_ep_fifo_flush()