Lines Matching refs:streaming_maxpacket
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()
860 opts->streaming_maxpacket = 1024; in uvc_alloc_inst()