Lines Matching refs:alt_div
154 unsigned long alt_div = 0, alt_div_mask = DIV_MASK; in exynos_cpuclk_pre_rate_change() local
191 alt_div = DIV_ROUND_UP(alt_prate, tmp_rate) - 1; in exynos_cpuclk_pre_rate_change()
192 WARN_ON(alt_div >= MAX_DIV); in exynos_cpuclk_pre_rate_change()
199 alt_div |= E4210_DIV0_ATB_MASK; in exynos_cpuclk_pre_rate_change()
202 exynos_set_safe_div(base, alt_div, alt_div_mask); in exynos_cpuclk_pre_rate_change()
203 div0 |= alt_div; in exynos_cpuclk_pre_rate_change()
282 unsigned long alt_div = 0, alt_div_mask = DIV_MASK; in exynos5433_cpuclk_pre_rate_change() local
313 alt_div = DIV_ROUND_UP(alt_prate, tmp_rate) - 1; in exynos5433_cpuclk_pre_rate_change()
314 WARN_ON(alt_div >= MAX_DIV); in exynos5433_cpuclk_pre_rate_change()
316 exynos5433_set_safe_div(base, alt_div, alt_div_mask); in exynos5433_cpuclk_pre_rate_change()
317 div0 |= alt_div; in exynos5433_cpuclk_pre_rate_change()