Lines Matching refs:ep
557 static void ncm_notify_complete(struct usb_ep *ep, struct usb_request *req) in ncm_notify_complete() argument
583 static void ncm_ep0out_complete(struct usb_ep *ep, struct usb_request *req) in ncm_ep0out_complete() argument
589 struct usb_composite_dev *cdev = ep->driver_data; in ncm_ep0out_complete()
609 usb_ep_set_halt(ep); in ncm_ep0out_complete()
1347 struct usb_ep *ep; in ncm_bind() local
1402 ep = usb_ep_autoconfig(cdev->gadget, &fs_ncm_in_desc); in ncm_bind()
1403 if (!ep) in ncm_bind()
1405 ncm->port.in_ep = ep; in ncm_bind()
1406 ep->driver_data = cdev; /* claim */ in ncm_bind()
1408 ep = usb_ep_autoconfig(cdev->gadget, &fs_ncm_out_desc); in ncm_bind()
1409 if (!ep) in ncm_bind()
1411 ncm->port.out_ep = ep; in ncm_bind()
1412 ep->driver_data = cdev; /* claim */ in ncm_bind()
1414 ep = usb_ep_autoconfig(cdev->gadget, &fs_ncm_notify_desc); in ncm_bind()
1415 if (!ep) in ncm_bind()
1417 ncm->notify = ep; in ncm_bind()
1418 ep->driver_data = cdev; /* claim */ in ncm_bind()
1423 ncm->notify_req = usb_ep_alloc_request(ep, GFP_KERNEL); in ncm_bind()