Lines Matching refs:hfreq
350 bool v4l2_detect_cvt(unsigned frame_height, unsigned hfreq, unsigned vsync, in v4l2_detect_cvt() argument
371 v_bp = (CVT_RB_MIN_V_BLANK * hfreq + 1999999) / 1000000; in v4l2_detect_cvt()
378 v_bp = (CVT_MIN_VSYNC_BP * hfreq + 1999999) / 1000000 - vsync; in v4l2_detect_cvt()
413 pix_clk = (image_width + CVT_RB_H_BLANK) * hfreq; in v4l2_detect_cvt()
423 100 * CVT_C_PRIME - (CVT_M_PRIME * 100000) / hfreq; in v4l2_detect_cvt()
433 pix_clk = (image_width + h_blank) * hfreq; in v4l2_detect_cvt()
508 unsigned hfreq, in v4l2_detect_gtf() argument
532 v_bp = (GTF_MIN_VSYNC_BP * hfreq + 999999) / 1000000 - vsync; in v4l2_detect_gtf()
544 h_blank = ((image_width * GTF_D_C_PRIME * hfreq) - in v4l2_detect_gtf()
546 (hfreq * (100 - GTF_D_C_PRIME) + GTF_D_M_PRIME * 1000) / 2) / in v4l2_detect_gtf()
547 (hfreq * (100 - GTF_D_C_PRIME) + GTF_D_M_PRIME * 1000); in v4l2_detect_gtf()
549 h_blank = ((image_width * GTF_S_C_PRIME * hfreq) - in v4l2_detect_gtf()
551 (hfreq * (100 - GTF_S_C_PRIME) + GTF_S_M_PRIME * 1000) / 2) / in v4l2_detect_gtf()
552 (hfreq * (100 - GTF_S_C_PRIME) + GTF_S_M_PRIME * 1000); in v4l2_detect_gtf()
557 pix_clk = (image_width + h_blank) * hfreq; in v4l2_detect_gtf()