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.
493 unsigned int vsync, in v4l2_detect_cvt() argument
507 if (vsync < 4 || vsync > 8) in v4l2_detect_cvt()
517 if (reduced_blanking && vsync == 8) in v4l2_detect_cvt()
523 if (!rb_v2 && vsync > 7) in v4l2_detect_cvt()
534 v_fp -= vsync + v_bp; in v4l2_detect_cvt()
541 v_bp -= vsync + v_fp; in v4l2_detect_cvt()
548 v_bp = (CVT_MIN_VSYNC_BP * hfreq) / 1000000 + 1 - vsync; in v4l2_detect_cvt()
555 image_height = (frame_height - 2 * v_fp - 2 * vsync - 2 * v_bp) & ~0x1; in v4l2_detect_cvt()
557 image_height = (frame_height - v_fp - vsync - v_bp + 1) & ~0x1; in v4l2_detect_cvt()
562 /* Aspect ratio based on vsync */ in v4l2_detect_cvt()
563 switch (vsync) { in v4l2_detect_cvt()
638 t.bt.vsync = vsync; in v4l2_detect_cvt()
642 t.bt.vbackporch = frame_height - image_height - v_fp - vsync; in v4l2_detect_cvt()
646 2 * vsync) / 2; in v4l2_detect_cvt()
648 2 * vsync - t.bt.vbackporch; in v4l2_detect_cvt()
650 t.bt.il_vsync = vsync; in v4l2_detect_cvt()
676 #define GTF_MIN_VSYNC_BP 550 /* min time of vsync + back porch (us) */
699 * @vsync - the height of the vertical sync in lines.
717 unsigned int vsync, in v4l2_detect_gtf() argument
731 if (vsync != 3) in v4l2_detect_gtf()
746 v_bp = (GTF_MIN_VSYNC_BP * hfreq + 500000) / 1000000 - vsync; in v4l2_detect_gtf()
748 image_height = (frame_height - 2 * v_fp - 2 * vsync - 2 * v_bp) & ~0x1; in v4l2_detect_gtf()
750 image_height = (frame_height - v_fp - vsync - v_bp + 1) & ~0x1; in v4l2_detect_gtf()
802 t.bt.vsync = vsync; in v4l2_detect_gtf()
806 t.bt.vbackporch = frame_height - image_height - v_fp - vsync; in v4l2_detect_gtf()
810 2 * vsync) / 2; in v4l2_detect_gtf()
812 2 * vsync - t.bt.vbackporch; in v4l2_detect_gtf()
814 t.bt.il_vsync = vsync; in v4l2_detect_gtf()