/linux-6.1.9/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.c | 1693 unsigned int new_freq) in cpufreq_out_of_sync() argument 1698 policy->cur, new_freq); in cpufreq_out_of_sync() 1701 freqs.new = new_freq; in cpufreq_out_of_sync() 1709 unsigned int new_freq; in cpufreq_verify_current_freq() local 1711 new_freq = cpufreq_driver->get(policy->cpu); in cpufreq_verify_current_freq() 1712 if (!new_freq) in cpufreq_verify_current_freq() 1720 return new_freq; in cpufreq_verify_current_freq() 1722 if (policy->cur != new_freq) { in cpufreq_verify_current_freq() 1730 if (abs(policy->cur - new_freq) < HZ_PER_MHZ) in cpufreq_verify_current_freq() 1733 cpufreq_out_of_sync(policy, new_freq); in cpufreq_verify_current_freq() [all …]
|
D | cpufreq_stats.c | 267 unsigned int new_freq) in cpufreq_stats_record_transition() argument 279 new_index = freq_table_get_index(stats, new_freq); in cpufreq_stats_record_transition()
|
/linux-6.1.9/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() 375 if (trace_devfreq_frequency_enabled() && new_freq != cur_freq) in devfreq_set_target() 376 trace_devfreq_frequency(devfreq, new_freq, cur_freq); in devfreq_set_target() 378 freqs.new = new_freq; in devfreq_set_target() 381 if (devfreq_update_status(devfreq, new_freq)) in devfreq_set_target() 385 devfreq->previous_freq = new_freq; in devfreq_set_target() 388 devfreq->resume_freq = new_freq; in devfreq_set_target()
|
/linux-6.1.9/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()
|
/linux-6.1.9/drivers/gpu/drm/i915/gt/ |
D | intel_rps.c | 1797 int new_freq, adj, min, max; in rps_work() local 1818 new_freq = rps->cur_freq; in rps_work() 1827 adj, new_freq, min, max); in rps_work() 1829 if (client_boost && new_freq < rps->boost_freq) { in rps_work() 1830 new_freq = rps->boost_freq; in rps_work() 1838 if (new_freq >= rps->max_freq_softlimit) in rps_work() 1844 new_freq = rps->efficient_freq; in rps_work() 1846 new_freq = rps->min_freq_softlimit; in rps_work() 1854 if (new_freq <= rps->min_freq_softlimit) in rps_work() 1864 new_freq += adj; in rps_work() [all …]
|
/linux-6.1.9/Documentation/translations/zh_CN/cpu-freq/ |
D | cpu-drivers.rst | 180 - policy->min <= new_freq <= policy->max (这必须是有效的!!!) 181 - 如果 relation==CPUFREQ_REL_L,尝试选择一个高于或等于 target_freq 的 new_freq。("L代表 183 - 如果 relation==CPUFREQ_REL_H,尝试选择一个低于或等于 target_freq 的 new_freq。("H代表
|
/linux-6.1.9/Documentation/translations/zh_TW/cpu-freq/ |
D | cpu-drivers.rst | 179 - policy->min <= new_freq <= policy->max (這必須是有效的!!!) 180 - 如果 relation==CPUFREQ_REL_L,嘗試選擇一個高於或等於 target_freq 的 new_freq。("L代表 182 - 如果 relation==CPUFREQ_REL_H,嘗試選擇一個低於或等於 target_freq 的 new_freq。("H代表
|
/linux-6.1.9/drivers/clk/st/ |
D | clkgen-pll.c | 320 unsigned long new_freq; in clk_pll3200c32_get_params() local 344 new_freq = (input * 2 * n) / i; in clk_pll3200c32_get_params() 346 new_deviation = abs(new_freq - output); in clk_pll3200c32_get_params() 482 unsigned long new_freq, new_deviation; in clk_pll4600c28_get_params() local 502 new_freq = infin * 2 * n; in clk_pll4600c28_get_params() 503 if (new_freq < output) in clk_pll4600c28_get_params() 506 new_deviation = new_freq - output; in clk_pll4600c28_get_params()
|
D | clkgen-fsyn.c | 650 unsigned long new_freq, new_deviation; in clk_fs660c32_get_pe() local 668 clk_fs660c32_dig_get_rate(input, &fs_tmp, &new_freq); in clk_fs660c32_get_pe() 670 new_deviation = abs(output - new_freq); in clk_fs660c32_get_pe() 687 unsigned long new_freq, new_deviation; in clk_fs660c32_dig_get_params() local 731 clk_fs660c32_dig_get_rate(input, &fs_tmp, &new_freq); in clk_fs660c32_dig_get_params() 733 new_deviation = abs(output - new_freq); in clk_fs660c32_dig_get_params()
|
/linux-6.1.9/tools/perf/ |
D | builtin-timechart.c | 400 static void p_state_change(struct timechart *tchart, int cpu, u64 timestamp, u64 new_freq) in p_state_change() argument 404 if (new_freq > 8000000) /* detect invalid data */ in p_state_change() 411 cpus_pstate_state[cpu] = new_freq; in p_state_change() 414 if ((u64)new_freq > tchart->max_freq) in p_state_change() 415 tchart->max_freq = new_freq; in p_state_change() 417 if (new_freq < tchart->min_freq || tchart->min_freq == 0) in p_state_change() 418 tchart->min_freq = new_freq; in p_state_change() 420 if (new_freq == tchart->max_freq - 1000) in p_state_change()
|
/linux-6.1.9/Documentation/cpu-freq/ |
D | cpu-drivers.rst | 187 - policy->min <= new_freq <= policy->max (THIS MUST BE VALID!!!) 188 - if relation==CPUFREQ_REL_L, try to select a new_freq higher than or equal 190 - if relation==CPUFREQ_REL_H, try to select a new_freq lower than or equal
|
/linux-6.1.9/drivers/staging/media/atomisp/pci/ |
D | atomisp_cmd.c | 132 unsigned int new_freq) in write_target_freq_to_hw() argument 150 ratio = (2 * isp->hpll_freq + new_freq / 2) / new_freq - 1; in write_target_freq_to_hw() 186 new_freq); in write_target_freq_to_hw() 206 unsigned int new_freq; in atomisp_freq_scaling() local 230 new_freq = dfs->lowest_freq; in atomisp_freq_scaling() 235 new_freq = dfs->highest_freq; in atomisp_freq_scaling() 243 new_freq = dfs->highest_freq; in atomisp_freq_scaling() 282 new_freq = dfs->max_freq_at_vmin; in atomisp_freq_scaling() 284 new_freq = dfs->dfs_table[i].isp_freq; in atomisp_freq_scaling() 287 dev_dbg(isp->dev, "DFS target frequency=%d.\n", new_freq); in atomisp_freq_scaling() [all …]
|
/linux-6.1.9/include/linux/ |
D | cpufreq.h | 268 unsigned int new_freq); 273 unsigned int new_freq) { } in cpufreq_stats_record_transition() argument
|
/linux-6.1.9/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()
|