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