Lines Matching refs:_ep
91 goku_ep_enable(struct usb_ep *_ep, const struct usb_endpoint_descriptor *desc) in goku_ep_enable() argument
99 ep = container_of(_ep, struct goku_ep, ep); in goku_ep_enable()
100 if (!_ep || !desc in goku_ep_enable()
244 static int goku_ep_disable(struct usb_ep *_ep) in goku_ep_disable() argument
250 ep = container_of(_ep, struct goku_ep, ep); in goku_ep_disable()
251 if (!_ep || !ep->ep.desc) in goku_ep_disable()
257 VDBG(dev, "disable %s\n", _ep->name); in goku_ep_disable()
270 goku_alloc_request(struct usb_ep *_ep, gfp_t gfp_flags) in goku_alloc_request() argument
274 if (!_ep) in goku_alloc_request()
285 goku_free_request(struct usb_ep *_ep, struct usb_request *_req) in goku_free_request() argument
289 if (!_ep || !_req) in goku_free_request()
711 goku_queue(struct usb_ep *_ep, struct usb_request *_req, gfp_t gfp_flags) in goku_queue() argument
724 ep = container_of(_ep, struct goku_ep, ep); in goku_queue()
725 if (unlikely(!_ep || (!ep->ep.desc && ep->num != 0))) in goku_queue()
745 _ep->name, _req, _req->length, _req->buf); in goku_queue()
810 static int goku_dequeue(struct usb_ep *_ep, struct usb_request *_req) in goku_dequeue() argument
817 ep = container_of(_ep, struct goku_ep, ep); in goku_dequeue()
818 if (!_ep || !_req || (!ep->ep.desc && ep->num != 0)) in goku_dequeue()
828 VDBG(dev, "%s %s %s %s %p\n", __func__, _ep->name, in goku_dequeue()
883 static int goku_set_halt(struct usb_ep *_ep, int value) in goku_set_halt() argument
889 if (!_ep) in goku_set_halt()
891 ep = container_of (_ep, struct goku_ep, ep); in goku_set_halt()
926 static int goku_fifo_status(struct usb_ep *_ep) in goku_fifo_status() argument
932 if (!_ep) in goku_fifo_status()
934 ep = container_of(_ep, struct goku_ep, ep); in goku_fifo_status()
948 static void goku_fifo_flush(struct usb_ep *_ep) in goku_fifo_flush() argument
954 if (!_ep) in goku_fifo_flush()
956 ep = container_of(_ep, struct goku_ep, ep); in goku_fifo_flush()