/linux/drivers/usb/gadget/function/ |
H A D | f_uvc.c | 207 struct uvc_device *uvc = req->context; in uvc_function_ep0_complete() local 211 if (uvc->event_setup_out) { in uvc_function_ep0_complete() 212 uvc->event_setup_out = 0; in uvc_function_ep0_complete() 219 v4l2_event_queue(&uvc->vdev, &v4l2_event); in uvc_function_ep0_complete() 226 struct uvc_device *uvc = to_uvc(f); in uvc_function_setup() local 245 uvc->event_setup_out = !(ctrl->bRequestType & USB_DIR_IN); in uvc_function_setup() 246 uvc->event_length = le16_to_cpu(ctrl->wLength); in uvc_function_setup() 258 if (interface == uvc->streaming_intf) in uvc_function_setup() 261 v4l2_event_queue(&uvc->vdev, &v4l2_event); in uvc_function_setup() 266 void uvc_function_setup_continue(struct uvc_device *uvc, int disable_ep) in uvc_function_setup_continue() argument [all …]
|
H A D | uvc_v4l2.c | 76 static struct uvcg_format *find_format_by_index(struct uvc_device *uvc, int index) in find_format_by_index() argument 82 list_for_each_entry(format, &uvc->header->formats, entry) { in find_format_by_index() 93 static struct uvcg_frame *find_frame_by_index(struct uvc_device *uvc, in find_frame_by_index() argument 101 list_for_each_entry(format, &uvc->header->formats, entry) { in find_frame_by_index() 115 static struct uvcg_format *find_format_by_pix(struct uvc_device *uvc, in find_format_by_pix() argument 121 list_for_each_entry(format, &uvc->header->formats, entry) { in find_format_by_pix() 136 static struct uvcg_frame *find_closest_frame_by_size(struct uvc_device *uvc, in find_closest_frame_by_size() argument 140 struct uvc_video *video = &uvc->video; in find_closest_frame_by_size() 152 list_for_each_entry(format, &uvc->header->formats, entry) { in find_closest_frame_by_size() 175 uvcg_dbg(&video->uvc->func, "Unsupported size %ux%u\n", rw, rh); in find_closest_frame_by_size() [all …]
|
H A D | f_uvc.h | 14 void uvc_function_setup_continue(struct uvc_device *uvc, int disable_ep); 16 void uvc_function_connect(struct uvc_device *uvc); 18 void uvc_function_disconnect(struct uvc_device *uvc);
|
H A D | uvc_video.c | 31 struct uvc_device *uvc = container_of(video, struct uvc_device, video); in uvc_video_encode_header() local 32 struct usb_composite_dev *cdev = uvc->func.config->cdev; in uvc_video_encode_header() 261 uvcg_err(&video->uvc->func, "Failed to queue request (%d).\n", in uvcg_video_ep_queue() 403 uvcg_dbg(&video->uvc->func, "VS request missed xfer.\n"); in uvc_video_complete() 409 uvcg_dbg(&video->uvc->func, "VS request cancelled.\n"); in uvc_video_complete() 414 uvcg_warn(&video->uvc->func, in uvc_video_complete() 652 uvcg_info(&video->uvc->func, in uvcg_video_disable() 727 uvcg_info(&video->uvc->func, in uvcg_video_enable() 764 int uvcg_video_init(struct uvc_video *video, struct uvc_device *uvc) in uvcg_video_init() argument 778 video->uvc = uvc; in uvcg_video_init() [all …]
|
H A D | uvc.h | 88 struct uvc_device *uvc; member 190 extern void uvc_function_setup_continue(struct uvc_device *uvc, int disable_ep); 191 extern void uvc_function_connect(struct uvc_device *uvc); 192 extern void uvc_function_disconnect(struct uvc_device *uvc);
|
H A D | uvc_video.h | 20 int uvcg_video_init(struct uvc_video *video, struct uvc_device *uvc);
|
H A D | uvc_queue.c | 137 struct usb_composite_dev *cdev = video->uvc->func.config->cdev; in uvcg_queue_init()
|
/linux/Documentation/ABI/testing/ |
H A D | configfs-usb-gadget-uvc | 1 What: /config/usb-gadget/gadget/functions/uvc.name 13 What: /config/usb-gadget/gadget/functions/uvc.name/control 27 What: /config/usb-gadget/gadget/functions/uvc.name/control/class 32 What: /config/usb-gadget/gadget/functions/uvc.name/control/class/ss 37 What: /config/usb-gadget/gadget/functions/uvc.name/control/class/fs 42 What: /config/usb-gadget/gadget/functions/uvc.name/control/terminal 47 What: /config/usb-gadget/gadget/functions/uvc.name/control/terminal/output 52 What: /config/usb-gadget/gadget/functions/uvc.name/control/terminal/output/default 69 What: /config/usb-gadget/gadget/functions/uvc.name/control/terminal/camera 74 What: /config/usb-gadget/gadget/functions/uvc.name/control/terminal/camera/default [all …]
|
/linux/drivers/media/common/ |
H A D | Makefile | 8 obj-$(CONFIG_UVC_COMMON) += uvc.o
|
/linux/Documentation/userspace-api/media/v4l/ |
H A D | meta-formats.rst | 20 metafmt-uvc
|
H A D | metafmt-uvc.rst | 3 .. _v4l2-meta-fmt-uvc:
|
H A D | metafmt-d4xx.rst | 144 [1] https://docs.microsoft.com/en-us/windows-hardware/drivers/stream/uvc-extensions-1-5
|
/linux/drivers/media/usb/ |
H A D | Makefile | 24 obj-$(CONFIG_USB_VIDEO_CLASS) += uvc/
|
H A D | Kconfig | 20 source "drivers/media/usb/uvc/Kconfig"
|
/linux/Documentation/usb/ |
H A D | gadget-testing.rst | 811 The function name to use when creating the function directory is "uvc". 812 The uvc function provides these attributes in its function directory: 843 # mkdir functions/uvc.usb0/control/header/h 844 # cd functions/uvc.usb0/control/ 847 # mkdir -p functions/uvc.usb0/streaming/uncompressed/u/360p 848 # cat <<EOF > functions/uvc.usb0/streaming/uncompressed/u/360p/dwFrameInterval 854 # mkdir functions/uvc.usb0/streaming/header/h 855 # cd functions/uvc.usb0/streaming/header/h 870 # uvc-gadget -u /dev/video<uvc video node #> -v /dev/video<vivid video node #> 872 where uvc-gadget is this program: [all …]
|
H A D | gadget_uvc.rst | 35 see Documentation/ABI/testing/configfs-usb-gadget-uvc 52 FUNCTION="$GADGET/functions/uvc.0" 72 uvc.0 + 380 document, but a reference application can be found at https://gitlab.freedesktop.org/camera/uvc-gad…
|
/linux/drivers/media/usb/uvc/ |
H A D | Kconfig | 11 For more information see: <http://linux-uvc.berlios.de/>
|
/linux/drivers/media/usb/pwc/ |
H A D | Kconfig | 26 Usb Video Class driver (linux-uvc).
|
/linux/Documentation/admin-guide/media/ |
H A D | usb-cardlist.rst | 19 ``uvc-driver``.
|
/linux/drivers/usb/misc/ |
H A D | Kconfig | 243 http://linux-uvc.berlios.de
|
/linux/arch/s390/tools/ |
H A D | opcodes.txt | 596 b9a4 uvc RRF_URR
|
/linux/ |
H A D | MAINTAINERS | 24068 W: http://www.ideasonboard.org/uvc/ 24070 F: drivers/media/usb/uvc/ 24076 F: drivers/usb/gadget/function/*uvc*
|