Lines Matching refs:_ep

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