Lines Matching refs:ep
212 uvc_function_ep0_complete(struct usb_ep *ep, struct usb_request *req) in uvc_function_ep0_complete() argument
283 return uvc->video.ep->enabled ? 1 : 0; in uvc_function_get_alt()
335 if (uvc->video.ep) in uvc_function_set_alt()
336 usb_ep_disable(uvc->video.ep); in uvc_function_set_alt()
349 if (!uvc->video.ep) in uvc_function_set_alt()
353 usb_ep_disable(uvc->video.ep); in uvc_function_set_alt()
356 &(uvc->func), uvc->video.ep); in uvc_function_set_alt()
359 usb_ep_enable(uvc->video.ep); in uvc_function_set_alt()
385 usb_ep_disable(uvc->video.ep); in uvc_function_disable()
568 uvc_streaming_header->bEndpointAddress = uvc->video.ep->address; in uvc_copy_descriptors()
584 struct usb_ep *ep; in uvc_function_bind() local
631 ep = usb_ep_autoconfig(cdev->gadget, &uvc_control_ep); in uvc_function_bind()
632 if (!ep) { in uvc_function_bind()
636 uvc->control_ep = ep; in uvc_function_bind()
639 ep = usb_ep_autoconfig_ss(cdev->gadget, &uvc_ss_streaming_ep, in uvc_function_bind()
642 ep = usb_ep_autoconfig(cdev->gadget, &uvc_hs_streaming_ep); in uvc_function_bind()
644 ep = usb_ep_autoconfig(cdev->gadget, &uvc_fs_streaming_ep); in uvc_function_bind()
646 if (!ep) { in uvc_function_bind()
650 uvc->video.ep = ep; in uvc_function_bind()
652 uvc_fs_streaming_ep.bEndpointAddress = uvc->video.ep->address; in uvc_function_bind()
653 uvc_hs_streaming_ep.bEndpointAddress = uvc->video.ep->address; in uvc_function_bind()
654 uvc_ss_streaming_ep.bEndpointAddress = uvc->video.ep->address; in uvc_function_bind()