Home
last modified time | relevance | path

Searched refs:target_freq (Results 1 – 25 of 34) sorted by relevance

12

/kernel/linux/linux-5.10/include/linux/
Dcpufreq.h322 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 …]
Dpm_opp.h154 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/
Ds3c24xx-cpufreq.c149 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 …]
Dfreq_table.c119 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()
Dcpufreq-nforce2.c251 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()
Dcpufreq.c540 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 …]
Dscmi-cpufreq.c60 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()
Dsh-cpufreq.c82 unsigned int target_freq, in sh_cpufreq_target() argument
85 struct cpufreq_target data = { .policy = policy, .freq = target_freq }; in sh_cpufreq_target()
Dpcc-cpufreq.c198 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()
Dcppc_cpufreq.c149 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()
Dgx-suspmod.c372 unsigned int target_freq, in cpufreq_gx_target() argument
383 tmp_freq = gx_validate_speed(target_freq, &tmp1, &tmp2); in cpufreq_gx_target()
Dacpi-cpufreq.c460 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()
Dpowernv-cpufreq.c1024 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/
Dtegra30-devfreq.c153 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 …]
Dimx8m-ddrc.c101 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/
Dcpufreq_spudemand.c50 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/
Dmt9p031.h14 int target_freq; member
/kernel/linux/linux-5.10/drivers/thermal/
Dcpufreq_cooling.c306 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/
Dsysfs-class-devfreq30 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/
Dmt9p031.c250 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/
Dgk20a.c105 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/
Dti_sci_protocol.h190 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/
Dradeon_uvd.c918 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/
Dcpu-drivers.rst192 - 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/
Di810_main.c710 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()

12