Lines Matching refs:nf
76 unsigned long nf, in ccu_pll_calc_freq() argument
82 tmp *= nf; in ccu_pll_calc_freq()
156 unsigned long nr, nf, od; in ccu_pll_recalc_rate() local
161 nf = FIELD_GET(CCU_PLL_CTL_CLKF_MASK, val) + 1; in ccu_pll_recalc_rate()
164 return ccu_pll_calc_freq(parent_rate, nr, nf, od); in ccu_pll_recalc_rate()
168 unsigned long *nr, unsigned long *nf, in ccu_pll_calc_factors() argument
225 *nf = n1; in ccu_pll_calc_factors()
234 unsigned long nr = 1, nf = 1, od = 1; in ccu_pll_round_rate() local
236 ccu_pll_calc_factors(rate, *parent_rate, &nr, &nf, &od); in ccu_pll_round_rate()
238 return ccu_pll_calc_freq(*parent_rate, nr, nf, od); in ccu_pll_round_rate()
249 unsigned long nr, nf, od; in ccu_pll_set_rate_reset() local
254 ccu_pll_calc_factors(rate, parent_rate, &nr, &nf, &od); in ccu_pll_set_rate_reset()
259 FIELD_PREP(CCU_PLL_CTL_CLKF_MASK, nf - 1) | in ccu_pll_set_rate_reset()
280 unsigned long nr, nf, od; in ccu_pll_set_rate_norst() local
284 ccu_pll_calc_factors(rate, parent_rate, &nr, &nf, &od); in ccu_pll_set_rate_norst()
293 FIELD_PREP(CCU_PLL_CTL_CLKF_MASK, nf - 1) | in ccu_pll_set_rate_norst()