• Home
  • Raw
  • Download

Lines Matching refs:_ep

294 static int pxa25x_ep_enable(struct usb_ep *_ep,  in pxa25x_ep_enable()  argument
300 ep = container_of(_ep, struct pxa25x_ep, ep); in pxa25x_ep_enable()
301 if (!_ep || !desc || ep->desc || _ep->name == ep0name in pxa25x_ep_enable()
314 printf("%s, %s type mismatch\n", __func__, _ep->name); in pxa25x_ep_enable()
323 printf("%s, bad %s maxpacket\n", __func__, _ep->name); in pxa25x_ep_enable()
339 pxa25x_ep_fifo_flush(_ep); in pxa25x_ep_enable()
343 debug("enabled %s\n", _ep->name); in pxa25x_ep_enable()
347 static int pxa25x_ep_disable(struct usb_ep *_ep) in pxa25x_ep_disable() argument
352 ep = container_of(_ep, struct pxa25x_ep, ep); in pxa25x_ep_disable()
353 if (!_ep || !ep->desc) { in pxa25x_ep_disable()
355 _ep ? ep->ep.name : NULL); in pxa25x_ep_disable()
363 pxa25x_ep_fifo_flush(_ep); in pxa25x_ep_disable()
369 debug("%s disabled\n", _ep->name); in pxa25x_ep_disable()
385 pxa25x_ep_alloc_request(struct usb_ep *_ep, gfp_t gfp_flags) in pxa25x_ep_alloc_request() argument
402 pxa25x_ep_free_request(struct usb_ep *_ep, struct usb_request *_req) in pxa25x_ep_free_request() argument
724 pxa25x_ep_queue(struct usb_ep *_ep, struct usb_request *_req, gfp_t gfp_flags) in pxa25x_ep_queue() argument
738 ep = container_of(_ep, struct pxa25x_ep, ep); in pxa25x_ep_queue()
739 if (unlikely(!_ep || (!ep->desc && ep->ep.name != ep0name))) { in pxa25x_ep_queue()
761 _ep->name, _req, _req->length, _req->buf); in pxa25x_ep_queue()
857 static int pxa25x_ep_dequeue(struct usb_ep *_ep, struct usb_request *_req) in pxa25x_ep_dequeue() argument
863 ep = container_of(_ep, struct pxa25x_ep, ep); in pxa25x_ep_dequeue()
864 if (!_ep || ep->ep.name == ep0name) in pxa25x_ep_dequeue()
887 static int pxa25x_ep_set_halt(struct usb_ep *_ep, int value) in pxa25x_ep_set_halt() argument
892 ep = container_of(_ep, struct pxa25x_ep, ep); in pxa25x_ep_set_halt()
893 if (unlikely(!_ep in pxa25x_ep_set_halt()
906 printf("only host can clear %s halt\n", _ep->name); in pxa25x_ep_set_halt()
939 debug("%s halt\n", _ep->name); in pxa25x_ep_set_halt()
943 static int pxa25x_ep_fifo_status(struct usb_ep *_ep) in pxa25x_ep_fifo_status() argument
947 ep = container_of(_ep, struct pxa25x_ep, ep); in pxa25x_ep_fifo_status()
948 if (!_ep) { in pxa25x_ep_fifo_status()
962 static void pxa25x_ep_fifo_flush(struct usb_ep *_ep) in pxa25x_ep_fifo_flush() argument
966 ep = container_of(_ep, struct pxa25x_ep, ep); in pxa25x_ep_fifo_flush()
967 if (!_ep || ep->ep.name == ep0name || !list_empty(&ep->queue)) { in pxa25x_ep_fifo_flush()