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.c2178 struct stm32_pll_dt_cfg *pll_conf = &pdata->pll[pll_idx]; in stm32mp1_pll_configure_src() local
2180 if (!pll_conf->status) { in stm32mp1_pll_configure_src()
2184 return stm32_clk_configure_mux(priv, pll_conf->src); in stm32mp1_pll_configure_src()
2191 struct stm32_pll_dt_cfg *pll_conf = pdata->pll; in stm32mp1_clk_init() local
2201 if (!pll_conf[_PLL1].status) { in stm32mp1_clk_init()
2202 ret = clk_get_pll1_settings(pll_conf[_PLL2].src, PLL1_NOMINAL_FREQ_IN_KHZ, in stm32mp1_clk_init()
2203 pll_conf[_PLL1].cfg, &pll_conf[_PLL1].frac); in stm32mp1_clk_init()
2208 pll_conf[_PLL1].status = true; in stm32mp1_clk_init()
2209 pll_conf[_PLL1].src = pll_conf[_PLL2].src; in stm32mp1_clk_init()
2262 pll_conf[_PLL3].src, in stm32mp1_clk_init()
[all …]
H A Dclk-stm32mp2.c2004 struct stm32_pll_dt_cfg *pll_conf) in _clk_stm32_pll1_init() argument
2012 ret = stm32_clk_configure_mux(priv, pll_conf->src); in _clk_stm32_pll1_init()
2028 stm32mp2_a35_pll1_config(pll_conf->cfg[FBDIV], pll_conf->cfg[REFDIV], in _clk_stm32_pll1_init()
2029 pll_conf->cfg[POSTDIV1], pll_conf->cfg[POSTDIV2]); in _clk_stm32_pll1_init()
2057 struct stm32_pll_dt_cfg *pll_conf) in _clk_stm32_pll_init() argument
2066 ret = stm32_clk_configure_mux(priv, pll_conf->src); in _clk_stm32_pll_init()
2076 ret = clk_stm32_pll_config_output(priv, pll, pll_conf->cfg, pll_conf->frac); in _clk_stm32_pll_init()
2081 if (pll_conf->csg_enabled) { in _clk_stm32_pll_init()
2082 clk_stm32_pll_config_csg(priv, pll, pll_conf->csg); in _clk_stm32_pll_init()
2097 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.c1626 struct stm32_pll_dt_cfg *pll_conf) in _clk_stm32_pll_init() argument
1633 ret = stm32_clk_configure_mux(priv, pll_conf->vco.src); in _clk_stm32_pll_init()
1640 clk_stm32_pll_config_out(priv, pll, &pll_conf->output); in _clk_stm32_pll_init()
1651 clk_stm32_pll_config_vco(priv, pll, &pll_conf->vco); in _clk_stm32_pll_init()
1652 clk_stm32_pll_config_out(priv, pll, &pll_conf->output); in _clk_stm32_pll_init()
1653 clk_stm32_pll_config_csg(priv, pll, &pll_conf->vco); in _clk_stm32_pll_init()
1667 struct stm32_pll_dt_cfg *pll_conf = clk_stm32_pll_get_pdata(pll_idx); in clk_stm32_pll_init() local
1669 if (pll_conf->vco.status != 0U) { in clk_stm32_pll_init()
1670 return _clk_stm32_pll_init(priv, pll_idx, pll_conf); in clk_stm32_pll_init()