Home
last modified time | relevance | path

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

/rk3399_rockchip-uboot/drivers/clk/aspeed/
H A Dclk_ast2500.c187 const ulong rate_khz = requested_rate / 1000; in ast2500_calc_clock_config() local
190 ulong delta = rate_khz; in ast2500_calc_clock_config()
196 it.num = (rate_khz * (it.post_div + 1) / input_rate_khz) in ast2500_calc_clock_config()
206 if (new_rate_khz > rate_khz) in ast2500_calc_clock_config()
209 if (new_rate_khz - rate_khz < delta) { in ast2500_calc_clock_config()
210 delta = new_rate_khz - rate_khz; in ast2500_calc_clock_config()
/rk3399_rockchip-uboot/drivers/clk/rockchip/
H A Dclk_px30.c117 u32 rate_khz = drate / KHz; in pll_clk_set_by_auto() local
124 postdiv1 = DIV_ROUND_UP(VCO_MIN_HZ / 1000, rate_khz); in pll_clk_set_by_auto()
130 vco_khz = rate_khz * postdiv1 * postdiv2; in pll_clk_set_by_auto()
135 __func__, rate_khz); in pll_clk_set_by_auto()
165 __func__, rate_khz, in pll_clk_set_by_auto()