Home
last modified time | relevance | path

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

/openbmc/linux/drivers/clk/samsung/
H A Dclk-pll.c1193 u32 mdiv, pdiv, sdiv, pll_con0, pll_con2; in samsung_pll2650xx_recalc_rate() local
1198 pll_con2 = readl_relaxed(pll->con_reg + 8); in samsung_pll2650xx_recalc_rate()
1202 kdiv = (s16)(pll_con2 & PLL2650XX_KDIV_MASK); in samsung_pll2650xx_recalc_rate()
1215 u32 pll_con0, pll_con2; in samsung_pll2650xx_set_rate() local
1226 pll_con2 = readl_relaxed(pll->con_reg + 8); in samsung_pll2650xx_set_rate()
1238 pll_con2 &= ~(PLL2650XX_KDIV_MASK << PLL2650XX_KDIV_SHIFT); in samsung_pll2650xx_set_rate()
1239 pll_con2 |= ((~(rate->kdiv) + 1) & PLL2650XX_KDIV_MASK) in samsung_pll2650xx_set_rate()
1246 writel_relaxed(pll_con2, pll->con_reg + 8); in samsung_pll2650xx_set_rate()