Searched refs:fref_khz (Results 1 – 3 of 3) sorted by relevance
80 u32 fref_khz; in pll_para_config() local112 fref_khz = ref_khz / refdiv; in pll_para_config()114 fbdiv = vco_khz / fref_khz; in pll_para_config()117 diff_khz = vco_khz - fbdiv * fref_khz; in pll_para_config()118 if (fbdiv + 1 < max_fbdiv && diff_khz > fref_khz / 2) { in pll_para_config()120 diff_khz = fref_khz - diff_khz; in pll_para_config()
229 uint fref_khz; in pll_para_config() local265 fref_khz = ref_khz / nr; in pll_para_config()266 if (fref_khz < FREF_MIN_KHZ) in pll_para_config()268 if (fref_khz > FREF_MAX_KHZ) in pll_para_config()271 nf = vco_khz / fref_khz; in pll_para_config()274 diff_khz = vco_khz - nf * fref_khz; in pll_para_config()275 if (nf + 1 < max_nf && diff_khz > fref_khz / 2) { in pll_para_config()277 diff_khz = fref_khz - diff_khz; in pll_para_config()
338 u32 fref_khz; in pll_para_config() local370 fref_khz = ref_khz / refdiv; in pll_para_config()372 fbdiv = vco_khz / fref_khz; in pll_para_config()375 diff_khz = vco_khz - fbdiv * fref_khz; in pll_para_config()376 if (fbdiv + 1 < max_fbdiv && diff_khz > fref_khz / 2) { in pll_para_config()378 diff_khz = fref_khz - diff_khz; in pll_para_config()