Searched refs:rate_in (Results 1 – 3 of 3) sorted by relevance
/u-boot/drivers/clk/kendryte/ |
A D | pll.c | 262 if (rate_in > 1750000000 || rate_in < 13300000) in k210_pll_calc_config() 268 if (rate > rate_in && ratio > (64ULL << 32)) in k210_pll_calc_config() 280 max_r = DIV_ROUND_DOWN_ULL(rate_in, 13300000); in k210_pll_calc_config() 302 if (rate > rate_in) { in k210_pll_calc_config() 429 long long rate_in = clk_get_parent_rate(clk); in k210_pll_set_rate() local 434 if (rate_in < 0) in k210_pll_set_rate() 435 return rate_in; in k210_pll_set_rate() 438 rate, rate_in); in k210_pll_set_rate() 472 long long rate_in = clk_get_parent_rate(clk); in k210_pll_get_rate() local 477 if (rate_in < 0 || (reg & K210_PLL_BYPASS)) in k210_pll_get_rate() [all …]
|
/u-boot/test/dm/ |
A D | k210_pll.c | 13 static int dm_test_k210_pll_calc_config(u32 rate, u32 rate_in, in dm_test_k210_pll_calc_config() argument 21 max_r = min(16ULL, DIV_ROUND_DOWN_ULL(rate_in, 13300000)); in dm_test_k210_pll_calc_config() 22 inv_ratio = DIV_ROUND_CLOSEST_ULL((u64)rate_in << 32, rate); in dm_test_k210_pll_calc_config() 28 u64 vco = DIV_ROUND_CLOSEST_ULL(rate_in * f, r); in dm_test_k210_pll_calc_config()
|
/u-boot/include/kendryte/ |
A D | pll.h | 45 TEST_STATIC int k210_pll_calc_config(u32 rate, u32 rate_in,
|
Completed in 5 milliseconds