Lines Matching refs:n2
33 unsigned int n2) in rate_from_params() argument
35 unsigned long divisor = (SDM_DEN * n2) + sdm; in rate_from_params()
37 if (n2 < N2_MIN) in rate_from_params()
46 unsigned int *n2, in params_from_rate() argument
65 *n2 = N2_MIN; in params_from_rate()
68 *n2 = N2_MAX; in params_from_rate()
71 *n2 = div; in params_from_rate()
80 unsigned int sdm, n2; in mpll_recalc_rate() local
84 n2 = meson_parm_read(clk->map, &mpll->n2); in mpll_recalc_rate()
86 rate = rate_from_params(parent_rate, sdm, n2); in mpll_recalc_rate()
94 unsigned int sdm, n2; in mpll_determine_rate() local
97 params_from_rate(req->rate, req->best_parent_rate, &sdm, &n2, in mpll_determine_rate()
100 rate = rate_from_params(req->best_parent_rate, sdm, n2); in mpll_determine_rate()
114 unsigned int sdm, n2; in mpll_set_rate() local
117 params_from_rate(rate, parent_rate, &sdm, &n2, mpll->flags); in mpll_set_rate()
128 meson_parm_write(clk->map, &mpll->n2, n2); in mpll_set_rate()