Lines Matching refs:_ep

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