Home
last modified time | relevance | path

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

/u-boot/drivers/clk/
A Dclk-hsdk-cgu.c598 int i, freq_idx = -1; in common_div_clk_set() local
609 freq_idx = i; in common_div_clk_set()
614 if (freq_idx < 0) { in common_div_clk_set()
620 if (cfg->pll_rate[freq_idx] < pll_rate) in common_div_clk_set()
621 ret = pll_set(sclk, cfg->pll_rate[freq_idx]); in common_div_clk_set()
626 hsdk_idiv_write(clk, cfg->idiv[i].val[freq_idx]); in common_div_clk_set()
630 if (cfg->pll_rate[freq_idx] >= pll_rate) in common_div_clk_set()
631 ret = pll_set(sclk, cfg->pll_rate[freq_idx]); in common_div_clk_set()

Completed in 4 milliseconds