Home
last modified time | relevance | path

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

/rk3399_ARM-atf/drivers/st/clk/
H A Dstm32mp1_clk.c2169 struct stm32_pll_dt_cfg *pll_conf = &pdata->pll[pll_idx]; in stm32mp1_pll_configure_src() local
2171 if (!pll_conf->status) { in stm32mp1_pll_configure_src()
2175 return stm32_clk_configure_mux(priv, pll_conf->src); in stm32mp1_pll_configure_src()
2182 struct stm32_pll_dt_cfg *pll_conf = pdata->pll; in stm32mp1_clk_init() local
2192 if (!pll_conf[_PLL1].status) { in stm32mp1_clk_init()
2193 ret = clk_get_pll1_settings(pll_conf[_PLL2].src, PLL1_NOMINAL_FREQ_IN_KHZ, in stm32mp1_clk_init()
2194 pll_conf[_PLL1].cfg, &pll_conf[_PLL1].frac); in stm32mp1_clk_init()
2199 pll_conf[_PLL1].status = true; in stm32mp1_clk_init()
2200 pll_conf[_PLL1].src = pll_conf[_PLL2].src; in stm32mp1_clk_init()
2253 pll_conf[_PLL3].src, in stm32mp1_clk_init()
[all …]
H A Dclk-stm32mp2.c1738 struct stm32_pll_dt_cfg *pll_conf) in _clk_stm32_pll1_init() argument
1746 ret = stm32_clk_configure_mux(priv, pll_conf->src); in _clk_stm32_pll1_init()
1762 stm32mp2_a35_pll1_config(pll_conf->cfg[FBDIV], pll_conf->cfg[REFDIV], in _clk_stm32_pll1_init()
1763 pll_conf->cfg[POSTDIV1], pll_conf->cfg[POSTDIV2]); in _clk_stm32_pll1_init()
1791 struct stm32_pll_dt_cfg *pll_conf) in _clk_stm32_pll_init() argument
1800 ret = stm32_clk_configure_mux(priv, pll_conf->src); in _clk_stm32_pll_init()
1810 ret = clk_stm32_pll_config_output(priv, pll, pll_conf->cfg, pll_conf->frac); in _clk_stm32_pll_init()
1815 if (pll_conf->csg_enabled) { in _clk_stm32_pll_init()
1816 clk_stm32_pll_config_csg(priv, pll, pll_conf->csg); in _clk_stm32_pll_init()
1831 struct stm32_pll_dt_cfg *pll_conf = clk_stm32_pll_get_pdata(pll_idx); in clk_stm32_pll_init() local
[all …]
H A Dclk-stm32mp13.c1509 struct stm32_pll_dt_cfg *pll_conf) in _clk_stm32_pll_init() argument
1516 ret = stm32_clk_configure_mux(priv, pll_conf->vco.src); in _clk_stm32_pll_init()
1523 clk_stm32_pll_config_out(priv, pll, &pll_conf->output); in _clk_stm32_pll_init()
1534 clk_stm32_pll_config_vco(priv, pll, &pll_conf->vco); in _clk_stm32_pll_init()
1535 clk_stm32_pll_config_out(priv, pll, &pll_conf->output); in _clk_stm32_pll_init()
1536 clk_stm32_pll_config_csg(priv, pll, &pll_conf->vco); in _clk_stm32_pll_init()
1550 struct stm32_pll_dt_cfg *pll_conf = clk_stm32_pll_get_pdata(pll_idx); in clk_stm32_pll_init() local
1552 if (pll_conf->vco.status != 0U) { in clk_stm32_pll_init()
1553 return _clk_stm32_pll_init(priv, pll_idx, pll_conf); in clk_stm32_pll_init()