Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/clocksource/
Dtimer-cadence-ttc.c240 if (ndata->new_rate > ndata->old_rate) { in ttc_rate_change_clocksource_cb()
242 ndata->old_rate); in ttc_rate_change_clocksource_cb()
243 rate_low = ndata->old_rate; in ttc_rate_change_clocksource_cb()
246 factor = DIV_ROUND_CLOSEST(ndata->old_rate, in ttc_rate_change_clocksource_cb()
249 rate_high = ndata->old_rate; in ttc_rate_change_clocksource_cb()
271 if (ndata->new_rate < ndata->old_rate) in ttc_rate_change_clocksource_cb()
286 if (ndata->new_rate < ndata->old_rate) in ttc_rate_change_clocksource_cb()
296 if (ndata->new_rate > ndata->old_rate) in ttc_rate_change_clocksource_cb()
306 if (ndata->new_rate < ndata->old_rate) in ttc_rate_change_clocksource_cb()
/kernel/linux/linux-5.10/drivers/clk/rockchip/
Dclk-cpu.c146 if (alt_prate > ndata->old_rate) { in rockchip_cpuclk_pre_rate_change()
148 alt_div = DIV_ROUND_UP(alt_prate, ndata->old_rate) - 1; in rockchip_cpuclk_pre_rate_change()
163 __func__, alt_div, alt_prate, ndata->old_rate); in rockchip_cpuclk_pre_rate_change()
199 if (ndata->old_rate < ndata->new_rate) in rockchip_cpuclk_post_rate_change()
216 if (ndata->old_rate > ndata->new_rate) in rockchip_cpuclk_post_rate_change()
237 __func__, event, ndata->old_rate, ndata->new_rate); in rockchip_cpuclk_notifier_cb()
Dclk-mmc-phase.c178 if (ndata->old_rate <= ndata->new_rate) in rockchip_mmc_clk_rate_notify()
Dclk.c147 __func__, event, ndata->old_rate, ndata->new_rate); in rockchip_clk_frac_notifier_cb()
/kernel/linux/linux-5.10/drivers/clk/samsung/
Dclk-cpu.c188 if (alt_prate > ndata->old_rate || ndata->old_rate > ndata->new_rate) { in exynos_cpuclk_pre_rate_change()
189 unsigned long tmp_rate = min(ndata->old_rate, ndata->new_rate); in exynos_cpuclk_pre_rate_change()
310 if (alt_prate > ndata->old_rate || ndata->old_rate > ndata->new_rate) { in exynos5433_cpuclk_pre_rate_change()
311 unsigned long tmp_rate = min(ndata->old_rate, ndata->new_rate); in exynos5433_cpuclk_pre_rate_change()
/kernel/linux/linux-5.10/drivers/cpufreq/
Dhighbank-cpufreq.c40 if (clk_data->new_rate > clk_data->old_rate) in hb_cpufreq_clk_notify()
45 if (clk_data->new_rate < clk_data->old_rate) in hb_cpufreq_clk_notify()
/kernel/linux/linux-5.10/drivers/clk/meson/
Dclk-pll.c369 unsigned long old_rate; in meson_clk_pll_set_rate() local
375 old_rate = clk_hw_get_rate(hw); in meson_clk_pll_set_rate()
400 __func__, old_rate); in meson_clk_pll_set_rate()
407 meson_clk_pll_set_rate(hw, old_rate, parent_rate); in meson_clk_pll_set_rate()
/kernel/linux/linux-5.10/drivers/i2c/busses/
Di2c-cadence.c1093 if (ndata->new_rate > ndata->old_rate) in cdns_i2c_clk_notifier_cb()
1101 if (ndata->new_rate < ndata->old_rate) in cdns_i2c_clk_notifier_cb()
1106 if (ndata->new_rate > ndata->old_rate) in cdns_i2c_clk_notifier_cb()
1107 cdns_i2c_setclk(ndata->old_rate, id); in cdns_i2c_clk_notifier_cb()
Di2c-rk3x.c943 if (ndata->new_rate > ndata->old_rate) in rk3x_i2c_clk_notifier_cb()
949 if (ndata->new_rate < ndata->old_rate) in rk3x_i2c_clk_notifier_cb()
954 if (ndata->new_rate > ndata->old_rate) in rk3x_i2c_clk_notifier_cb()
955 rk3x_i2c_adapt_div(i2c, ndata->old_rate); in rk3x_i2c_clk_notifier_cb()
/kernel/linux/linux-5.10/drivers/clk/
Dclk.c1482 unsigned long old_rate, unsigned long new_rate) in __clk_notify() argument
1488 cnd.old_rate = old_rate; in __clk_notify()
1591 unsigned long old_rate; in __clk_recalc_rates() local
1597 old_rate = core->rate; in __clk_recalc_rates()
1609 __clk_notify(core, msg, old_rate, core->rate); in __clk_recalc_rates()
2040 unsigned long old_rate; in clk_change_rate() local
2046 old_rate = core->rate; in clk_change_rate()
2109 if (core->notifier_count && old_rate != core->rate) in clk_change_rate()
2110 __clk_notify(core, POST_RATE_CHANGE, old_rate, core->rate); in clk_change_rate()
/kernel/linux/linux-5.10/sound/pci/ice1712/
Dice1724.c649 unsigned int i, old_rate; in snd_vt1724_set_pro_rate() local
672 old_rate = ice->get_rate(ice); in snd_vt1724_set_pro_rate()
673 if (force || (old_rate != rate)) in snd_vt1724_set_pro_rate()
1900 unsigned int old_rate, new_rate; in snd_vt1724_pro_internal_clock_put() local
1910 old_rate = 0; in snd_vt1724_pro_internal_clock_put()
1912 old_rate = ice->get_rate(ice); in snd_vt1724_pro_internal_clock_put()
1928 if (old_rate != new_rate && !new_rate) { in snd_vt1724_pro_internal_clock_put()
1938 return old_rate != new_rate; in snd_vt1724_pro_internal_clock_put()
/kernel/linux/linux-5.10/include/linux/
Dclk.h73 unsigned long old_rate; member
/kernel/linux/linux-5.10/drivers/memory/tegra/
Dtegra20-emc.c263 err = emc_prepare_timing_change(emc, cnd->old_rate); in tegra_emc_clk_change_notify()
Dtegra30-emc.c833 err = emc_unprepare_timing_change(emc, cnd->old_rate); in emc_clk_change_notify()
/kernel/linux/linux-5.10/drivers/hsi/controllers/
Domap_ssi_core.c302 clk_data->old_rate, clk_data->new_rate); in ssi_clk_event()
/kernel/linux/linux-5.10/drivers/net/ethernet/ti/
Ddavinci_cpdma.c411 u32 old_rate = ch->rate; in cpdma_chan_fit_rate() local
439 ch->rate = old_rate; in cpdma_chan_fit_rate()
/kernel/linux/linux-5.10/drivers/media/rc/img-ir/
Dimg-ir-hw.c905 change->old_rate, change->new_rate); in img_ir_change_frequency()
/kernel/linux/linux-5.10/drivers/net/wireless/intersil/hostap/
Dhostap_ap.c2653 int old_rate, new_rate; in ap_update_sta_tx_rate() local
2654 old_rate = new_rate = sta->tx_rate_idx; in ap_update_sta_tx_rate()
2662 if (old_rate != sta->tx_rate_idx) { in ap_update_sta_tx_rate()
/kernel/linux/patches/linux-5.10/yangfan_patch/
Ddrivers.patch482 if (alt_prate > ndata->old_rate) {
484 alt_div = DIV_ROUND_UP(alt_prate, ndata->old_rate) - 1;
497 __func__, alt_div, alt_prate, ndata->old_rate);
559 if (ndata->old_rate > ndata->new_rate)
1402 + unsigned long old_rate = rockchip_rk3066_pll_recalc_rate(hw, prate);
1415 + __func__, clk_hw_get_name(hw), old_rate, drate, prate);
1470 + unsigned long old_rate = rockchip_rk3399_pll_recalc_rate(hw, prate);
1476 + __func__, __clk_get_name(hw->clk), old_rate, drate, prate);