Lines Matching refs:_ep
341 static int ast_udc_ep_enable(struct usb_ep *_ep, in ast_udc_ep_enable() argument
345 struct ast_udc_ep *ep = to_ast_ep(_ep); in ast_udc_ep_enable()
353 if (!_ep || !ep || !desc || desc->bDescriptorType != USB_DT_ENDPOINT || in ast_udc_ep_enable()
430 static int ast_udc_ep_disable(struct usb_ep *_ep) in ast_udc_ep_disable() argument
432 struct ast_udc_ep *ep = to_ast_ep(_ep); in ast_udc_ep_disable()
449 static struct usb_request *ast_udc_ep_alloc_request(struct usb_ep *_ep, in ast_udc_ep_alloc_request() argument
452 struct ast_udc_ep *ep = to_ast_ep(_ep); in ast_udc_ep_alloc_request()
466 static void ast_udc_ep_free_request(struct usb_ep *_ep, in ast_udc_ep_free_request() argument
626 static int ast_udc_ep_queue(struct usb_ep *_ep, struct usb_request *_req, in ast_udc_ep_queue() argument
630 struct ast_udc_ep *ep = to_ast_ep(_ep); in ast_udc_ep_queue()
636 if (unlikely(!_req || !_req->complete || !_req->buf || !_ep)) { in ast_udc_ep_queue()
642 dev_warn(dev, "%s is already stopped !\n", _ep->name); in ast_udc_ep_queue()
691 static int ast_udc_ep_dequeue(struct usb_ep *_ep, struct usb_request *_req) in ast_udc_ep_dequeue() argument
693 struct ast_udc_ep *ep = to_ast_ep(_ep); in ast_udc_ep_dequeue()
720 static int ast_udc_ep_set_halt(struct usb_ep *_ep, int value) in ast_udc_ep_set_halt() argument
722 struct ast_udc_ep *ep = to_ast_ep(_ep); in ast_udc_ep_set_halt()