Home
last modified time | relevance | path

Searched refs:fref_khz (Results 1 – 3 of 3) sorted by relevance

/external/u-boot/drivers/clk/rockchip/
Dclk_rk3128.c80 u32 fref_khz; in pll_para_config() local
112 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()
Dclk_rk3288.c229 uint fref_khz; in pll_para_config() local
265 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()
Dclk_rk3399.c338 u32 fref_khz; in pll_para_config() local
370 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()