Searched refs:vco_khz (Results 1 – 4 of 4) sorted by relevance
84 u32 vco_khz; in pll_para_config() local98 vco_khz = freq_khz * postdiv1 * postdiv2; in pll_para_config()100 if (vco_khz < (VCO_MIN_HZ / 1000) || vco_khz > (VCO_MAX_HZ / 1000) || in pll_para_config()110 best_diff_khz = vco_khz; 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()
294 u32 vco_khz = OSC_HZ / 1000 * div->fbdiv / div->refdiv; in rkclk_set_pll() local295 u32 output_khz = vco_khz / div->postdiv1 / div->postdiv2; in rkclk_set_pll()300 div->postdiv2, vco_khz, output_khz); in rkclk_set_pll()301 assert(vco_khz >= VCO_MIN_KHZ && vco_khz <= VCO_MAX_KHZ && in rkclk_set_pll()342 u32 vco_khz; in pll_para_config() local356 vco_khz = freq_khz * postdiv1 * postdiv2; in pll_para_config()358 if (vco_khz < VCO_MIN_KHZ || vco_khz > VCO_MAX_KHZ || in pll_para_config()368 best_diff_khz = vco_khz; 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()
232 uint vco_khz; in pll_para_config() local251 vco_khz = freq_khz * no; in pll_para_config()253 vco_khz *= *ext_div; in pll_para_config()255 if (vco_khz < VCO_MIN_KHZ || vco_khz > VCO_MAX_KHZ || no > max_no) { in pll_para_config()263 best_diff_khz = vco_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()
241 u32 vco_khz = OSC_HZ / 1000 * div->fbdiv / div->refdiv; in rkclk_set_pll() local242 u32 output_khz = vco_khz / div->postdiv1 / div->postdiv2; in rkclk_set_pll()247 div->postdiv2, vco_khz, output_khz); in rkclk_set_pll()248 assert(vco_khz >= VCO_MIN_KHZ && vco_khz <= VCO_MAX_KHZ && in rkclk_set_pll()