Lines Matching refs:prate

105 			      int sdiv, int kdiv, unsigned long prate)  in pll14xx_calc_rate()  argument
107 u64 fvco = prate; in pll14xx_calc_rate()
119 unsigned long rate, unsigned long prate) in pll1443x_calc_kdiv() argument
124 kdiv = ((rate * ((pdiv * 65536) << sdiv) + prate / 2) / prate) - (mdiv * 65536); in pll1443x_calc_kdiv()
130 unsigned long prate, struct imx_pll14xx_rate_table *t) in imx_pll14xx_calc_settings() argument
153 clk_hw_get_name(&pll->hw), prate, rate); in imx_pll14xx_calc_settings()
169 rate_min = pll14xx_calc_rate(pll, mdiv, pdiv, sdiv, KDIV_MIN, prate); in imx_pll14xx_calc_settings()
170 rate_max = pll14xx_calc_rate(pll, mdiv, pdiv, sdiv, KDIV_MAX, prate); in imx_pll14xx_calc_settings()
173 kdiv = pll1443x_calc_kdiv(mdiv, pdiv, sdiv, rate, prate); in imx_pll14xx_calc_settings()
175 clk_hw_get_name(&pll->hw), prate, rate, in imx_pll14xx_calc_settings()
177 fvco = pll14xx_calc_rate(pll, mdiv, pdiv, sdiv, kdiv, prate); in imx_pll14xx_calc_settings()
190 mdiv = DIV_ROUND_CLOSEST(rate * (pdiv << sdiv), prate); in imx_pll14xx_calc_settings()
193 kdiv = pll1443x_calc_kdiv(mdiv, pdiv, sdiv, rate, prate); in imx_pll14xx_calc_settings()
194 fvco = pll14xx_calc_rate(pll, mdiv, pdiv, sdiv, kdiv, prate); in imx_pll14xx_calc_settings()
213 clk_hw_get_name(&pll->hw), prate, rate, t->rate, t->pdiv, t->sdiv, in imx_pll14xx_calc_settings()
218 unsigned long *prate) in clk_pll1416x_round_rate() argument
234 unsigned long *prate) in clk_pll1443x_round_rate() argument
239 imx_pll14xx_calc_settings(pll, rate, *prate, &t); in clk_pll1443x_round_rate()
285 unsigned long prate) in clk_pll1416x_set_rate() argument
351 unsigned long prate) in clk_pll1443x_set_rate() argument
358 imx_pll14xx_calc_settings(pll, drate, prate, &rate); in clk_pll1443x_set_rate()