• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/usb/gadget/

Lines Matching defs:_ep

242 static int pxa25x_ep_enable (struct usb_ep *_ep,
248 ep = container_of (_ep, struct pxa25x_ep, ep);
249 if (!_ep || !desc || ep->desc || _ep->name == ep0name
262 DMSG("%s, %s type mismatch\n", __func__, _ep->name);
271 DMSG("%s, bad %s maxpacket\n", __func__, _ep->name);
287 pxa25x_ep_fifo_flush (_ep);
291 DBG(DBG_VERBOSE, "enabled %s\n", _ep->name);
295 static int pxa25x_ep_disable (struct usb_ep *_ep)
300 ep = container_of (_ep, struct pxa25x_ep, ep);
301 if (!_ep || !ep->desc) {
303 _ep ? ep->ep.name : NULL);
311 pxa25x_ep_fifo_flush (_ep);
317 DBG(DBG_VERBOSE, "%s disabled\n", _ep->name);
332 pxa25x_ep_alloc_request (struct usb_ep *_ep, gfp_t gfp_flags)
349 pxa25x_ep_free_request (struct usb_ep *_ep, struct usb_request *_req)
652 pxa25x_ep_queue(struct usb_ep *_ep, struct usb_request *_req, gfp_t gfp_flags)
666 ep = container_of(_ep, struct pxa25x_ep, ep);
667 if (unlikely (!_ep || (!ep->desc && ep->ep.name != ep0name))) {
688 _ep->name, _req, _req->length, _req->buf);
779 static int pxa25x_ep_dequeue(struct usb_ep *_ep, struct usb_request *_req)
785 ep = container_of(_ep, struct pxa25x_ep, ep);
786 if (!_ep || ep->ep.name == ep0name)
809 static int pxa25x_ep_set_halt(struct usb_ep *_ep, int value)
814 ep = container_of(_ep, struct pxa25x_ep, ep);
815 if (unlikely (!_ep
827 DMSG("only host can clear %s halt\n", _ep->name);
860 DBG(DBG_VERBOSE, "%s halt\n", _ep->name);
864 static int pxa25x_ep_fifo_status(struct usb_ep *_ep)
868 ep = container_of(_ep, struct pxa25x_ep, ep);
869 if (!_ep) {
883 static void pxa25x_ep_fifo_flush(struct usb_ep *_ep)
887 ep = container_of(_ep, struct pxa25x_ep, ep);
888 if (!_ep || ep->ep.name == ep0name || !list_empty(&ep->queue)) {