/Linux-v6.6/drivers/clocksource/ |
D | timer-cadence-ttc.c | 241 if (ndata->new_rate > ndata->old_rate) { in ttc_rate_change_clocksource_cb() 243 ndata->old_rate); in ttc_rate_change_clocksource_cb() 244 rate_low = ndata->old_rate; in ttc_rate_change_clocksource_cb() 247 factor = DIV_ROUND_CLOSEST(ndata->old_rate, in ttc_rate_change_clocksource_cb() 250 rate_high = ndata->old_rate; in ttc_rate_change_clocksource_cb() 272 if (ndata->new_rate < ndata->old_rate) in ttc_rate_change_clocksource_cb() 287 if (ndata->new_rate < ndata->old_rate) in ttc_rate_change_clocksource_cb() 297 if (ndata->new_rate > ndata->old_rate) in ttc_rate_change_clocksource_cb() 307 if (ndata->new_rate < ndata->old_rate) in ttc_rate_change_clocksource_cb()
|
D | arm_global_timer.c | 314 if (ndata->new_rate < ndata->old_rate) in gt_clk_rate_change_cb() 323 if (ndata->new_rate > ndata->old_rate) in gt_clk_rate_change_cb() 332 if (ndata->new_rate < ndata->old_rate) in gt_clk_rate_change_cb()
|
/Linux-v6.6/drivers/clk/rockchip/ |
D | clk-cpu.c | 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() 240 if (ndata->old_rate < ndata->new_rate) in rockchip_cpuclk_post_rate_change() 270 if (ndata->old_rate > ndata->new_rate) in rockchip_cpuclk_post_rate_change() 291 __func__, event, ndata->old_rate, ndata->new_rate); in rockchip_cpuclk_notifier_cb()
|
D | clk-mmc-phase.c | 178 if (ndata->old_rate <= ndata->new_rate) in rockchip_mmc_clk_rate_notify()
|
D | clk.c | 150 __func__, event, ndata->old_rate, ndata->new_rate); in rockchip_clk_frac_notifier_cb()
|
/Linux-v6.6/drivers/clk/tegra/ |
D | clk-device.c | 74 if (cnd->new_rate > cnd->old_rate) in tegra_clock_change_notify() 79 err = tegra_clock_set_pd_state(clk_dev, cnd->old_rate); in tegra_clock_change_notify() 83 if (cnd->new_rate < cnd->old_rate) in tegra_clock_change_notify()
|
/Linux-v6.6/drivers/clk/samsung/ |
D | clk-cpu.c | 188 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()
|
/Linux-v6.6/drivers/cpufreq/ |
D | highbank-cpufreq.c | 40 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()
|
/Linux-v6.6/drivers/clk/meson/ |
D | clk-pll.c | 409 unsigned long old_rate; in meson_clk_pll_set_rate() local 415 old_rate = clk_hw_get_rate(hw); in meson_clk_pll_set_rate() 440 __func__, old_rate); in meson_clk_pll_set_rate() 447 meson_clk_pll_set_rate(hw, old_rate, parent_rate); in meson_clk_pll_set_rate()
|
/Linux-v6.6/drivers/clk/qcom/ |
D | clk-cbf-8996.c | 195 if (cnd->old_rate > DIV_THRESHOLD && in cbf_clk_notifier_cb() 202 cnd->old_rate > DIV_THRESHOLD) in cbf_clk_notifier_cb()
|
D | clk-cpu-8996.c | 565 cnd->old_rate > DIV_2_THRESHOLD) in cpu_clk_notifier_cb() 572 cnd->old_rate > DIV_2_THRESHOLD) in cpu_clk_notifier_cb()
|
/Linux-v6.6/drivers/i2c/busses/ |
D | i2c-rk3x.c | 943 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()
|
D | i2c-cadence.c | 1141 if (ndata->new_rate > ndata->old_rate) in cdns_i2c_clk_notifier_cb() 1149 if (ndata->new_rate < ndata->old_rate) in cdns_i2c_clk_notifier_cb() 1154 if (ndata->new_rate > ndata->old_rate) in cdns_i2c_clk_notifier_cb() 1155 cdns_i2c_setclk(ndata->old_rate, id); in cdns_i2c_clk_notifier_cb()
|
/Linux-v6.6/sound/soc/rockchip/ |
D | rockchip_i2s_tdm.c | 1030 unsigned long old_rate; in rockchip_i2s_tdm_clk_compensation_put() local 1038 old_rate = clk_get_rate(i2s_tdm->mclk_root0); in rockchip_i2s_tdm_clk_compensation_put() 1043 if (old_rate != clk_get_rate(i2s_tdm->mclk_root0)) in rockchip_i2s_tdm_clk_compensation_put() 1049 old_rate = clk_get_rate(i2s_tdm->mclk_root1); in rockchip_i2s_tdm_clk_compensation_put() 1054 if (old_rate != clk_get_rate(i2s_tdm->mclk_root1)) in rockchip_i2s_tdm_clk_compensation_put()
|
/Linux-v6.6/drivers/clk/ |
D | clk_test.c | 2268 unsigned long old_rate; member 2292 ctx->pre_rate_change.old_rate = clk_data->old_rate; in clk_mux_notifier_callback() 2299 ctx->post_rate_change.old_rate = clk_data->old_rate; in clk_mux_notifier_callback() 2388 KUNIT_EXPECT_EQ(test, ctx->pre_rate_change.old_rate, DUMMY_CLOCK_RATE_1); in clk_mux_notifier_set_parent_test() 2396 KUNIT_EXPECT_EQ(test, ctx->post_rate_change.old_rate, DUMMY_CLOCK_RATE_1); in clk_mux_notifier_set_parent_test()
|
D | clk.c | 1737 unsigned long old_rate, unsigned long new_rate) in __clk_notify() argument 1743 cnd.old_rate = old_rate; in __clk_notify() 1848 unsigned long old_rate; in __clk_recalc_rates() local 1854 old_rate = core->rate; in __clk_recalc_rates() 1868 __clk_notify(core, msg, old_rate, core->rate); in __clk_recalc_rates() 2301 unsigned long old_rate; in clk_change_rate() local 2307 old_rate = core->rate; in clk_change_rate() 2362 if (core->notifier_count && old_rate != core->rate) in clk_change_rate() 2363 __clk_notify(core, POST_RATE_CHANGE, old_rate, core->rate); in clk_change_rate()
|
/Linux-v6.6/sound/pci/ice1712/ |
D | ice1724.c | 630 unsigned int i, old_rate; in snd_vt1724_set_pro_rate() local 653 old_rate = ice->get_rate(ice); in snd_vt1724_set_pro_rate() 654 if (force || (old_rate != rate)) in snd_vt1724_set_pro_rate() 1881 unsigned int old_rate, new_rate; in snd_vt1724_pro_internal_clock_put() local 1891 old_rate = 0; in snd_vt1724_pro_internal_clock_put() 1893 old_rate = ice->get_rate(ice); in snd_vt1724_pro_internal_clock_put() 1909 if (old_rate != new_rate && !new_rate) { in snd_vt1724_pro_internal_clock_put() 1919 return old_rate != new_rate; in snd_vt1724_pro_internal_clock_put()
|
/Linux-v6.6/include/linux/ |
D | clk.h | 73 unsigned long old_rate; member
|
/Linux-v6.6/drivers/hsi/controllers/ |
D | omap_ssi_core.c | 304 clk_data->old_rate, clk_data->new_rate); in ssi_clk_event()
|
/Linux-v6.6/drivers/net/ethernet/ti/ |
D | davinci_cpdma.c | 411 u32 old_rate = ch->rate; in cpdma_chan_fit_rate() local 439 ch->rate = old_rate; in cpdma_chan_fit_rate()
|
/Linux-v6.6/drivers/clk/at91/ |
D | clk-master.c | 286 cnd->old_rate * characteristics->divisors[div], in clk_master_div_notifier_fn()
|
/Linux-v6.6/drivers/media/rc/img-ir/ |
D | img-ir-hw.c | 905 change->old_rate, change->new_rate); in img_ir_change_frequency()
|
/Linux-v6.6/drivers/memory/tegra/ |
D | tegra20-emc.c | 337 err = emc_prepare_timing_change(emc, cnd->old_rate); in tegra_emc_clk_change_notify()
|
/Linux-v6.6/drivers/net/wireless/intersil/hostap/ |
D | hostap_ap.c | 2653 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()
|
/Linux-v6.6/drivers/gpu/drm/i915/gvt/ |
D | handlers.c | 680 u32 *old_rate = &(intel_vgpu_port(vgpu, vgpu->display.port_num)->vrefresh_k); in vgpu_update_refresh_rate() local 689 if (*old_rate != new_rate) in vgpu_update_refresh_rate() 690 *old_rate = new_rate; in vgpu_update_refresh_rate()
|