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

/linux-4.4.14/drivers/clk/rockchip/
H A Dclk-cpu.c127 unsigned long alt_prate, alt_div; rockchip_cpuclk_pre_rate_change() local
130 alt_prate = clk_get_rate(cpuclk->alt_parent); rockchip_cpuclk_pre_rate_change()
140 if (alt_prate > ndata->old_rate) { rockchip_cpuclk_pre_rate_change()
142 alt_div = DIV_ROUND_UP(alt_prate, ndata->old_rate) - 1; rockchip_cpuclk_pre_rate_change()
157 __func__, alt_div, alt_prate, ndata->old_rate); rockchip_cpuclk_pre_rate_change()
/linux-4.4.14/drivers/clk/samsung/
H A Dclk-cpu.c148 unsigned long alt_prate = clk_get_rate(cpuclk->alt_parent); exynos_cpuclk_pre_rate_change() local
183 if (alt_prate > ndata->old_rate || ndata->old_rate > ndata->new_rate) { exynos_cpuclk_pre_rate_change()
186 alt_div = DIV_ROUND_UP(alt_prate, tmp_rate) - 1; exynos_cpuclk_pre_rate_change()

Completed in 120 milliseconds