Home
last modified time | relevance | path

Searched refs:rate_khz (Results 1 – 2 of 2) sorted by relevance

/u-boot/drivers/clk/aspeed/
A Dclk_ast2500.c229 const ulong rate_khz = requested_rate / 1000; in ast2500_calc_clock_config() local
232 ulong delta = rate_khz; in ast2500_calc_clock_config()
244 it.num = (rate_khz * (it.post_div + 1) / input_rate_khz) in ast2500_calc_clock_config()
254 if (new_rate_khz > rate_khz) in ast2500_calc_clock_config()
257 if (new_rate_khz - rate_khz < delta) { in ast2500_calc_clock_config()
258 delta = new_rate_khz - rate_khz; in ast2500_calc_clock_config()
/u-boot/drivers/clk/rockchip/
A Dclk_px30.c108 u32 rate_khz = drate / KHz; in pll_clk_set_by_auto() local
115 postdiv1 = DIV_ROUND_UP(VCO_MIN_HZ / 1000, rate_khz); in pll_clk_set_by_auto()
121 vco_khz = rate_khz * postdiv1 * postdiv2; in pll_clk_set_by_auto()
126 __func__, rate_khz); in pll_clk_set_by_auto()
157 __func__, rate_khz, in pll_clk_set_by_auto()

Completed in 5 milliseconds