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