Home
last modified time | relevance | path

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

/openbmc/linux/drivers/clk/berlin/
H A Dberlin2-pll.c46 u32 val, fbdiv, rfdiv, vcodivsel, vcodiv; in berlin2_pll_recalc_rate() local
51 rfdiv = (val >> map->rfdiv_shift) & RFDIV_MASK; in berlin2_pll_recalc_rate()
52 if (rfdiv == 0) { in berlin2_pll_recalc_rate()
54 rfdiv = 1; in berlin2_pll_recalc_rate()
67 do_div(rate, rfdiv * vcodiv); in berlin2_pll_recalc_rate()