/kernel/linux/linux-5.10/drivers/cpufreq/ |
D | s3c64xx-cpufreq.c | 55 unsigned int old_freq, new_freq; in s3c64xx_cpufreq_set_target() local 59 new_freq = s3c64xx_freq_table[index].frequency; in s3c64xx_cpufreq_set_target() 63 if (vddarm && new_freq > old_freq) { in s3c64xx_cpufreq_set_target() 69 new_freq, ret); in s3c64xx_cpufreq_set_target() 75 ret = clk_set_rate(policy->clk, new_freq * 1000); in s3c64xx_cpufreq_set_target() 78 new_freq, ret); in s3c64xx_cpufreq_set_target() 83 if (vddarm && new_freq < old_freq) { in s3c64xx_cpufreq_set_target() 89 new_freq, ret); in s3c64xx_cpufreq_set_target()
|
D | sa1100-cpufreq.c | 167 unsigned int new_freq; in sa1100_target() local 169 new_freq = sa11x0_freq_table[ppcr].frequency; in sa1100_target() 171 if (new_freq > cur) in sa1100_target() 172 sa1100_update_dram_timings(cur, new_freq); in sa1100_target() 176 if (new_freq < cur) in sa1100_target() 177 sa1100_update_dram_timings(cur, new_freq); in sa1100_target()
|
D | omap-cpufreq.c | 47 unsigned int old_freq, new_freq; in omap_target() local 50 new_freq = freq_table[index].frequency; in omap_target() 52 freq = new_freq * 1000; in omap_target() 66 __func__, new_freq); in omap_target() 77 new_freq / 1000, volt ? volt / 1000 : -1); in omap_target() 80 if (mpu_reg && (new_freq > old_freq)) { in omap_target() 89 ret = clk_set_rate(policy->clk, new_freq * 1000); in omap_target() 92 if (mpu_reg && (new_freq < old_freq)) { in omap_target()
|
D | davinci-cpufreq.c | 39 unsigned int old_freq, new_freq; in davinci_target() local 43 new_freq = pdata->freq_table[idx].frequency; in davinci_target() 46 if (pdata->set_voltage && new_freq > old_freq) { in davinci_target() 52 ret = clk_set_rate(armclk, new_freq * 1000); in davinci_target() 63 if (pdata->set_voltage && new_freq < old_freq) in davinci_target()
|
D | sparc-us3-cpufreq.c | 98 unsigned long new_bits, new_freq; in us3_freq_target() local 100 new_freq = sparc64_get_clock_tick(cpu) / 1000; in us3_freq_target() 104 new_freq /= 1; in us3_freq_target() 108 new_freq /= 2; in us3_freq_target() 112 new_freq /= 32; in us3_freq_target()
|
D | imx6q-cpufreq.c | 62 unsigned int old_freq, new_freq; in imx6q_set_target() local 66 new_freq = freq_table[index].frequency; in imx6q_set_target() 67 freq_hz = new_freq * 1000; in imx6q_set_target() 83 new_freq / 1000, volt / 1000); in imx6q_set_target() 86 if (new_freq > old_freq) { in imx6q_set_target() 138 clk_set_rate(clks[PLL1_SYS].clk, new_freq * 1000); in imx6q_set_target() 145 clk_set_rate(clks[PLL1_SYS].clk, new_freq * 1000); in imx6q_set_target() 155 ret = clk_set_rate(clks[ARM].clk, new_freq * 1000); in imx6q_set_target() 172 if (new_freq < old_freq) { in imx6q_set_target()
|
D | loongson1-cpufreq.c | 53 unsigned int old_freq, new_freq; in ls1x_cpufreq_target() local 56 new_freq = policy->freq_table[index].frequency; in ls1x_cpufreq_target() 72 clk_set_rate(cpufreq->mux_clk, new_freq * 1000); in ls1x_cpufreq_target() 74 dev_dbg(cpu_dev, "%u KHz --> %u KHz\n", old_freq, new_freq); in ls1x_cpufreq_target()
|
D | s3c2416-cpufreq.c | 220 unsigned int new_freq; in s3c2416_cpufreq_set_target() local 241 new_freq = (s3c_freq->is_dvs && !to_dvs) in s3c2416_cpufreq_set_target() 252 pr_debug("cpufreq: change armdiv to %dkHz\n", new_freq); in s3c2416_cpufreq_set_target() 253 ret = s3c2416_cpufreq_set_armdiv(s3c_freq, new_freq); in s3c2416_cpufreq_set_target()
|
D | sparc-us2e-cpufreq.c | 249 unsigned long new_bits, new_freq; in __us2e_freq_target() local 252 new_freq = clock_tick = sparc64_get_clock_tick(cpu) / 1000; in __us2e_freq_target() 255 new_freq /= divisor; in __us2e_freq_target()
|
D | s5pv210-cpufreq.c | 229 unsigned int old_freq, new_freq; in s5pv210_target() local 243 new_freq = s5pv210_freq_table[index].frequency; in s5pv210_target() 251 if (new_freq > old_freq) { in s5pv210_target() 473 if (new_freq < old_freq) { in s5pv210_target()
|
D | cpufreq_stats.c | 268 unsigned int new_freq) in cpufreq_stats_record_transition() argument 280 new_index = freq_table_get_index(stats, new_freq); in cpufreq_stats_record_transition()
|
D | cpufreq.c | 1666 unsigned int new_freq) in cpufreq_out_of_sync() argument 1671 policy->cur, new_freq); in cpufreq_out_of_sync() 1674 freqs.new = new_freq; in cpufreq_out_of_sync() 1682 unsigned int new_freq; in cpufreq_verify_current_freq() local 1684 new_freq = cpufreq_driver->get(policy->cpu); in cpufreq_verify_current_freq() 1685 if (!new_freq) in cpufreq_verify_current_freq() 1693 return new_freq; in cpufreq_verify_current_freq() 1695 if (policy->cur != new_freq) { in cpufreq_verify_current_freq() 1696 cpufreq_out_of_sync(policy, new_freq); in cpufreq_verify_current_freq() 1701 return new_freq; in cpufreq_verify_current_freq()
|
/kernel/linux/linux-5.10/net/mac80211/ |
D | spectmgmt.c | 30 int new_freq; in ieee80211_parse_ch_switch_ie() local 85 new_freq = ieee80211_channel_to_frequency(new_chan_no, new_band); in ieee80211_parse_ch_switch_ie() 86 new_chan = ieee80211_get_channel(sdata->local->hw.wiphy, new_freq); in ieee80211_parse_ch_switch_ie() 90 bssid, new_freq); in ieee80211_parse_ch_switch_ie()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gt/ |
D | intel_rps.c | 1625 int new_freq, adj, min, max; in rps_work() local 1646 new_freq = rps->cur_freq; in rps_work() 1655 adj, new_freq, min, max); in rps_work() 1657 if (client_boost && new_freq < rps->boost_freq) { in rps_work() 1658 new_freq = rps->boost_freq; in rps_work() 1666 if (new_freq >= rps->max_freq_softlimit) in rps_work() 1672 new_freq = rps->efficient_freq; in rps_work() 1674 new_freq = rps->min_freq_softlimit; in rps_work() 1682 if (new_freq <= rps->min_freq_softlimit) in rps_work() 1692 new_freq += adj; in rps_work() [all …]
|
/kernel/linux/linux-5.10/drivers/devfreq/ |
D | imx8m-ddrc.c | 235 unsigned long old_freq, new_freq; in imx8m_ddrc_target() local 260 new_freq = clk_get_rate(priv->dram_core); in imx8m_ddrc_target() 263 *freq, old_freq, ret, new_freq); in imx8m_ddrc_target() 264 else if (*freq != new_freq) in imx8m_ddrc_target() 266 *freq, old_freq, new_freq); in imx8m_ddrc_target()
|
D | devfreq.c | 347 static int devfreq_set_target(struct devfreq *devfreq, unsigned long new_freq, in devfreq_set_target() argument 360 freqs.new = new_freq; in devfreq_set_target() 363 err = devfreq->profile->target(devfreq->dev.parent, &new_freq, flags); in devfreq_set_target() 370 freqs.new = new_freq; in devfreq_set_target() 373 if (devfreq_update_status(devfreq, new_freq)) in devfreq_set_target() 377 devfreq->previous_freq = new_freq; in devfreq_set_target() 380 devfreq->resume_freq = new_freq; in devfreq_set_target()
|
/kernel/linux/linux-5.10/drivers/clk/st/ |
D | clkgen-pll.c | 258 unsigned long new_freq; in clk_pll3200c32_get_params() local 282 new_freq = (input * 2 * n) / i; in clk_pll3200c32_get_params() 284 new_deviation = abs(new_freq - output); in clk_pll3200c32_get_params() 420 unsigned long new_freq, new_deviation; in clk_pll4600c28_get_params() local 440 new_freq = infin * 2 * n; in clk_pll4600c28_get_params() 441 if (new_freq < output) in clk_pll4600c28_get_params() 444 new_deviation = new_freq - output; in clk_pll4600c28_get_params()
|
D | clkgen-fsyn.c | 588 unsigned long new_freq, new_deviation; in clk_fs660c32_get_pe() local 606 clk_fs660c32_dig_get_rate(input, &fs_tmp, &new_freq); in clk_fs660c32_get_pe() 608 new_deviation = abs(output - new_freq); in clk_fs660c32_get_pe() 625 unsigned long new_freq, new_deviation; in clk_fs660c32_dig_get_params() local 669 clk_fs660c32_dig_get_rate(input, &fs_tmp, &new_freq); in clk_fs660c32_dig_get_params() 671 new_deviation = abs(output - new_freq); in clk_fs660c32_dig_get_params()
|
/kernel/linux/linux-5.10/tools/perf/ |
D | builtin-timechart.c | 370 static void p_state_change(struct timechart *tchart, int cpu, u64 timestamp, u64 new_freq) in p_state_change() argument 374 if (new_freq > 8000000) /* detect invalid data */ in p_state_change() 393 cpus_pstate_state[cpu] = new_freq; in p_state_change() 396 if ((u64)new_freq > tchart->max_freq) in p_state_change() 397 tchart->max_freq = new_freq; in p_state_change() 399 if (new_freq < tchart->min_freq || tchart->min_freq == 0) in p_state_change() 400 tchart->min_freq = new_freq; in p_state_change() 402 if (new_freq == tchart->max_freq - 1000) in p_state_change()
|
/kernel/linux/linux-5.10/Documentation/cpu-freq/ |
D | cpu-drivers.rst | 193 - policy->min <= new_freq <= policy->max (THIS MUST BE VALID!!!) 194 - if relation==CPUFREQ_REL_L, try to select a new_freq higher than or equal 196 - if relation==CPUFREQ_REL_H, try to select a new_freq lower than or equal
|
/kernel/linux/linux-5.10/drivers/memory/ |
D | emif.c | 1773 static void do_freq_pre_notify_handling(struct emif_data *emif, u32 new_freq) in do_freq_pre_notify_handling() argument 1777 regs = get_regs(emif, new_freq); in do_freq_pre_notify_handling() 1790 __func__, new_freq); in do_freq_pre_notify_handling() 1809 static void __attribute__((unused)) freq_pre_notify_handling(u32 new_freq) in freq_pre_notify_handling() argument 1835 do_freq_pre_notify_handling(emif, new_freq); in freq_pre_notify_handling()
|
/kernel/linux/linux-5.10/include/linux/ |
D | cpufreq.h | 258 unsigned int new_freq); 263 unsigned int new_freq) { } in cpufreq_stats_record_transition() argument
|
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/ |
D | atomisp_cmd.c | 140 unsigned int new_freq) in write_target_freq_to_hw() argument 158 ratio = (2 * isp->hpll_freq + new_freq / 2) / new_freq - 1; in write_target_freq_to_hw() 194 new_freq); in write_target_freq_to_hw() 214 unsigned int new_freq; in atomisp_freq_scaling() local 238 new_freq = dfs->lowest_freq; in atomisp_freq_scaling() 243 new_freq = dfs->highest_freq; in atomisp_freq_scaling() 251 new_freq = dfs->highest_freq; in atomisp_freq_scaling() 290 new_freq = dfs->max_freq_at_vmin; in atomisp_freq_scaling() 292 new_freq = dfs->dfs_table[i].isp_freq; in atomisp_freq_scaling() 295 dev_dbg(isp->dev, "DFS target frequency=%d.\n", new_freq); in atomisp_freq_scaling() [all …]
|
/kernel/linux/linux-5.10/kernel/sched/ |
D | walt.c | 1643 unsigned int cpu = freq->policy->cpu, new_freq = freq->new; in cpufreq_notifier_trans() local 1652 if (cpu_cur_freq(cpu) == new_freq) in cpufreq_notifier_trans() 1667 cluster->cur_freq = new_freq; in cpufreq_notifier_trans()
|
/kernel/linux/linux-5.10/drivers/media/pci/cx88/ |
D | cx88-video.c | 966 struct v4l2_frequency new_freq = *f; in cx88_set_freq() local 975 call_all(core, tuner, g_frequency, &new_freq); in cx88_set_freq() 976 core->freq = new_freq.frequency; in cx88_set_freq()
|