Lines Matching refs:_ep
1379 static void ep0_set_sel_cmpl(struct usb_ep *_ep, struct usb_request *_req) in ep0_set_sel_cmpl() argument
1710 static int bdc_gadget_ep_queue(struct usb_ep *_ep, in bdc_gadget_ep_queue() argument
1719 if (!_ep || !_ep->desc) in bdc_gadget_ep_queue()
1725 ep = to_bdc_ep(_ep); in bdc_gadget_ep_queue()
1756 static int bdc_gadget_ep_dequeue(struct usb_ep *_ep, in bdc_gadget_ep_dequeue() argument
1766 if (!_ep || !_req) in bdc_gadget_ep_dequeue()
1769 ep = to_bdc_ep(_ep); in bdc_gadget_ep_dequeue()
1803 static int bdc_gadget_ep_set_halt(struct usb_ep *_ep, int value) in bdc_gadget_ep_set_halt() argument
1810 ep = to_bdc_ep(_ep); in bdc_gadget_ep_set_halt()
1826 static struct usb_request *bdc_gadget_alloc_request(struct usb_ep *_ep, in bdc_gadget_alloc_request() argument
1836 ep = to_bdc_ep(_ep); in bdc_gadget_alloc_request()
1845 static void bdc_gadget_free_request(struct usb_ep *_ep, in bdc_gadget_free_request() argument
1857 static int bdc_gadget_ep_enable(struct usb_ep *_ep, in bdc_gadget_ep_enable() argument
1865 if (!_ep || !desc || desc->bDescriptorType != USB_DT_ENDPOINT) { in bdc_gadget_ep_enable()
1875 ep = to_bdc_ep(_ep); in bdc_gadget_ep_enable()
1890 ep->comp_desc = _ep->comp_desc; in bdc_gadget_ep_enable()
1897 static int bdc_gadget_ep_disable(struct usb_ep *_ep) in bdc_gadget_ep_disable() argument
1904 if (!_ep) { in bdc_gadget_ep_disable()
1908 ep = to_bdc_ep(_ep); in bdc_gadget_ep_disable()