Home
last modified time | relevance | path

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

/arch/arm/plat-samsung/include/plat/
Dpll.h132 static inline unsigned long s5p_get_pll35xx(unsigned long baseclk, u32 pll_con) in s5p_get_pll35xx() argument
137 mdiv = (pll_con >> PLL35XX_MDIV_SHIFT) & PLL35XX_MDIV_MASK; in s5p_get_pll35xx()
138 pdiv = (pll_con >> PLL35XX_PDIV_SHIFT) & PLL35XX_PDIV_MASK; in s5p_get_pll35xx()
139 sdiv = (pll_con >> PLL35XX_SDIV_SHIFT) & PLL35XX_SDIV_MASK; in s5p_get_pll35xx()
189 static inline unsigned long s5p_get_pll45xx(unsigned long baseclk, u32 pll_con, in s5p_get_pll45xx() argument
195 mdiv = (pll_con >> PLL45XX_MDIV_SHIFT) & PLL45XX_MDIV_MASK; in s5p_get_pll45xx()
196 pdiv = (pll_con >> PLL45XX_PDIV_SHIFT) & PLL45XX_PDIV_MASK; in s5p_get_pll45xx()
197 sdiv = (pll_con >> PLL45XX_SDIV_SHIFT) & PLL45XX_SDIV_MASK; in s5p_get_pll45xx()
276 u32 pll_con, u32 pll_conk) in s5p_get_pll90xx() argument
282 mdiv = (pll_con >> PLL90XX_MDIV_SHIFT) & PLL90XX_MDIV_MASK; in s5p_get_pll90xx()
[all …]
/arch/arm/mach-exynos/
Dpm.c147 unsigned long pll_con, locktime, lockcnt; in exynos4_restore_pll() local
157 pll_con = exynos4_epll_save[0].val; in exynos4_restore_pll()
159 if (pll_con & (1 << 31)) { in exynos4_restore_pll()
160 pll_con &= (PLL46XX_PDIV_MASK << PLL46XX_PDIV_SHIFT); in exynos4_restore_pll()
161 p_div = (pll_con >> PLL46XX_PDIV_SHIFT); in exynos4_restore_pll()
178 pll_con = exynos4_vpll_save[0].val; in exynos4_restore_pll()
180 if (pll_con & (1 << 31)) { in exynos4_restore_pll()
197 pll_con = __raw_readl(EXYNOS4_EPLL_CON0); in exynos4_restore_pll()
198 if (pll_con & (1 << EXYNOS4_EPLLCON0_LOCKED_SHIFT)) in exynos4_restore_pll()
203 pll_con = __raw_readl(EXYNOS4_VPLL_CON0); in exynos4_restore_pll()
[all …]