Home
last modified time | relevance | path

Searched refs:streaming_maxpacket (Results 1 – 6 of 6) sorted by relevance

/Linux-v6.1/drivers/usb/gadget/function/
Df_uvc.c608 opts->streaming_maxpacket = clamp(opts->streaming_maxpacket, 1U, 3072U); in uvc_function_bind()
613 (opts->streaming_maxpacket % 1024) != 0) { in uvc_function_bind()
614 opts->streaming_maxpacket = roundup(opts->streaming_maxpacket, 1024); in uvc_function_bind()
616 opts->streaming_maxpacket); in uvc_function_bind()
626 if (opts->streaming_maxpacket <= 1024) { in uvc_function_bind()
628 max_packet_size = opts->streaming_maxpacket; in uvc_function_bind()
629 } else if (opts->streaming_maxpacket <= 2048) { in uvc_function_bind()
631 max_packet_size = opts->streaming_maxpacket / 2; in uvc_function_bind()
634 max_packet_size = opts->streaming_maxpacket / 3; in uvc_function_bind()
638 cpu_to_le16(min(opts->streaming_maxpacket, 1023U)); in uvc_function_bind()
[all …]
Du_uvc.h25 unsigned int streaming_maxpacket; member
Duvc_configfs.c2351 UVCG_OPTS_ATTR(streaming_maxpacket, streaming_maxpacket, 3072);
/Linux-v6.1/drivers/usb/gadget/legacy/
Dwebcam.c25 static unsigned int streaming_maxpacket = 1024; variable
26 module_param(streaming_maxpacket, uint, S_IRUGO|S_IWUSR);
27 MODULE_PARM_DESC(streaming_maxpacket, "1 - 1023 (FS), 1 - 3072 (hs/ss)");
378 uvc_opts->streaming_maxpacket = streaming_maxpacket; in webcam_bind()
/Linux-v6.1/Documentation/ABI/testing/
Dconfigfs-usb-gadget-uvc8 streaming_maxpacket 1..1023 (fs), 1..3072 (hs/ss)
/Linux-v6.1/Documentation/usb/
Dgadget-testing.rst793 streaming_maxpacket maximum packet size this endpoint is capable of