Lines Matching full:vsync
181 bt->vsync > max_vert || bt->vbackporch > max_vert) in v4l2_valid_dv_timings()
283 t1->bt.vsync == t2->bt.vsync && in v4l2_match_dv_timings()
332 bt->vsync, bt->vbackporch); in v4l2_print_dv_timings()
344 bt->vsync == 8) ? " (V2)" : "", in v4l2_print_dv_timings()
450 #define CVT_MIN_VSYNC_BP 550 /* min time of vsync + back porch (us) */
477 * @vsync - the height of the vertical sync in lines.
492 unsigned vsync, in v4l2_detect_cvt() argument
504 if (vsync < 4 || vsync > 8) in v4l2_detect_cvt()
514 if (reduced_blanking && vsync == 8) in v4l2_detect_cvt()
520 if (!rb_v2 && vsync > 7) in v4l2_detect_cvt()
531 v_fp -= vsync + v_bp; in v4l2_detect_cvt()
538 v_bp -= vsync + v_fp; in v4l2_detect_cvt()
545 v_bp = (CVT_MIN_VSYNC_BP * hfreq) / 1000000 + 1 - vsync; in v4l2_detect_cvt()
552 image_height = (frame_height - 2 * v_fp - 2 * vsync - 2 * v_bp) & ~0x1; in v4l2_detect_cvt()
554 image_height = (frame_height - v_fp - vsync - v_bp + 1) & ~0x1; in v4l2_detect_cvt()
559 /* Aspect ratio based on vsync */ in v4l2_detect_cvt()
560 switch (vsync) { in v4l2_detect_cvt()
635 fmt->bt.vsync = vsync; in v4l2_detect_cvt()
639 fmt->bt.vbackporch = frame_height - image_height - v_fp - vsync; in v4l2_detect_cvt()
643 2 * vsync) / 2; in v4l2_detect_cvt()
645 2 * vsync - fmt->bt.vbackporch; in v4l2_detect_cvt()
647 fmt->bt.il_vsync = vsync; in v4l2_detect_cvt()
670 #define GTF_MIN_VSYNC_BP 550 /* min time of vsync + back porch (us) */
693 * @vsync - the height of the vertical sync in lines.
710 unsigned vsync, in v4l2_detect_gtf() argument
722 if (vsync != 3) in v4l2_detect_gtf()
737 v_bp = (GTF_MIN_VSYNC_BP * hfreq + 500000) / 1000000 - vsync; in v4l2_detect_gtf()
739 image_height = (frame_height - 2 * v_fp - 2 * vsync - 2 * v_bp) & ~0x1; in v4l2_detect_gtf()
741 image_height = (frame_height - v_fp - vsync - v_bp + 1) & ~0x1; in v4l2_detect_gtf()
793 fmt->bt.vsync = vsync; in v4l2_detect_gtf()
797 fmt->bt.vbackporch = frame_height - image_height - v_fp - vsync; in v4l2_detect_gtf()
801 2 * vsync) / 2; in v4l2_detect_gtf()
803 2 * vsync - fmt->bt.vbackporch; in v4l2_detect_gtf()
805 fmt->bt.il_vsync = vsync; in v4l2_detect_gtf()