Lines Matching refs:hsync
178 bt->hsync > max_hor || bt->hbackporch > max_hor) in v4l2_valid_dv_timings()
280 t1->bt.hsync == t2->bt.hsync && in v4l2_match_dv_timings()
328 bt->hsync, bt->hbackporch); in v4l2_print_dv_timings()
498 int v_fp, v_bp, h_fp, h_bp, hsync; in v4l2_detect_cvt() local
601 hsync = CVT_RB_H_SYNC; in v4l2_detect_cvt()
602 h_fp = h_blank - h_bp - hsync; in v4l2_detect_cvt()
623 hsync = frame_width * CVT_HSYNC_PERCENT / 100; in v4l2_detect_cvt()
624 hsync = (hsync / CVT_CELL_GRAN) * CVT_CELL_GRAN; in v4l2_detect_cvt()
625 h_fp = h_blank - hsync - h_bp; in v4l2_detect_cvt()
634 fmt->bt.hsync = hsync; in v4l2_detect_cvt()
636 fmt->bt.hbackporch = frame_width - image_width - h_fp - hsync; in v4l2_detect_cvt()
717 int v_fp, v_bp, h_fp, hsync; in v4l2_detect_gtf() local
781 hsync = (frame_width * 8 + 50) / 100; in v4l2_detect_gtf()
782 hsync = DIV_ROUND_CLOSEST(hsync, GTF_CELL_GRAN) * GTF_CELL_GRAN; in v4l2_detect_gtf()
784 h_fp = h_blank / 2 - hsync; in v4l2_detect_gtf()
792 fmt->bt.hsync = hsync; in v4l2_detect_gtf()
794 fmt->bt.hbackporch = frame_width - image_width - h_fp - hsync; in v4l2_detect_gtf()