• 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:usb_ep

667 static int imx_ep_enable(struct usb_ep *usb_ep,
670 struct imx_ep_struct *imx_ep = container_of(usb_ep,
675 if (!usb_ep
687 "<%s> %s type mismatch\n", __func__, usb_ep->name);
693 "<%s> bad %s maxpacket\n", __func__, usb_ep->name);
710 D_EPX(imx_usb->dev, "<%s> ENABLED %s\n", __func__, usb_ep->name);
714 static int imx_ep_disable(struct usb_ep *usb_ep)
716 struct imx_ep_struct *imx_ep = container_of(usb_ep,
720 if (!usb_ep || !EP_NO(imx_ep) || !list_empty(&imx_ep->queue)) {
722 __func__, usb_ep ? imx_ep->ep.name : NULL);
736 "<%s> DISABLED %s\n", __func__, usb_ep->name);
741 (struct usb_ep *usb_ep, gfp_t gfp_flags)
745 if (!usb_ep)
759 (struct usb_ep *usb_ep, struct usb_request *usb_req)
769 (struct usb_ep *usb_ep, struct usb_request *usb_req, gfp_t gfp_flags)
777 imx_ep = container_of(usb_ep, struct imx_ep_struct, ep);
799 if (unlikely(!usb_ep || !imx_ep)) {
846 static int imx_ep_dequeue(struct usb_ep *usb_ep, struct usb_request *usb_req)
850 (usb_ep, struct imx_ep_struct, ep);
854 if (unlikely(!usb_ep || !EP_NO(imx_ep))) {
877 static int imx_ep_set_halt(struct usb_ep *usb_ep, int value)
880 (usb_ep, struct imx_ep_struct, ep);
883 if (unlikely(!usb_ep || !EP_NO(imx_ep))) {
900 D_EPX(imx_ep->imx_usb->dev, "<%s> %s halt\n", __func__, usb_ep->name);
904 static int imx_ep_fifo_status(struct usb_ep *usb_ep)
907 (usb_ep, struct imx_ep_struct, ep);
909 if (!usb_ep) {
920 static void imx_ep_fifo_flush(struct usb_ep *usb_ep)
923 (usb_ep, struct imx_ep_struct, ep);
928 if (!usb_ep || !EP_NO(imx_ep) || !list_empty(&imx_ep->queue)) {