Searched refs:fref_khz (Results 1 – 4 of 4) sorted by relevance
84 u32 fref_khz; in pll_para_config() local116 fref_khz = ref_khz / refdiv; in pll_para_config()118 fbdiv = vco_khz / fref_khz; in pll_para_config()121 diff_khz = vco_khz - fbdiv * fref_khz; in pll_para_config()122 if (fbdiv + 1 < max_fbdiv && diff_khz > fref_khz / 2) { in pll_para_config()124 diff_khz = fref_khz - diff_khz; in pll_para_config()
237 uint fref_khz; in pll_para_config() local273 fref_khz = ref_khz / nr; in pll_para_config()274 if (fref_khz < FREF_MIN_KHZ) in pll_para_config()276 if (fref_khz > FREF_MAX_KHZ) in pll_para_config()279 nf = vco_khz / fref_khz; in pll_para_config()282 diff_khz = vco_khz - nf * fref_khz; in pll_para_config()283 if (nf + 1 < max_nf && diff_khz > fref_khz / 2) { in pll_para_config()285 diff_khz = fref_khz - diff_khz; in pll_para_config()
372 u32 fref_khz; in pll_para_config() local404 fref_khz = ref_khz / refdiv; in pll_para_config()406 fbdiv = vco_khz / fref_khz; in pll_para_config()409 diff_khz = vco_khz - fbdiv * fref_khz; in pll_para_config()410 if (fbdiv + 1 < max_fbdiv && diff_khz > fref_khz / 2) { in pll_para_config()412 diff_khz = fref_khz - diff_khz; in pll_para_config()
103 u32 fref_khz; in pll_clk_set_by_auto() local135 fref_khz = ref_khz / refdiv; in pll_clk_set_by_auto()137 fbdiv = vco_khz / fref_khz; in pll_clk_set_by_auto()141 diff_khz = vco_khz - fbdiv * fref_khz; in pll_clk_set_by_auto()142 if (fbdiv + 1 < max_fbdiv && diff_khz > fref_khz / 2) { in pll_clk_set_by_auto()144 diff_khz = fref_khz - diff_khz; in pll_clk_set_by_auto()
Completed in 13 milliseconds