Home
last modified time | relevance | path

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

/external/u-boot/drivers/clk/aspeed/
Dclk_ast2500.c186 const ulong rate_khz = requested_rate / 1000; in ast2500_calc_clock_config() local
189 ulong delta = rate_khz; in ast2500_calc_clock_config()
195 it.num = (rate_khz * (it.post_div + 1) / input_rate_khz) in ast2500_calc_clock_config()
205 if (new_rate_khz > rate_khz) in ast2500_calc_clock_config()
208 if (new_rate_khz - rate_khz < delta) { in ast2500_calc_clock_config()
209 delta = new_rate_khz - rate_khz; in ast2500_calc_clock_config()