Home
last modified time | relevance | path

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

/linux/drivers/clk/samsung/
H A Dclk-cpu.c202 unsigned long alt_prate = clk_hw_get_rate(cpuclk->alt_parent); in exynos_cpuclk_pre_rate_change() local
236 if (alt_prate > ndata->old_rate || ndata->old_rate > ndata->new_rate) { in exynos_cpuclk_pre_rate_change()
240 alt_div = DIV_ROUND_UP(alt_prate, tmp_rate) - 1; in exynos_cpuclk_pre_rate_change()
329 unsigned long alt_prate = clk_hw_get_rate(cpuclk->alt_parent); in exynos5433_cpuclk_pre_rate_change() local
357 if (alt_prate > ndata->old_rate || ndata->old_rate > ndata->new_rate) { in exynos5433_cpuclk_pre_rate_change()
361 alt_div = DIV_ROUND_UP(alt_prate, tmp_rate) - 1; in exynos5433_cpuclk_pre_rate_change()
484 unsigned long alt_prate = clk_hw_get_rate(alt_parent); in exynos850_cpuclk_pre_rate_change() local
509 if (alt_prate > ndata->old_rate || ndata->old_rate > ndata->new_rate) { in exynos850_cpuclk_pre_rate_change()
/linux/drivers/clk/rockchip/
H A Dclk-cpu.c157 unsigned long alt_prate, alt_div; in rockchip_cpuclk_pre_rate_change() local
169 alt_prate = clk_get_rate(cpuclk->alt_parent); in rockchip_cpuclk_pre_rate_change()
179 if (alt_prate > ndata->old_rate) { in rockchip_cpuclk_pre_rate_change()
181 alt_div = DIV_ROUND_UP(alt_prate, ndata->old_rate) - 1; in rockchip_cpuclk_pre_rate_change()
196 __func__, alt_div, alt_prate, ndata->old_rate); in rockchip_cpuclk_pre_rate_change()