Home
last modified time | relevance | path

Searched refs:DIV_PRE_N (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/media/tuners/
H A Dmsi001.c140 #define DIV_PRE_N 4 in msi001_set_tuner() macro
211 div_n = div_u64_rem(f_vco, DIV_PRE_N * F_REF, &k); in msi001_set_tuner()
212 k_thresh = (DIV_PRE_N * F_REF) / F_VCO_STEP; in msi001_set_tuner()
213 k_frac = div_u64((u64) k * k_thresh, (DIV_PRE_N * F_REF)); in msi001_set_tuner()
226 uitmp = (unsigned int) F_REF * DIV_PRE_N * div_n; in msi001_set_tuner()
227 uitmp += (unsigned int) F_REF * DIV_PRE_N * k_frac / k_thresh; in msi001_set_tuner()
H A Dfc2580.c66 #define DIV_PRE_N 2 in fc2580_set_params() macro
78 if (f_vco >= div_u64((u64) DIV_PRE_N * DIV_N_MIN * F_REF, 1)) { in fc2580_set_params()
81 } else if (f_vco >= div_u64((u64) DIV_PRE_N * DIV_N_MIN * F_REF, 2)) { in fc2580_set_params()
90 uitmp = DIV_PRE_N * F_REF / div_ref; in fc2580_set_params()