Home
last modified time | relevance | path

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

/drivers/usb/gadget/function/
Df_uvc.c659 opts->streaming_maxpacket = clamp(opts->streaming_maxpacket, 1U, 3072U); in uvc_function_bind()
664 (opts->streaming_maxpacket % 1024) != 0) { in uvc_function_bind()
665 opts->streaming_maxpacket = roundup(opts->streaming_maxpacket, 1024); in uvc_function_bind()
667 opts->streaming_maxpacket); in uvc_function_bind()
677 if (opts->streaming_maxpacket <= 1024) { in uvc_function_bind()
679 max_packet_size = opts->streaming_maxpacket; in uvc_function_bind()
680 } else if (opts->streaming_maxpacket <= 2048) { in uvc_function_bind()
682 max_packet_size = opts->streaming_maxpacket / 2; in uvc_function_bind()
685 max_packet_size = opts->streaming_maxpacket / 3; in uvc_function_bind()
689 cpu_to_le16(min(opts->streaming_maxpacket, 1023U)); in uvc_function_bind()
[all …]
Du_uvc.h25 unsigned int streaming_maxpacket; member
Duvc_configfs.c3416 UVCG_OPTS_ATTR(streaming_maxpacket, streaming_maxpacket, 3072);
/drivers/usb/gadget/legacy/
Dwebcam.c26 static unsigned int streaming_maxpacket = 1024; variable
27 module_param(streaming_maxpacket, uint, S_IRUGO|S_IWUSR);
28 MODULE_PARM_DESC(streaming_maxpacket, "1 - 1023 (FS), 1 - 3072 (hs/ss)");
537 uvc_opts->streaming_maxpacket = streaming_maxpacket; in webcam_bind()