Home
last modified time | relevance | path

Searched refs:pll2_n (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/clk/
H A Dclk-lmk04832.c379 unsigned int pll2_n, p, pll2_r; in lmk04832_vco_recalc_rate() local
395 pll2_n = FIELD_PREP(0x030000, tmp[0]) | in lmk04832_vco_recalc_rate()
407 pll2_misc)) * pll2_n * pll2_p[p] / pll2_r; in lmk04832_vco_recalc_rate()
464 unsigned int pll2_n, pll2_p, pll2_r; in lmk04832_calc_pll2_params() local
476 pll2_n = num >> 2; in lmk04832_calc_pll2_params()
479 pll2_n = num; in lmk04832_calc_pll2_params()
482 if (pll2_n < 1 || pll2_n > 0x03ffff) in lmk04832_calc_pll2_params()
487 *n = pll2_n; in lmk04832_calc_pll2_params()
491 return DIV_ROUND_CLOSEST(prate * 2 * pll2_p * pll2_n, pll2_r); in lmk04832_calc_pll2_params()