Lines Matching defs:_ep
235 static int fusb300_enable(struct usb_ep *_ep,
240 ep = container_of(_ep, struct fusb300_ep, ep);
251 static int fusb300_disable(struct usb_ep *_ep)
257 ep = container_of(_ep, struct fusb300_ep, ep);
271 static struct usb_request *fusb300_alloc_request(struct usb_ep *_ep,
284 static void fusb300_free_request(struct usb_ep *_ep, struct usb_request *_req)
422 static int fusb300_queue(struct usb_ep *_ep, struct usb_request *_req,
430 ep = container_of(_ep, struct fusb300_ep, ep);
456 static int fusb300_dequeue(struct usb_ep *_ep, struct usb_request *_req)
462 ep = container_of(_ep, struct fusb300_ep, ep);
473 static int fusb300_set_halt_and_wedge(struct usb_ep *_ep, int value, int wedge)
480 ep = container_of(_ep, struct fusb300_ep, ep);
507 static int fusb300_set_halt(struct usb_ep *_ep, int value)
509 return fusb300_set_halt_and_wedge(_ep, value, 0);
512 static int fusb300_set_wedge(struct usb_ep *_ep)
514 return fusb300_set_halt_and_wedge(_ep, 1, 1);
517 static void fusb300_fifo_flush(struct usb_ep *_ep)
1365 struct fusb300_ep *_ep[FUSB300_MAX_NUM_EP];
1407 _ep[i] = kzalloc(sizeof(struct fusb300_ep), GFP_KERNEL);
1408 if (_ep[i] == NULL) {
1412 fusb300->ep[i] = _ep[i];