Home
last modified time | relevance | path

Searched refs:old_rate (Results 1 – 11 of 11) sorted by relevance

/linux-4.19.296/drivers/clk/rockchip/
Dclk-cpu.c149 if (alt_prate > ndata->old_rate) { in rockchip_cpuclk_pre_rate_change()
151 alt_div = DIV_ROUND_UP(alt_prate, ndata->old_rate) - 1; in rockchip_cpuclk_pre_rate_change()
166 __func__, alt_div, alt_prate, ndata->old_rate); in rockchip_cpuclk_pre_rate_change()
202 if (ndata->old_rate < ndata->new_rate) in rockchip_cpuclk_post_rate_change()
219 if (ndata->old_rate > ndata->new_rate) in rockchip_cpuclk_post_rate_change()
240 __func__, event, ndata->old_rate, ndata->new_rate); in rockchip_cpuclk_notifier_cb()
Dclk-mmc-phase.c187 if (ndata->old_rate <= ndata->new_rate) in rockchip_mmc_clk_rate_notify()
Dclk.c154 __func__, event, ndata->old_rate, ndata->new_rate); in rockchip_clk_frac_notifier_cb()
/linux-4.19.296/drivers/clk/samsung/
Dclk-cpu.c190 if (alt_prate > ndata->old_rate || ndata->old_rate > ndata->new_rate) { in exynos_cpuclk_pre_rate_change()
191 unsigned long tmp_rate = min(ndata->old_rate, ndata->new_rate); in exynos_cpuclk_pre_rate_change()
312 if (alt_prate > ndata->old_rate || ndata->old_rate > ndata->new_rate) { in exynos5433_cpuclk_pre_rate_change()
313 unsigned long tmp_rate = min(ndata->old_rate, ndata->new_rate); in exynos5433_cpuclk_pre_rate_change()
/linux-4.19.296/drivers/cpufreq/
Dhighbank-cpufreq.c43 if (clk_data->new_rate > clk_data->old_rate) in hb_cpufreq_clk_notify()
48 if (clk_data->new_rate < clk_data->old_rate) in hb_cpufreq_clk_notify()
/linux-4.19.296/drivers/clk/meson/
Dclk-pll.c194 unsigned long old_rate; in meson_clk_pll_set_rate() local
200 old_rate = clk_hw_get_rate(hw); in meson_clk_pll_set_rate()
229 __func__, old_rate); in meson_clk_pll_set_rate()
236 meson_clk_pll_set_rate(hw, old_rate, parent_rate); in meson_clk_pll_set_rate()
/linux-4.19.296/drivers/i2c/busses/
Di2c-cadence.c794 if (ndata->new_rate > ndata->old_rate) in cdns_i2c_clk_notifier_cb()
802 if (ndata->new_rate < ndata->old_rate) in cdns_i2c_clk_notifier_cb()
807 if (ndata->new_rate > ndata->old_rate) in cdns_i2c_clk_notifier_cb()
808 cdns_i2c_setclk(ndata->old_rate, id); in cdns_i2c_clk_notifier_cb()
Di2c-rk3x.c945 if (ndata->new_rate > ndata->old_rate) in rk3x_i2c_clk_notifier_cb()
951 if (ndata->new_rate < ndata->old_rate) in rk3x_i2c_clk_notifier_cb()
956 if (ndata->new_rate > ndata->old_rate) in rk3x_i2c_clk_notifier_cb()
957 rk3x_i2c_adapt_div(i2c, ndata->old_rate); in rk3x_i2c_clk_notifier_cb()
/linux-4.19.296/drivers/clk/
Dclk.c1289 unsigned long old_rate, unsigned long new_rate) in __clk_notify() argument
1295 cnd.old_rate = old_rate; in __clk_notify()
1398 unsigned long old_rate; in __clk_recalc_rates() local
1404 old_rate = core->rate; in __clk_recalc_rates()
1416 __clk_notify(core, msg, old_rate, core->rate); in __clk_recalc_rates()
1802 unsigned long old_rate; in clk_change_rate() local
1808 old_rate = core->rate; in clk_change_rate()
1871 if (core->notifier_count && old_rate != core->rate) in clk_change_rate()
1872 __clk_notify(core, POST_RATE_CHANGE, old_rate, core->rate); in clk_change_rate()
/linux-4.19.296/include/linux/
Dclk.h76 unsigned long old_rate; member
/linux-4.19.296/drivers/media/rc/img-ir/
Dimg-ir-hw.c909 change->old_rate, change->new_rate); in img_ir_change_frequency()