Lines Matching full:vsync
261 t1->bt.vsync == t2->bt.vsync && in v4l2_match_dv_timings()
310 bt->vsync, bt->vbackporch); in v4l2_print_dv_timings()
322 bt->vsync == 8) ? " (V2)" : "", in v4l2_print_dv_timings()
428 #define CVT_MIN_VSYNC_BP 550 /* min time of vsync + back porch (us) */
455 * @vsync - the height of the vertical sync in lines.
470 unsigned vsync, in v4l2_detect_cvt() argument
482 if (vsync < 4 || vsync > 8) in v4l2_detect_cvt()
492 if (reduced_blanking && vsync == 8) in v4l2_detect_cvt()
498 if (!rb_v2 && vsync > 7) in v4l2_detect_cvt()
509 v_fp -= vsync + v_bp; in v4l2_detect_cvt()
516 v_bp -= vsync + v_fp; in v4l2_detect_cvt()
523 v_bp = (CVT_MIN_VSYNC_BP * hfreq) / 1000000 + 1 - vsync; in v4l2_detect_cvt()
530 image_height = (frame_height - 2 * v_fp - 2 * vsync - 2 * v_bp) & ~0x1; in v4l2_detect_cvt()
532 image_height = (frame_height - v_fp - vsync - v_bp + 1) & ~0x1; in v4l2_detect_cvt()
537 /* Aspect ratio based on vsync */ in v4l2_detect_cvt()
538 switch (vsync) { in v4l2_detect_cvt()
613 fmt->bt.vsync = vsync; in v4l2_detect_cvt()
617 fmt->bt.vbackporch = frame_height - image_height - v_fp - vsync; in v4l2_detect_cvt()
621 2 * vsync) / 2; in v4l2_detect_cvt()
623 2 * vsync - fmt->bt.vbackporch; in v4l2_detect_cvt()
625 fmt->bt.il_vsync = vsync; in v4l2_detect_cvt()
648 #define GTF_MIN_VSYNC_BP 550 /* min time of vsync + back porch (us) */
671 * @vsync - the height of the vertical sync in lines.
688 unsigned vsync, in v4l2_detect_gtf() argument
700 if (vsync != 3) in v4l2_detect_gtf()
715 v_bp = (GTF_MIN_VSYNC_BP * hfreq + 500000) / 1000000 - vsync; in v4l2_detect_gtf()
717 image_height = (frame_height - 2 * v_fp - 2 * vsync - 2 * v_bp) & ~0x1; in v4l2_detect_gtf()
719 image_height = (frame_height - v_fp - vsync - v_bp + 1) & ~0x1; in v4l2_detect_gtf()
771 fmt->bt.vsync = vsync; in v4l2_detect_gtf()
775 fmt->bt.vbackporch = frame_height - image_height - v_fp - vsync; in v4l2_detect_gtf()
779 2 * vsync) / 2; in v4l2_detect_gtf()
781 2 * vsync - fmt->bt.vbackporch; in v4l2_detect_gtf()
783 fmt->bt.il_vsync = vsync; in v4l2_detect_gtf()