Lines Matching full:pll_freq
85 u64 pll_freq; in ma35d1_calc_smic_pll_freq() local
94 pll_freq = (u64)parent_rate * n; in ma35d1_calc_smic_pll_freq()
95 div_u64(pll_freq, m * outdiv); in ma35d1_calc_smic_pll_freq()
96 return pll_freq; in ma35d1_calc_smic_pll_freq()
101 unsigned long pll_freq, x; in ma35d1_calc_pll_freq() local
112 pll_freq = (u64)parent_rate * n; in ma35d1_calc_pll_freq()
113 div_u64(pll_freq, m * p); in ma35d1_calc_pll_freq()
118 pll_freq = div_u64(parent_rate * n, 100 * m * p); in ma35d1_calc_pll_freq()
120 return pll_freq; in ma35d1_calc_pll_freq()
190 unsigned long pll_freq; in ma35d1_clk_pll_set_rate() local
196 ret = ma35d1_pll_find_closest(pll, rate, parent_rate, reg_ctl, &pll_freq); in ma35d1_clk_pll_set_rate()
225 unsigned long pll_freq; in ma35d1_clk_pll_recalc_rate() local
233 pll_freq = ma35d1_calc_smic_pll_freq(reg_ctl[0], parent_rate); in ma35d1_clk_pll_recalc_rate()
234 return pll_freq; in ma35d1_clk_pll_recalc_rate()
241 pll_freq = ma35d1_calc_pll_freq(pll->mode, reg_ctl, parent_rate); in ma35d1_clk_pll_recalc_rate()
242 return pll_freq; in ma35d1_clk_pll_recalc_rate()
252 unsigned long pll_freq; in ma35d1_clk_pll_round_rate() local
258 ret = ma35d1_pll_find_closest(pll, rate, *parent_rate, reg_ctl, &pll_freq); in ma35d1_clk_pll_round_rate()
265 pll_freq = ma35d1_calc_smic_pll_freq(reg_ctl[0], *parent_rate); in ma35d1_clk_pll_round_rate()
266 return pll_freq; in ma35d1_clk_pll_round_rate()
273 pll_freq = ma35d1_calc_pll_freq(pll->mode, reg_ctl, *parent_rate); in ma35d1_clk_pll_round_rate()
274 return pll_freq; in ma35d1_clk_pll_round_rate()