/kernel/linux/linux-5.10/include/linux/ |
D | cpufreq.h | 322 unsigned int target_freq, 327 unsigned int target_freq); 336 unsigned int target_freq); 595 unsigned int target_freq); 597 unsigned int target_freq, 600 unsigned int target_freq, 603 unsigned int target_freq); 752 unsigned int target_freq, 767 unsigned int target_freq) in cpufreq_table_find_index_al() argument 777 if (freq >= target_freq) in cpufreq_table_find_index_al() [all …]
|
D | pm_opp.h | 154 int dev_pm_opp_set_rate(struct device *dev, unsigned long target_freq); 342 static inline int dev_pm_opp_set_rate(struct device *dev, unsigned long target_freq) in dev_pm_opp_set_rate() argument
|
/kernel/linux/linux-5.10/drivers/cpufreq/ |
D | s3c24xx-cpufreq.c | 149 unsigned int target_freq, in s3c_cpufreq_settarget() argument 169 cpu_new.freq.armclk = target_freq; in s3c_cpufreq_settarget() 173 pr_err("no divisors for %d\n", target_freq); in s3c_cpufreq_settarget() 260 pr_err("no compatible settings for %d\n", target_freq); in s3c_cpufreq_settarget() 271 unsigned int target_freq, in s3c_cpufreq_target() argument 280 if (target_freq == last_target) in s3c_cpufreq_target() 283 last_target = target_freq; in s3c_cpufreq_target() 286 __func__, policy, target_freq, relation); in s3c_cpufreq_target() 289 index = cpufreq_frequency_table_target(policy, target_freq, in s3c_cpufreq_target() 293 target_freq, index, ftab[index].frequency); in s3c_cpufreq_target() [all …]
|
D | freq_table.c | 119 unsigned int target_freq, in cpufreq_table_index_unsorted() argument 136 target_freq, relation, policy->cpu); in cpufreq_table_index_unsorted() 153 if (freq == target_freq) { in cpufreq_table_index_unsorted() 159 if (freq < target_freq) { in cpufreq_table_index_unsorted() 172 if (freq > target_freq) { in cpufreq_table_index_unsorted() 185 diff = abs(freq - target_freq); in cpufreq_table_index_unsorted()
|
D | cpufreq-nforce2.c | 251 unsigned int target_freq, unsigned int relation) in nforce2_target() argument 257 if ((target_freq > policy->max) || (target_freq < policy->min)) in nforce2_target() 260 target_fsb = target_freq / (fid * 100); in nforce2_target()
|
D | cpufreq.c | 540 unsigned int target_freq) in cpufreq_driver_resolve_freq() argument 542 target_freq = clamp_val(target_freq, policy->min, policy->max); in cpufreq_driver_resolve_freq() 543 policy->cached_target_freq = target_freq; in cpufreq_driver_resolve_freq() 548 idx = cpufreq_frequency_table_target(policy, target_freq, in cpufreq_driver_resolve_freq() 555 return cpufreq_driver->resolve_freq(policy, target_freq); in cpufreq_driver_resolve_freq() 557 return target_freq; in cpufreq_driver_resolve_freq() 2080 unsigned int target_freq) in cpufreq_driver_fast_switch() argument 2085 target_freq = clamp_val(target_freq, policy->min, policy->max); in cpufreq_driver_fast_switch() 2086 freq = cpufreq_driver->fast_switch(policy, target_freq); in cpufreq_driver_fast_switch() 2189 unsigned int target_freq, in __cpufreq_driver_target() argument [all …]
|
D | scmi-cpufreq.c | 60 unsigned int target_freq) in scmi_cpufreq_fast_switch() argument 66 target_freq * 1000, true)) in scmi_cpufreq_fast_switch() 67 return target_freq; in scmi_cpufreq_fast_switch()
|
D | sh-cpufreq.c | 82 unsigned int target_freq, in sh_cpufreq_target() argument 85 struct cpufreq_target data = { .policy = policy, .freq = target_freq }; in sh_cpufreq_target()
|
D | pcc-cpufreq.c | 198 unsigned int target_freq, in pcc_cpufreq_target() argument 212 cpu, target_freq, in pcc_cpufreq_target() 216 freqs.new = target_freq; in pcc_cpufreq_target() 220 input_buffer = 0x1 | (((target_freq * 100) in pcc_cpufreq_target()
|
D | cppc_cpufreq.c | 149 unsigned int target_freq, in cppc_cpufreq_set_target() argument 159 desired_perf = cppc_cpufreq_khz_to_perf(cpu, target_freq); in cppc_cpufreq_set_target() 166 freqs.new = target_freq; in cppc_cpufreq_set_target()
|
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()
|
D | acpi-cpufreq.c | 460 unsigned int target_freq) in acpi_cpufreq_fast_switch() argument 470 if (policy->cached_target_freq == target_freq) in acpi_cpufreq_fast_switch() 473 index = cpufreq_table_find_index_dl(policy, target_freq); in acpi_cpufreq_fast_switch()
|
D | powernv-cpufreq.c | 1024 unsigned int target_freq) in powernv_fast_switch() argument 1029 index = cpufreq_table_find_index_dl(policy, target_freq); in powernv_fast_switch()
|
/kernel/linux/linux-5.10/drivers/devfreq/ |
D | tegra30-devfreq.c | 153 unsigned long target_freq; member 320 unsigned long target_freq; in actmon_device_target_freq() local 322 target_freq = dev->avg_count / tegra->devfreq->profile->polling_ms; in actmon_device_target_freq() 324 target_freq = do_percent(target_freq, avg_sustain_coef); in actmon_device_target_freq() 326 return target_freq; in actmon_device_target_freq() 335 dev->target_freq = actmon_device_target_freq(tegra, dev); in actmon_update_target() 338 dev->config->avg_dependency_threshold <= dev->target_freq) { in actmon_update_target() 342 dev->target_freq += dev->boost_freq; in actmon_update_target() 343 dev->target_freq = max(dev->target_freq, static_cpu_emc_freq); in actmon_update_target() 345 dev->target_freq += dev->boost_freq; in actmon_update_target() [all …]
|
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()
|
/kernel/linux/linux-5.10/arch/powerpc/platforms/cell/ |
D | cpufreq_spudemand.c | 50 unsigned long target_freq; in spu_gov_work() local 57 target_freq = calc_freq(info); in spu_gov_work() 58 __cpufreq_driver_target(info->policy, target_freq, CPUFREQ_RELATION_H); in spu_gov_work()
|
/kernel/linux/linux-5.10/include/media/i2c/ |
D | mt9p031.h | 14 int target_freq; member
|
/kernel/linux/linux-5.10/drivers/thermal/ |
D | cpufreq_cooling.c | 306 unsigned int target_freq; in cpufreq_power2state() local 313 target_freq = cpu_power_to_freq(cpufreq_cdev, normalised_power); in cpufreq_power2state() 315 *state = get_level(cpufreq_cdev, target_freq); in cpufreq_power2state() 316 trace_thermal_power_cpu_limit(policy->related_cpus, target_freq, *state, in cpufreq_power2state()
|
/kernel/linux/linux-5.10/Documentation/ABI/testing/ |
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
|
/kernel/linux/linux-5.10/drivers/media/i2c/ |
D | mt9p031.c | 250 div = DIV_ROUND_UP(pdata->ext_freq, pdata->target_freq); in mt9p031_clk_setup() 260 mt9p031->pll.pix_clock = pdata->target_freq; in mt9p031_clk_setup() 1049 of_property_read_u32(np, "pixel-clock-frequency", &pdata->target_freq); in mt9p031_get_pdata() 1111 V4L2_CID_PIXEL_RATE, pdata->target_freq, in mt9p031_probe() 1112 pdata->target_freq, 1, pdata->target_freq); in mt9p031_probe()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/subdev/clk/ |
D | gk20a.c | 105 u32 target_clk_f, ref_clk_f, target_freq; in gk20a_pllg_calc_mnp() local 201 target_freq = gk20a_pllg_calc_rate(clk, pll); in gk20a_pllg_calc_mnp() 205 target_freq / KHZ, pll->m, pll->n, pll->pl, in gk20a_pllg_calc_mnp()
|
/kernel/linux/linux-5.10/include/linux/soc/ti/ |
D | ti_sci_protocol.h | 190 u32 cid, u64 min_freq, u64 target_freq, 193 u64 min_freq, u64 target_freq, u64 max_freq);
|
/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/ |
D | radeon_uvd.c | 918 unsigned target_freq, in radeon_uvd_calc_upll_post_div() argument 922 unsigned post_div = vco_freq / target_freq; in radeon_uvd_calc_upll_post_div() 929 if ((vco_freq / post_div) > target_freq) in radeon_uvd_calc_upll_post_div()
|
/kernel/linux/linux-5.10/Documentation/cpu-freq/ |
D | cpu-drivers.rst | 192 - keep close to "target_freq" 195 target_freq. ("L for lowest, but no lower than") 197 target_freq. ("H for highest, but no higher than")
|
/kernel/linux/linux-5.10/drivers/video/fbdev/i810/ |
D | i810_main.c | 710 u32 f_out, target_freq, diff = 0, mod_min, diff_min; in i810_calc_dclk() local 715 target_freq = freq; in i810_calc_dclk() 723 while(!((1000000 * p_divisor)/(16 * 24 * target_freq)) && in i810_calc_dclk() 735 if (f_out <= target_freq) { in i810_calc_dclk() 737 diff = target_freq - f_out; in i810_calc_dclk() 740 diff = f_out - target_freq; in i810_calc_dclk()
|