Lines Matching refs:hfreq
627 bool v4l2_detect_cvt(unsigned frame_height, unsigned hfreq, unsigned vsync, in v4l2_detect_cvt() argument
648 v_bp = (CVT_RB_MIN_V_BLANK * hfreq + 999999) / 1000000; in v4l2_detect_cvt()
655 v_bp = (CVT_MIN_VSYNC_BP * hfreq + 999999) / 1000000 - vsync; in v4l2_detect_cvt()
690 pix_clk = (image_width + CVT_RB_H_BLANK) * hfreq; in v4l2_detect_cvt()
700 unsigned ideal_duty_cycle = CVT_C_PRIME - (CVT_M_PRIME * 1000) / hfreq; in v4l2_detect_cvt()
711 pix_clk = (image_width + h_blank) * hfreq; in v4l2_detect_cvt()
785 unsigned hfreq, in v4l2_detect_gtf() argument
809 v_bp = (GTF_MIN_VSYNC_BP * hfreq + 999999) / 1000000 - vsync; in v4l2_detect_gtf()
820 h_blank = ((image_width * GTF_D_C_PRIME * hfreq) - in v4l2_detect_gtf()
822 (hfreq * (100 - GTF_D_C_PRIME) + GTF_D_M_PRIME * 1000) / 2) / in v4l2_detect_gtf()
823 (hfreq * (100 - GTF_D_C_PRIME) + GTF_D_M_PRIME * 1000); in v4l2_detect_gtf()
825 h_blank = ((image_width * GTF_S_C_PRIME * hfreq) - in v4l2_detect_gtf()
827 (hfreq * (100 - GTF_S_C_PRIME) + GTF_S_M_PRIME * 1000) / 2) / in v4l2_detect_gtf()
828 (hfreq * (100 - GTF_S_C_PRIME) + GTF_S_M_PRIME * 1000); in v4l2_detect_gtf()
833 pix_clk = (image_width + h_blank) * hfreq; in v4l2_detect_gtf()