• Home
  • Raw
  • Download

Lines Matching refs:_ep

367 static struct usb_request *gr_alloc_request(struct usb_ep *_ep, gfp_t gfp_flags)  in gr_alloc_request()  argument
811 static void gr_ep0_testmode_complete(struct usb_ep *_ep, in gr_ep0_testmode_complete() argument
818 ep = container_of(_ep, struct gr_ep, ep); in gr_ep0_testmode_complete()
830 static void gr_ep0_dummy_complete(struct usb_ep *_ep, struct usb_request *_req) in gr_ep0_dummy_complete() argument
1486 static int gr_ep_enable(struct usb_ep *_ep, in gr_ep_enable() argument
1497 ep = container_of(_ep, struct gr_ep, ep); in gr_ep_enable()
1498 if (!_ep || !desc || desc->bDescriptorType != USB_DT_ENDPOINT) in gr_ep_enable()
1620 static int gr_ep_disable(struct usb_ep *_ep) in gr_ep_disable() argument
1626 ep = container_of(_ep, struct gr_ep, ep); in gr_ep_disable()
1627 if (!_ep || !ep->ep.desc) in gr_ep_disable()
1656 static void gr_free_request(struct usb_ep *_ep, struct usb_request *_req) in gr_free_request() argument
1660 if (!_ep || !_req) in gr_free_request()
1672 static int gr_queue_ext(struct usb_ep *_ep, struct usb_request *_req, in gr_queue_ext() argument
1680 if (unlikely(!_ep || !_req)) in gr_queue_ext()
1683 ep = container_of(_ep, struct gr_ep, ep); in gr_queue_ext()
1711 static int gr_dequeue(struct usb_ep *_ep, struct usb_request *_req) in gr_dequeue() argument
1719 ep = container_of(_ep, struct gr_ep, ep); in gr_dequeue()
1720 if (!_ep || !_req || (!ep->ep.desc && ep->num != 0)) in gr_dequeue()
1763 static int gr_set_halt_wedge(struct usb_ep *_ep, int halt, int wedge) in gr_set_halt_wedge() argument
1768 if (!_ep) in gr_set_halt_wedge()
1770 ep = container_of(_ep, struct gr_ep, ep); in gr_set_halt_wedge()
1789 static int gr_set_halt(struct usb_ep *_ep, int halt) in gr_set_halt() argument
1791 return gr_set_halt_wedge(_ep, halt, 0); in gr_set_halt()
1795 static int gr_set_wedge(struct usb_ep *_ep) in gr_set_wedge() argument
1797 return gr_set_halt_wedge(_ep, 1, 1); in gr_set_wedge()
1804 static int gr_fifo_status(struct usb_ep *_ep) in gr_fifo_status() argument
1810 if (!_ep) in gr_fifo_status()
1812 ep = container_of(_ep, struct gr_ep, ep); in gr_fifo_status()
1826 static void gr_fifo_flush(struct usb_ep *_ep) in gr_fifo_flush() argument
1831 if (!_ep) in gr_fifo_flush()
1833 ep = container_of(_ep, struct gr_ep, ep); in gr_fifo_flush()