Lines Matching refs:_ep
99 goku_ep_enable(struct usb_ep *_ep, const struct usb_endpoint_descriptor *desc) in goku_ep_enable() argument
107 ep = container_of(_ep, struct goku_ep, ep); in goku_ep_enable()
108 if (!_ep || !desc || ep->desc in goku_ep_enable()
245 static int goku_ep_disable(struct usb_ep *_ep) in goku_ep_disable() argument
251 ep = container_of(_ep, struct goku_ep, ep); in goku_ep_disable()
252 if (!_ep || !ep->desc) in goku_ep_disable()
258 VDBG(dev, "disable %s\n", _ep->name); in goku_ep_disable()
271 goku_alloc_request(struct usb_ep *_ep, int gfp_flags) in goku_alloc_request() argument
275 if (!_ep) in goku_alloc_request()
288 goku_free_request(struct usb_ep *_ep, struct usb_request *_req) in goku_free_request() argument
292 if (!_ep || !_req) in goku_free_request()
328 goku_alloc_buffer(struct usb_ep *_ep, unsigned bytes, in goku_alloc_buffer() argument
334 ep = container_of(_ep, struct goku_ep, ep); in goku_alloc_buffer()
335 if (!_ep) in goku_alloc_buffer()
358 goku_free_buffer(struct usb_ep *_ep, void *buf, dma_addr_t dma, unsigned bytes) in goku_free_buffer() argument
365 ep = container_of(_ep, struct goku_ep, ep); in goku_free_buffer()
366 if (!_ep) in goku_free_buffer()
792 goku_queue(struct usb_ep *_ep, struct usb_request *_req, int gfp_flags) in goku_queue() argument
805 ep = container_of(_ep, struct goku_ep, ep); in goku_queue()
806 if (unlikely(!_ep || (!ep->desc && ep->num != 0))) in goku_queue()
825 _ep->name, _req, _req->length, _req->buf); in goku_queue()
890 static int goku_dequeue(struct usb_ep *_ep, struct usb_request *_req) in goku_dequeue() argument
897 ep = container_of(_ep, struct goku_ep, ep); in goku_dequeue()
898 if (!_ep || !_req || (!ep->desc && ep->num != 0)) in goku_dequeue()
908 VDBG(dev, "%s %s %s %s %p\n", __FUNCTION__, _ep->name, in goku_dequeue()
961 static int goku_set_halt(struct usb_ep *_ep, int value) in goku_set_halt() argument
967 if (!_ep) in goku_set_halt()
969 ep = container_of (_ep, struct goku_ep, ep); in goku_set_halt()
1003 static int goku_fifo_status(struct usb_ep *_ep) in goku_fifo_status() argument
1009 if (!_ep) in goku_fifo_status()
1011 ep = container_of(_ep, struct goku_ep, ep); in goku_fifo_status()
1025 static void goku_fifo_flush(struct usb_ep *_ep) in goku_fifo_flush() argument
1031 if (!_ep) in goku_fifo_flush()
1033 ep = container_of(_ep, struct goku_ep, ep); in goku_fifo_flush()