Searched refs:diff_khz (Results 1 – 4 of 4) sorted by relevance
85 u32 diff_khz, best_diff_khz; in pll_para_config() local121 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()127 if (diff_khz >= best_diff_khz) in pll_para_config()130 best_diff_khz = diff_khz; in pll_para_config()
238 uint diff_khz, best_diff_khz; in pll_para_config() local282 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()288 if (diff_khz >= best_diff_khz) in pll_para_config()291 best_diff_khz = diff_khz; in pll_para_config()
373 u32 diff_khz, best_diff_khz; in pll_para_config() local409 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()415 if (diff_khz >= best_diff_khz) in pll_para_config()418 best_diff_khz = diff_khz; in pll_para_config()
104 u32 diff_khz, best_diff_khz; in pll_clk_set_by_auto() local141 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()147 if (diff_khz >= best_diff_khz) in pll_clk_set_by_auto()150 best_diff_khz = diff_khz; in pll_clk_set_by_auto()
Completed in 13 milliseconds