Searched refs:streaming_maxpacket (Results 1 – 6 of 6) sorted by relevance
/Linux-v5.10/drivers/usb/gadget/function/ |
D | f_uvc.c | 602 opts->streaming_maxpacket = clamp(opts->streaming_maxpacket, 1U, 3072U); in uvc_function_bind() 607 (opts->streaming_maxpacket % 1024) != 0) { in uvc_function_bind() 608 opts->streaming_maxpacket = roundup(opts->streaming_maxpacket, 1024); in uvc_function_bind() 610 opts->streaming_maxpacket); in uvc_function_bind() 619 if (opts->streaming_maxpacket <= 1024) { in uvc_function_bind() 621 max_packet_size = opts->streaming_maxpacket; in uvc_function_bind() 622 } else if (opts->streaming_maxpacket <= 2048) { in uvc_function_bind() 624 max_packet_size = opts->streaming_maxpacket / 2; in uvc_function_bind() 627 max_packet_size = opts->streaming_maxpacket / 3; in uvc_function_bind() 631 cpu_to_le16(min(opts->streaming_maxpacket, 1023U)); in uvc_function_bind() [all …]
|
D | u_uvc.h | 25 unsigned int streaming_maxpacket; member
|
D | uvc_configfs.c | 2428 UVCG_OPTS_ATTR(streaming_maxpacket, streaming_maxpacket, 3072);
|
/Linux-v5.10/drivers/usb/gadget/legacy/ |
D | webcam.c | 25 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)"); 377 uvc_opts->streaming_maxpacket = streaming_maxpacket; in webcam_bind()
|
/Linux-v5.10/Documentation/ABI/testing/ |
D | configfs-usb-gadget-uvc | 8 streaming_maxpacket 1..1023 (fs), 1..3072 (hs/ss)
|
/Linux-v5.10/Documentation/usb/ |
D | gadget-testing.rst | 772 streaming_maxpacket maximum packet size this endpoint is capable of
|