• 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 refs:_ep

295 static int langwell_ep_enable(struct usb_ep *_ep,
305 ep = container_of(_ep, struct langwell_ep, ep);
309 if (!_ep || !desc || ep->desc
402 _ep->name,
475 static void langwell_ep_fifo_flush(struct usb_ep *_ep);
499 static int langwell_ep_disable(struct usb_ep *_ep)
507 ep = container_of(_ep, struct langwell_ep, ep);
511 if (!_ep || !ep->desc)
533 DBG(dev, "disabled %s\n", _ep->name);
541 static struct usb_request *langwell_alloc_request(struct usb_ep *_ep,
548 if (!_ep)
551 ep = container_of(_ep, struct langwell_ep, ep);
562 VDBG(dev, "alloc request for %s\n", _ep->name);
569 static void langwell_free_request(struct usb_ep *_ep,
576 ep = container_of(_ep, struct langwell_ep, ep);
580 if (!_ep || !_req)
589 VDBG(dev, "free request for %s\n", _ep->name);
778 static int langwell_ep_queue(struct usb_ep *_ep, struct usb_request *_req,
789 ep = container_of(_ep, struct langwell_ep, ep);
796 if (unlikely(!_ep || !ep->desc))
840 _ep->name,
874 static int langwell_ep_dequeue(struct usb_ep *_ep, struct usb_request *_req)
883 ep = container_of(_ep, struct langwell_ep, ep);
887 if (!_ep || !ep->desc || !_req)
921 DBG(dev, "unlink (%s) dma\n", _ep->name);
1003 static int langwell_ep_set_halt(struct usb_ep *_ep, int value)
1010 ep = container_of(_ep, struct langwell_ep, ep);
1015 if (!_ep || !ep->desc)
1033 DBG(dev, "%s FIFO holds bytes\n", _ep->name);
1047 DBG(dev, "%s %s halt\n", _ep->name, value ? "set" : "clear");
1054 static int langwell_ep_set_wedge(struct usb_ep *_ep)
1059 ep = container_of(_ep, struct langwell_ep, ep);
1064 if (!_ep || !ep->desc)
1068 return usb_ep_set_halt(_ep);
1073 static void langwell_ep_fifo_flush(struct usb_ep *_ep)
1080 ep = container_of(_ep, struct langwell_ep, ep);
1085 if (!_ep || !ep->desc) {
1091 VDBG(dev, "%s-%s fifo flush\n", _ep->name, is_in(ep) ? "in" : "out");