Lines Matching full:mux_reg

143 static void wait_until_mux_stable(void __iomem *mux_reg, u32 mux_pos,  in wait_until_mux_stable()  argument
149 if (((readl(mux_reg) >> mux_pos) & mask) == mux_value) in wait_until_mux_stable()
153 if (((readl(mux_reg) >> mux_pos) & mask) == mux_value) in wait_until_mux_stable()
203 unsigned long div0, div1 = 0, mux_reg; in exynos_cpuclk_pre_rate_change() local
256 mux_reg = readl(base + regs->mux_sel); in exynos_cpuclk_pre_rate_change()
257 writel(mux_reg | (1 << 16), base + regs->mux_sel); in exynos_cpuclk_pre_rate_change()
282 unsigned long mux_reg; in exynos_cpuclk_post_rate_change() local
297 mux_reg = readl(base + regs->mux_sel); in exynos_cpuclk_post_rate_change()
298 writel(mux_reg & ~(1 << 16), base + regs->mux_sel); in exynos_cpuclk_post_rate_change()
330 unsigned long div0, div1 = 0, mux_reg; in exynos5433_cpuclk_pre_rate_change() local
369 mux_reg = readl(base + regs->mux_sel); in exynos5433_cpuclk_pre_rate_change()
370 writel(mux_reg | 1, base + regs->mux_sel); in exynos5433_cpuclk_pre_rate_change()
391 unsigned long mux_reg; in exynos5433_cpuclk_post_rate_change() local
397 mux_reg = readl(base + regs->mux_sel); in exynos5433_cpuclk_post_rate_change()
398 writel(mux_reg & ~1, base + regs->mux_sel); in exynos5433_cpuclk_post_rate_change()
486 u32 mux_reg; in exynos850_cpuclk_pre_rate_change() local
520 mux_reg = readl(base + regs->mux); in exynos850_cpuclk_pre_rate_change()
521 writel(mux_reg | 1, base + regs->mux); in exynos850_cpuclk_pre_rate_change()
548 u32 mux_reg; in exynos850_cpuclk_post_rate_change() local
557 mux_reg = readl(base + regs->mux); in exynos850_cpuclk_post_rate_change()
558 writel(mux_reg & ~1, base + regs->mux); in exynos850_cpuclk_post_rate_change()