Lines Matching defs:_ep

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