Searched refs:old_rate (Results 1 – 12 of 12) sorted by relevance
/drivers/clocksource/ |
D | cadence_ttc_timer.c | 245 if (ndata->new_rate > ndata->old_rate) { in ttc_rate_change_clocksource_cb() 247 ndata->old_rate); in ttc_rate_change_clocksource_cb() 248 rate_low = ndata->old_rate; in ttc_rate_change_clocksource_cb() 251 factor = DIV_ROUND_CLOSEST(ndata->old_rate, in ttc_rate_change_clocksource_cb() 254 rate_high = ndata->old_rate; in ttc_rate_change_clocksource_cb() 276 if (ndata->new_rate < ndata->old_rate) in ttc_rate_change_clocksource_cb() 291 if (ndata->new_rate < ndata->old_rate) in ttc_rate_change_clocksource_cb() 301 if (ndata->new_rate > ndata->old_rate) in ttc_rate_change_clocksource_cb() 311 if (ndata->new_rate < ndata->old_rate) in ttc_rate_change_clocksource_cb()
|
/drivers/clk/rockchip/ |
D | clk-cpu.c | 140 if (alt_prate > ndata->old_rate) { in rockchip_cpuclk_pre_rate_change() 142 alt_div = DIV_ROUND_UP(alt_prate, ndata->old_rate) - 1; in rockchip_cpuclk_pre_rate_change() 157 __func__, alt_div, alt_prate, ndata->old_rate); in rockchip_cpuclk_pre_rate_change() 193 if (ndata->old_rate < ndata->new_rate) in rockchip_cpuclk_post_rate_change() 210 if (ndata->old_rate > ndata->new_rate) in rockchip_cpuclk_post_rate_change() 231 __func__, event, ndata->old_rate, ndata->new_rate); in rockchip_cpuclk_notifier_cb()
|
D | clk.c | 141 __func__, event, ndata->old_rate, ndata->new_rate); in rockchip_clk_frac_notifier_cb()
|
/drivers/clk/samsung/ |
D | clk-cpu.c | 190 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()
|
/drivers/clk/meson/ |
D | clk-pll.c | 141 unsigned long old_rate; in meson_clk_pll_set_rate() local 148 old_rate = rate; in meson_clk_pll_set_rate() 190 __func__, old_rate); in meson_clk_pll_set_rate() 191 meson_clk_pll_set_rate(hw, old_rate, parent_rate); in meson_clk_pll_set_rate()
|
/drivers/cpufreq/ |
D | highbank-cpufreq.c | 43 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()
|
/drivers/i2c/busses/ |
D | i2c-cadence.c | 798 if (ndata->new_rate > ndata->old_rate) in cdns_i2c_clk_notifier_cb() 806 if (ndata->new_rate < ndata->old_rate) in cdns_i2c_clk_notifier_cb() 811 if (ndata->new_rate > ndata->old_rate) in cdns_i2c_clk_notifier_cb() 812 cdns_i2c_setclk(ndata->old_rate, id); in cdns_i2c_clk_notifier_cb()
|
D | i2c-rk3x.c | 944 if (ndata->new_rate > ndata->old_rate) in rk3x_i2c_clk_notifier_cb() 950 if (ndata->new_rate < ndata->old_rate) in rk3x_i2c_clk_notifier_cb() 955 if (ndata->new_rate > ndata->old_rate) in rk3x_i2c_clk_notifier_cb() 956 rk3x_i2c_adapt_div(i2c, ndata->old_rate); in rk3x_i2c_clk_notifier_cb()
|
/drivers/clk/ |
D | clk.c | 955 unsigned long old_rate, unsigned long new_rate) in __clk_notify() argument 961 cnd.old_rate = old_rate; in __clk_notify() 1058 unsigned long old_rate; in __clk_recalc_rates() local 1064 old_rate = core->rate; in __clk_recalc_rates() 1076 __clk_notify(core, msg, old_rate, core->rate); in __clk_recalc_rates() 1473 unsigned long old_rate; in clk_change_rate() local 1479 old_rate = core->rate; in clk_change_rate() 1539 if (core->notifier_count && old_rate != core->rate) in clk_change_rate() 1540 __clk_notify(core, POST_RATE_CHANGE, old_rate, core->rate); in clk_change_rate()
|
/drivers/hsi/controllers/ |
D | omap_ssi_core.c | 336 clk_data->old_rate, clk_data->new_rate); in ssi_clk_event()
|
/drivers/media/rc/img-ir/ |
D | img-ir-hw.c | 906 change->old_rate, change->new_rate); in img_ir_change_frequency()
|
/drivers/net/wireless/intersil/hostap/ |
D | hostap_ap.c | 2715 int old_rate, new_rate; in ap_update_sta_tx_rate() local 2716 old_rate = new_rate = sta->tx_rate_idx; in ap_update_sta_tx_rate() 2724 if (old_rate != sta->tx_rate_idx) { in ap_update_sta_tx_rate()
|