Home
last modified time | relevance | path

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

/external/u-boot/drivers/clk/rockchip/
Dclk_rk3128.c81 u32 diff_khz, best_diff_khz; in pll_para_config() local
110 best_diff_khz = vco_khz; in pll_para_config()
111 for (refdiv = 1; refdiv < max_refdiv && best_diff_khz; refdiv++) { in pll_para_config()
123 if (diff_khz >= best_diff_khz) in pll_para_config()
126 best_diff_khz = diff_khz; in pll_para_config()
131 if (best_diff_khz > 4 * (1000)) { in pll_para_config()
134 best_diff_khz * 1000); in pll_para_config()
Dclk_rk3288.c230 uint diff_khz, best_diff_khz; in pll_para_config() local
263 best_diff_khz = vco_khz; in pll_para_config()
264 for (nr = 1; nr < max_nr && best_diff_khz; nr++) { in pll_para_config()
280 if (diff_khz >= best_diff_khz) in pll_para_config()
283 best_diff_khz = diff_khz; in pll_para_config()
288 if (best_diff_khz > 4 * 1000) { in pll_para_config()
290 __func__, freq_hz, best_diff_khz * 1000); in pll_para_config()
Dclk_rk3399.c339 u32 diff_khz, best_diff_khz; in pll_para_config() local
368 best_diff_khz = vco_khz; in pll_para_config()
369 for (refdiv = 1; refdiv < max_refdiv && best_diff_khz; refdiv++) { in pll_para_config()
381 if (diff_khz >= best_diff_khz) in pll_para_config()
384 best_diff_khz = diff_khz; in pll_para_config()
389 if (best_diff_khz > 4 * (MHz/KHz)) { in pll_para_config()
392 best_diff_khz * KHz); in pll_para_config()