Lines Matching refs:_ep
160 static int fotg210_ep_enable(struct usb_ep *_ep, in fotg210_ep_enable() argument
165 ep = container_of(_ep, struct fotg210_ep, ep); in fotg210_ep_enable()
212 static int fotg210_ep_disable(struct usb_ep *_ep) in fotg210_ep_disable() argument
218 BUG_ON(!_ep); in fotg210_ep_disable()
220 ep = container_of(_ep, struct fotg210_ep, ep); in fotg210_ep_disable()
233 static struct usb_request *fotg210_ep_alloc_request(struct usb_ep *_ep, in fotg210_ep_alloc_request() argument
247 static void fotg210_ep_free_request(struct usb_ep *_ep, in fotg210_ep_free_request() argument
399 static int fotg210_ep_queue(struct usb_ep *_ep, struct usb_request *_req, in fotg210_ep_queue() argument
407 ep = container_of(_ep, struct fotg210_ep, ep); in fotg210_ep_queue()
433 static int fotg210_ep_dequeue(struct usb_ep *_ep, struct usb_request *_req) in fotg210_ep_dequeue() argument
439 ep = container_of(_ep, struct fotg210_ep, ep); in fotg210_ep_dequeue()
485 static int fotg210_set_halt_and_wedge(struct usb_ep *_ep, int value, int wedge) in fotg210_set_halt_and_wedge() argument
492 ep = container_of(_ep, struct fotg210_ep, ep); in fotg210_set_halt_and_wedge()
516 static int fotg210_ep_set_halt(struct usb_ep *_ep, int value) in fotg210_ep_set_halt() argument
518 return fotg210_set_halt_and_wedge(_ep, value, 0); in fotg210_ep_set_halt()
521 static int fotg210_ep_set_wedge(struct usb_ep *_ep) in fotg210_ep_set_wedge() argument
523 return fotg210_set_halt_and_wedge(_ep, 1, 1); in fotg210_ep_set_wedge()
526 static void fotg210_ep_fifo_flush(struct usb_ep *_ep) in fotg210_ep_fifo_flush() argument
1084 struct fotg210_ep *_ep[FOTG210_MAX_NUM_EP]; in fotg210_udc_probe() local
1108 _ep[i] = kzalloc(sizeof(struct fotg210_ep), GFP_KERNEL); in fotg210_udc_probe()
1109 if (_ep[i] == NULL) in fotg210_udc_probe()
1111 fotg210->ep[i] = _ep[i]; in fotg210_udc_probe()