| /linux/include/linux/ |
| H A D | cpufreq.h | 356 unsigned int target_freq, 361 unsigned int target_freq); 614 unsigned int target_freq); 621 unsigned int target_freq, 624 unsigned int target_freq, 627 unsigned int target_freq); 788 unsigned int target_freq, unsigned int min, 801 unsigned int target_freq, in cpufreq_table_find_index_al() argument 812 if (freq >= target_freq) in cpufreq_table_find_index_al() 823 unsigned int target_freq, in cpufreq_table_find_index_dl() argument [all …]
|
| /linux/drivers/cpufreq/ |
| H A D | mediatek-cpufreq-hw.c | 123 static void mtk_cpufreq_hw_fdvfs_switch(unsigned int target_freq, in mtk_cpufreq_hw_fdvfs_switch() argument 130 target_freq = DIV_ROUND_UP(target_freq, FDVFS_FDIV_HZ); in mtk_cpufreq_hw_fdvfs_switch() 132 writel_relaxed(target_freq, priv->fdvfs + cpu * 4); in mtk_cpufreq_hw_fdvfs_switch() 140 unsigned int target_freq; in mtk_cpufreq_hw_target_index() local 143 target_freq = policy->freq_table[index].frequency; in mtk_cpufreq_hw_target_index() 144 mtk_cpufreq_hw_fdvfs_switch(target_freq, policy); in mtk_cpufreq_hw_target_index() 171 unsigned int target_freq) in mtk_cpufreq_hw_fast_switch() argument 176 index = cpufreq_table_find_index_dl(policy, target_freq, false); in mtk_cpufreq_hw_fast_switch() 179 mtk_cpufreq_hw_fdvfs_switch(target_freq, policy); in mtk_cpufreq_hw_fast_switch()
|
| H A D | scmi-cpufreq.c | 73 unsigned int target_freq) in scmi_cpufreq_fast_switch() argument 76 unsigned long freq = target_freq; in scmi_cpufreq_fast_switch() 79 return target_freq; in scmi_cpufreq_fast_switch()
|
| H A D | amd-pstate.c | 650 unsigned int target_freq, bool fast_switch) in amd_pstate_update_freq() argument 665 freqs.new = target_freq; in amd_pstate_update_freq() 667 des_perf = freq_to_perf(perf, cpudata->nominal_freq, target_freq); in amd_pstate_update_freq() 689 unsigned int target_freq, in amd_pstate_target() argument 692 return amd_pstate_update_freq(policy, target_freq, false); in amd_pstate_target() 696 unsigned int target_freq) in amd_pstate_fast_switch() argument 698 if (!amd_pstate_update_freq(policy, target_freq, true)) in amd_pstate_fast_switch() 699 return target_freq; in amd_pstate_fast_switch()
|
| H A D | gx-suspmod.c | 372 unsigned int target_freq, in cpufreq_gx_target() argument 383 tmp_freq = gx_validate_speed(target_freq, &tmp1, &tmp2); in cpufreq_gx_target()
|
| H A D | apple-soc-cpufreq.c | 202 unsigned int target_freq) in apple_soc_cpufreq_fast_switch() argument
|
| H A D | powernv-cpufreq.c | 1018 unsigned int target_freq) in powernv_fast_switch() argument 1023 index = cpufreq_table_find_index_dl(policy, target_freq, false); in powernv_fast_switch()
|
| H A D | intel_pstate.c | 3205 unsigned int target_freq, in intel_cpufreq_target() argument 3213 freqs.new = target_freq; in intel_cpufreq_target() 3228 unsigned int target_freq) in intel_cpufreq_fast_switch() argument 3233 target_pstate = intel_pstate_freq_to_hwp(cpu, target_freq); in intel_cpufreq_fast_switch()
|
| /linux/drivers/thermal/ |
| H A D | cpufreq_cooling.c | 317 unsigned int target_freq; in cpufreq_power2state() local 324 target_freq = cpu_power_to_freq(cpufreq_cdev, normalised_power); in cpufreq_power2state() 326 *state = get_level(cpufreq_cdev, target_freq); in cpufreq_power2state() 327 trace_thermal_power_cpu_limit(policy->related_cpus, target_freq, *state, in cpufreq_power2state()
|
| /linux/Documentation/translations/zh_CN/cpu-freq/ |
| H A D | cpu-drivers.rst | 180 - 如果 relation==CPUFREQ_REL_L,尝试选择一个高于或等于 target_freq 的 new_freq。("L代表 182 - 如果 relation==CPUFREQ_REL_H,尝试选择一个低于或等于 target_freq 的 new_freq。("H代表
|
| /linux/Documentation/translations/zh_TW/cpu-freq/ |
| H A D | cpu-drivers.rst | 180 - 如果 relation==CPUFREQ_REL_L,嘗試選擇一個高於或等於 target_freq 的 new_freq。("L代表 182 - 如果 relation==CPUFREQ_REL_H,嘗試選擇一個低於或等於 target_freq 的 new_freq。("H代表
|
| /linux/Documentation/ABI/testing/ |
| H A D | sysfs-class-devfreq | 30 target_freq when get_cur_freq() is not implemented by 33 What: /sys/class/devfreq/.../target_freq 37 The /sys/class/devfreq/.../target_freq shows the next governor
|
| /linux/rust/kernel/ |
| H A D | cpufreq.rs | 1203 target_freq: c_uint, in target_callback() 1210 T::target(policy, target_freq, Relation::new(relation)?).map(|()| 0) in target_callback() 1245 target_freq: c_uint, in fast_switch_callback() 1250 T::fast_switch(policy, target_freq) in fast_switch_callback()
|
| /linux/drivers/devfreq/ |
| H A D | imx8m-ddrc.c | 101 static void imx8m_ddrc_smc_set_freq(int target_freq) in imx8m_ddrc_smc_set_freq() argument 113 arm_smccc_smc(IMX_SIP_DDR_DVFS, target_freq, online_cpus, in imx8m_ddrc_smc_set_freq()
|
| /linux/Documentation/cpu-freq/ |
| H A D | cpu-drivers.rst | 185 - keep close to "target_freq" 188 target_freq. ("L for lowest, but no lower than") 190 target_freq. ("H for highest, but no higher than")
|
| /linux/drivers/ufs/core/ |
| H A D | ufshcd-priv.h | 129 unsigned long target_freq, in ufshcd_vops_clk_scale_notify() argument 133 return hba->vops->clk_scale_notify(hba, up, target_freq, status); in ufshcd_vops_clk_scale_notify()
|
| H A D | ufshcd.c | 1179 clki->name, hba->clk_scaling.target_freq, freq); in ufshcd_opp_config_clks() 1265 return freq != hba->clk_scaling.target_freq; in ufshcd_is_devfreq_scaling_required() 1601 scale_up = *freq > hba->clk_scaling.target_freq; in ufshcd_devfreq_target() 1618 hba->clk_scaling.target_freq = *freq; in ufshcd_devfreq_target() 1657 stat->current_frequency = hba->clk_scaling.target_freq; in ufshcd_devfreq_get_dev_status() 1833 hba->clk_scaling.target_freq = freq; in ufshcd_clkscale_enable_store()
|
| /linux/drivers/video/fbdev/i810/ |
| H A D | i810_main.c | 711 u32 f_out, target_freq, diff = 0, mod_min, diff_min; in i810_calc_dclk() local 716 target_freq = freq; in i810_calc_dclk() 724 while(!((1000000 * p_divisor)/(16 * 24 * target_freq)) && in i810_calc_dclk() 736 if (f_out <= target_freq) { in i810_calc_dclk() 738 diff = target_freq - f_out; in i810_calc_dclk() 741 diff = f_out - target_freq; in i810_calc_dclk()
|
| /linux/drivers/ufs/host/ |
| H A D | ufs-qcom.c | 1620 unsigned long target_freq, in ufs_qcom_clk_scale_notify() argument 1635 err = ufs_qcom_clk_scale_up_pre_change(hba, target_freq); in ufs_qcom_clk_scale_notify() 1647 err = ufs_qcom_clk_scale_down_post_change(hba, target_freq); in ufs_qcom_clk_scale_notify()
|
| H A D | ufs-mediatek.c | 2159 unsigned long target_freq, in ufs_mtk_clk_scale_notify() argument
|
| /linux/drivers/firmware/ |
| H A D | ti_sci.c | 1468 u64 target_freq, u64 max_freq, in ti_sci_cmd_clk_get_match_freq() argument 1503 req->target_freq_hz = target_freq; in ti_sci_cmd_clk_get_match_freq() 1545 u64 target_freq, u64 max_freq) in ti_sci_cmd_clk_set_freq() argument 1579 req->target_freq_hz = target_freq; in ti_sci_cmd_clk_set_freq()
|
| /linux/sound/soc/codecs/ |
| H A D | max98090.c | 1874 static int max98090_find_divisor(int target_freq, int pclk) in max98090_find_divisor() argument 1882 test_diff = abs(target_freq - (pclk / dmic_divisors[i])); in max98090_find_divisor()
|
| /linux/include/ufs/ |
| H A D | ufshcd.h | 470 unsigned long target_freq; member
|