Lines Matching refs:_ep

346 static struct usb_request *gr_alloc_request(struct usb_ep *_ep, gfp_t gfp_flags)
790 static void gr_ep0_testmode_complete(struct usb_ep *_ep,
797 ep = container_of(_ep, struct gr_ep, ep);
809 static void gr_ep0_dummy_complete(struct usb_ep *_ep, struct usb_request *_req)
1465 static int gr_ep_enable(struct usb_ep *_ep,
1476 ep = container_of(_ep, struct gr_ep, ep);
1477 if (!_ep || !desc || desc->bDescriptorType != USB_DT_ENDPOINT)
1599 static int gr_ep_disable(struct usb_ep *_ep)
1605 ep = container_of(_ep, struct gr_ep, ep);
1606 if (!_ep || !ep->ep.desc)
1635 static void gr_free_request(struct usb_ep *_ep, struct usb_request *_req)
1639 if (!_ep || !_req)
1651 static int gr_queue_ext(struct usb_ep *_ep, struct usb_request *_req,
1659 if (unlikely(!_ep || !_req))
1662 ep = container_of(_ep, struct gr_ep, ep);
1690 static int gr_dequeue(struct usb_ep *_ep, struct usb_request *_req)
1698 ep = container_of(_ep, struct gr_ep, ep);
1699 if (!_ep || !_req || (!ep->ep.desc && ep->num != 0))
1744 static int gr_set_halt_wedge(struct usb_ep *_ep, int halt, int wedge)
1749 if (!_ep)
1751 ep = container_of(_ep, struct gr_ep, ep);
1770 static int gr_set_halt(struct usb_ep *_ep, int halt)
1772 return gr_set_halt_wedge(_ep, halt, 0);
1776 static int gr_set_wedge(struct usb_ep *_ep)
1778 return gr_set_halt_wedge(_ep, 1, 1);
1785 static int gr_fifo_status(struct usb_ep *_ep)
1791 if (!_ep)
1793 ep = container_of(_ep, struct gr_ep, ep);
1807 static void gr_fifo_flush(struct usb_ep *_ep)
1812 if (!_ep)
1814 ep = container_of(_ep, struct gr_ep, ep);