Home
last modified time | relevance | path

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

/openbmc/u-boot/board/spear/x600/
H A Dfpga.c192 int pll2_m, pll2_n, pll2_p, expi_x, expi_y; in expi_setup() local
196 pll2_p = 1; in expi_setup()
213 writel((pll2_m << 24) | (pll2_p << 8) | (pll2_n), &misc->pll2_frq); in expi_setup()
/openbmc/linux/drivers/clk/
H A Dclk-lmk04832.c378 const unsigned int pll2_p[] = {8, 2, 2, 3, 4, 5, 6, 7}; in lmk04832_vco_recalc_rate() local
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
468 pll2_p = 2; in lmk04832_calc_pll2_params()
488 *p = pll2_p; in lmk04832_calc_pll2_params()
491 return DIV_ROUND_CLOSEST(prate * 2 * pll2_p * pll2_n, pll2_r); in lmk04832_calc_pll2_params()