Searched refs:jz_clk_main_divs (Results 1 – 1 of 1) sorted by relevance
238 static const int jz_clk_main_divs[] = {1, 2, 3, 4, 6, 8, 12, 16, 24, 32}; variable266 if (div >= ARRAY_SIZE(jz_clk_main_divs)) in jz_clk_main_get_rate()267 div = ARRAY_SIZE(jz_clk_main_divs) - 1; in jz_clk_main_get_rate()269 return jz_clk_pll_get_rate(clk->parent) / jz_clk_main_divs[div]; in jz_clk_main_get_rate()