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