Lines Matching refs:hfreq
370 unsigned hfreq, in v4l2_detect_cvt() argument
402 if (hfreq == 0) in v4l2_detect_cvt()
409 v_fp = (CVT_RB_MIN_V_BLANK * hfreq) / 1000000 + 1; in v4l2_detect_cvt()
416 v_bp = (CVT_RB_MIN_V_BLANK * hfreq) / 1000000 + 1; in v4l2_detect_cvt()
424 v_bp = (CVT_MIN_VSYNC_BP * hfreq) / 1000000 + 1 - vsync; in v4l2_detect_cvt()
476 pix_clk = (image_width + h_blank) * hfreq; in v4l2_detect_cvt()
486 100 * CVT_C_PRIME - (CVT_M_PRIME * 100000) / hfreq; in v4l2_detect_cvt()
496 pix_clk = (image_width + h_blank) * hfreq; in v4l2_detect_cvt()
588 unsigned hfreq, in v4l2_detect_gtf() argument
611 if (hfreq == 0) in v4l2_detect_gtf()
616 v_bp = (GTF_MIN_VSYNC_BP * hfreq + 500000) / 1000000 - vsync; in v4l2_detect_gtf()
637 num = ((image_width * GTF_D_C_PRIME * (u64)hfreq) - in v4l2_detect_gtf()
639 den = (hfreq * (100 - GTF_D_C_PRIME) + GTF_D_M_PRIME * 1000) * in v4l2_detect_gtf()
647 num = ((image_width * GTF_S_C_PRIME * (u64)hfreq) - in v4l2_detect_gtf()
649 den = (hfreq * (100 - GTF_S_C_PRIME) + GTF_S_M_PRIME * 1000) * in v4l2_detect_gtf()
657 pix_clk = (image_width + h_blank) * hfreq; in v4l2_detect_gtf()