/linux-6.6.21/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 | 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 | 96 unsigned long new_bits, new_freq; in us3_freq_target() local 98 new_freq = sparc64_get_clock_tick(cpu) / 1000; in us3_freq_target() 102 new_freq /= 1; in us3_freq_target() 106 new_freq /= 2; in us3_freq_target() 110 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 | sparc-us2e-cpufreq.c | 247 unsigned long new_bits, new_freq; in __us2e_freq_target() local 250 new_freq = clock_tick = sparc64_get_clock_tick(cpu) / 1000; in __us2e_freq_target() 253 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 | 1741 unsigned int new_freq) in cpufreq_out_of_sync() argument 1746 policy->cur, new_freq); in cpufreq_out_of_sync() 1749 freqs.new = new_freq; in cpufreq_out_of_sync() 1757 unsigned int new_freq; in cpufreq_verify_current_freq() local 1759 new_freq = cpufreq_driver->get(policy->cpu); in cpufreq_verify_current_freq() 1760 if (!new_freq) in cpufreq_verify_current_freq() 1768 return new_freq; in cpufreq_verify_current_freq() 1770 if (policy->cur != new_freq) { in cpufreq_verify_current_freq() 1778 if (abs(policy->cur - new_freq) < KHZ_PER_MHZ) in cpufreq_verify_current_freq() 1781 cpufreq_out_of_sync(policy, new_freq); in cpufreq_verify_current_freq() [all …]
|
D | cpufreq_stats.c | 266 unsigned int new_freq) in cpufreq_stats_record_transition() argument 278 new_index = freq_table_get_index(stats, new_freq); in cpufreq_stats_record_transition()
|
/linux-6.6.21/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.6.21/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.6.21/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.6.21/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.6.21/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.6.21/drivers/gpu/drm/i915/gt/ |
D | intel_rps.c | 1809 int new_freq, adj, min, max; in rps_work() local 1830 new_freq = rps->cur_freq; in rps_work() 1839 adj, new_freq, min, max); in rps_work() 1841 if (client_boost && new_freq < rps->boost_freq) { in rps_work() 1842 new_freq = rps->boost_freq; in rps_work() 1850 if (new_freq >= rps->max_freq_softlimit) in rps_work() 1856 new_freq = rps->efficient_freq; in rps_work() 1858 new_freq = rps->min_freq_softlimit; in rps_work() 1866 if (new_freq <= rps->min_freq_softlimit) in rps_work() 1876 new_freq += adj; in rps_work() [all …]
|
/linux-6.6.21/tools/perf/ |
D | builtin-timechart.c | 401 static void p_state_change(struct timechart *tchart, int cpu, u64 timestamp, u64 new_freq) in p_state_change() argument 405 if (new_freq > 8000000) /* detect invalid data */ in p_state_change() 412 cpus_pstate_state[cpu] = new_freq; in p_state_change() 415 if ((u64)new_freq > tchart->max_freq) in p_state_change() 416 tchart->max_freq = new_freq; in p_state_change() 418 if (new_freq < tchart->min_freq || tchart->min_freq == 0) in p_state_change() 419 tchart->min_freq = new_freq; in p_state_change() 421 if (new_freq == tchart->max_freq - 1000) in p_state_change()
|
/linux-6.6.21/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.6.21/drivers/staging/media/atomisp/pci/ |
D | atomisp_cmd.c | 129 unsigned int new_freq) in write_target_freq_to_hw() argument 147 ratio = (2 * isp->hpll_freq + new_freq / 2) / new_freq - 1; in write_target_freq_to_hw() 183 new_freq); in write_target_freq_to_hw() 200 unsigned int new_freq; in atomisp_freq_scaling() local 215 new_freq = dfs->lowest_freq; in atomisp_freq_scaling() 220 new_freq = dfs->highest_freq; in atomisp_freq_scaling() 228 new_freq = dfs->highest_freq; in atomisp_freq_scaling() 255 new_freq = dfs->max_freq_at_vmin; in atomisp_freq_scaling() 257 new_freq = dfs->dfs_table[i].isp_freq; in atomisp_freq_scaling() 260 dev_dbg(isp->dev, "DFS target frequency=%d.\n", new_freq); in atomisp_freq_scaling() [all …]
|
/linux-6.6.21/include/linux/ |
D | cpufreq.h | 272 unsigned int new_freq); 277 unsigned int new_freq) { } in cpufreq_stats_record_transition() argument
|
/linux-6.6.21/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()
|
/linux-6.6.21/drivers/media/usb/cx231xx/ |
D | cx231xx-video.c | 1131 struct v4l2_frequency new_freq = *f; in cx231xx_s_frequency() local 1158 call_all(dev, tuner, g_frequency, &new_freq); in cx231xx_s_frequency() 1159 dev->ctl_freq = new_freq.frequency; in cx231xx_s_frequency()
|
/linux-6.6.21/drivers/media/pci/bt8xx/ |
D | bttv-driver.c | 1725 struct v4l2_frequency new_freq = *f; in bttv_set_frequency() local 1730 bttv_call_all(btv, tuner, g_frequency, &new_freq); in bttv_set_frequency() 1731 if (new_freq.type == V4L2_TUNER_RADIO) { in bttv_set_frequency() 1733 btv->radio_freq = new_freq.frequency; in bttv_set_frequency() 1739 btv->tv_freq = new_freq.frequency; in bttv_set_frequency()
|
/linux-6.6.21/drivers/media/usb/au0828/ |
D | au0828-video.c | 1554 struct v4l2_frequency new_freq = *freq; in vidioc_s_frequency() local 1567 v4l2_device_call_all(&dev->v4l2_dev, 0, tuner, g_frequency, &new_freq); in vidioc_s_frequency() 1568 dev->ctrl_freq = new_freq.frequency; in vidioc_s_frequency()
|