Lines Matching refs:pll_param
60 struct pll_param { struct
551 static int calc_pll_params(u32 ref, u32 target, struct pll_param *pll) in calc_pll_params()
645 static int config_pll_clk(enum pll_clocks index, struct pll_param *pll_param) in config_pll_clk() argument
655 CHANGE_PLL_SETTINGS(pll, pll_param->pd, in config_pll_clk()
656 pll_param->mfi, pll_param->mfn, in config_pll_clk()
657 pll_param->mfd); in config_pll_clk()
666 CHANGE_PLL_SETTINGS(pll, pll_param->pd, in config_pll_clk()
667 pll_param->mfi, pll_param->mfn, in config_pll_clk()
668 pll_param->mfd); in config_pll_clk()
677 CHANGE_PLL_SETTINGS(pll, pll_param->pd, in config_pll_clk()
678 pll_param->mfi, pll_param->mfn, in config_pll_clk()
679 pll_param->mfd); in config_pll_clk()
689 CHANGE_PLL_SETTINGS(pll, pll_param->pd, in config_pll_clk()
690 pll_param->mfi, pll_param->mfn, in config_pll_clk()
691 pll_param->mfd); in config_pll_clk()
708 struct pll_param pll_param; in config_core_clk() local
710 memset(&pll_param, 0, sizeof(struct pll_param)); in config_core_clk()
713 ret = calc_pll_params(ref, freq, &pll_param); in config_core_clk()
719 return config_pll_clk(PLL1_CLOCK, &pll_param); in config_core_clk()
767 struct pll_param pll_param; in config_periph_clk() local
769 memset(&pll_param, 0, sizeof(struct pll_param)); in config_periph_clk()
772 ret = calc_pll_params(ref, freq, &pll_param); in config_periph_clk()
781 return config_pll_clk(PLL1_CLOCK, &pll_param); in config_periph_clk()
784 return config_pll_clk(PLL3_CLOCK, &pll_param); in config_periph_clk()