Lines Matching refs:_ep
157 static int fotg210_ep_enable(struct usb_ep *_ep, in fotg210_ep_enable() argument
162 ep = container_of(_ep, struct fotg210_ep, ep); in fotg210_ep_enable()
209 static int fotg210_ep_disable(struct usb_ep *_ep) in fotg210_ep_disable() argument
215 BUG_ON(!_ep); in fotg210_ep_disable()
217 ep = container_of(_ep, struct fotg210_ep, ep); in fotg210_ep_disable()
230 static struct usb_request *fotg210_ep_alloc_request(struct usb_ep *_ep, in fotg210_ep_alloc_request() argument
244 static void fotg210_ep_free_request(struct usb_ep *_ep, in fotg210_ep_free_request() argument
393 static int fotg210_ep_queue(struct usb_ep *_ep, struct usb_request *_req, in fotg210_ep_queue() argument
401 ep = container_of(_ep, struct fotg210_ep, ep); in fotg210_ep_queue()
427 static int fotg210_ep_dequeue(struct usb_ep *_ep, struct usb_request *_req) in fotg210_ep_dequeue() argument
433 ep = container_of(_ep, struct fotg210_ep, ep); in fotg210_ep_dequeue()
479 static int fotg210_set_halt_and_wedge(struct usb_ep *_ep, int value, int wedge) in fotg210_set_halt_and_wedge() argument
485 ep = container_of(_ep, struct fotg210_ep, ep); in fotg210_set_halt_and_wedge()
509 static int fotg210_ep_set_halt(struct usb_ep *_ep, int value) in fotg210_ep_set_halt() argument
511 return fotg210_set_halt_and_wedge(_ep, value, 0); in fotg210_ep_set_halt()
514 static int fotg210_ep_set_wedge(struct usb_ep *_ep) in fotg210_ep_set_wedge() argument
516 return fotg210_set_halt_and_wedge(_ep, 1, 1); in fotg210_ep_set_wedge()
519 static void fotg210_ep_fifo_flush(struct usb_ep *_ep) in fotg210_ep_fifo_flush() argument
1090 struct fotg210_ep *_ep[FOTG210_MAX_NUM_EP]; in fotg210_udc_probe() local
1114 _ep[i] = kzalloc(sizeof(struct fotg210_ep), GFP_KERNEL); in fotg210_udc_probe()
1115 if (_ep[i] == NULL) in fotg210_udc_probe()
1117 fotg210->ep[i] = _ep[i]; in fotg210_udc_probe()