Home
last modified time | relevance | path

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

/external/u-boot/drivers/clk/
Dclk-hsdk-cgu.c160 static const struct hsdk_axi_clk_cfg axi_clk_cfg = { variable
545 if (axi_clk_cfg.clk_rate[i] == rate) { in axi_clk_set()
557 if (axi_clk_cfg.pll_rate[freq_idx] < pll_rate) in axi_clk_set()
558 ret = pll_set(sclk, axi_clk_cfg.pll_rate[freq_idx]); in axi_clk_set()
562 clk->idiv_regs = clk->cgu_regs + axi_clk_cfg.idiv[i].oft; in axi_clk_set()
563 hsdk_idiv_write(clk, axi_clk_cfg.idiv[i].val[freq_idx]); in axi_clk_set()
567 if (axi_clk_cfg.pll_rate[freq_idx] >= pll_rate) in axi_clk_set()
568 ret = pll_set(sclk, axi_clk_cfg.pll_rate[freq_idx]); in axi_clk_set()