Home
last modified time | relevance | path

Searched refs:max_freq (Results 1 – 25 of 84) sorted by relevance

1234

/linux/arch/arm/mach-shmobile/
H A Dtimer.c18 u32 max_freq = 0; in shmobile_init_delay() local
24 max_freq = max(max_freq, freq); in shmobile_init_delay()
27 if (!max_freq) in shmobile_init_delay()
40 preset_lpj = max_freq / HZ; in shmobile_init_delay()
/linux/tools/testing/selftests/intel_pstate/
H A Drun.sh97 max_freq=$((_max_freq / 1000))
100 [ $EVALUATE_ONLY -eq 0 ] && for freq in `seq $max_freq -100 $min_freq`
107 [ $EVALUATE_ONLY -eq 0 ] && cpupower frequency-set -g powersave --max=${max_freq}MHz >& /dev/null
111 echo "The maximum frequency of the cpu is $max_freq MHz"
116 for freq in `seq $max_freq -100 $min_freq`
126 $((max_perf_pct * max_freq))
/linux/drivers/macintosh/
H A Dwindfarm_cpufreq_clamp.c20 static unsigned int min_freq, max_freq; variable
31 freq = max_freq; in clamp_set()
77 max_freq = policy->cpuinfo.max_freq; in wf_cpufreq_clamp_init()
80 max_freq); in wf_cpufreq_clamp_init()
/linux/drivers/clk/tegra/
H A Dcvb.c57 int speedo_value, unsigned long max_freq) in build_opp_table() argument
67 if (!entry->freq || (entry->freq > max_freq)) in build_opp_table()
106 unsigned long max_freq) in tegra_cvb_add_opp_table() argument
121 max_freq); in tegra_cvb_add_opp_table()
130 unsigned long max_freq) in tegra_cvb_remove_opp_table() argument
137 if (!entry->freq || (entry->freq > max_freq)) in tegra_cvb_remove_opp_table()
H A Dcvb.h55 unsigned long max_freq);
58 unsigned long max_freq);
H A Dclk-tegra124-dfll-fcpu.c696 soc->max_freq = fcpu_data->cpu_max_freq_table[speedo_id]; in tegra124_dfll_fcpu_probe()
701 speedo_value, soc->max_freq); in tegra124_dfll_fcpu_probe()
712 tegra_cvb_remove_opp_table(soc->dev, soc->cvb, soc->max_freq); in tegra124_dfll_fcpu_probe()
731 tegra_cvb_remove_opp_table(soc->dev, soc->cvb, soc->max_freq); in tegra124_dfll_fcpu_remove()
/linux/drivers/memory/
H A Djedec_ddr_data.c35 .max_freq = 200000000,
56 .max_freq = 266666666,
77 .max_freq = 400000000,
98 .max_freq = 533333333,
/linux/drivers/clk/hisilicon/
H A Dclk-hi6220-stub.c97 unsigned int max_freq; in hi6220_acpu_round_freq() local
105 regmap_read(stub_clk->dfs_map, ACPU_DFS_FREQ_MAX, &max_freq); in hi6220_acpu_round_freq()
108 max_freq = min(max_freq, limit_freq); in hi6220_acpu_round_freq()
110 if (WARN_ON(freq > max_freq)) in hi6220_acpu_round_freq()
111 freq = max_freq; in hi6220_acpu_round_freq()
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/bios/
H A Dpll.c258 info->vco1.max_freq = nvbios_rd32(bios, data + 4); in nvbios_pll_parse()
260 info->vco2.max_freq = nvbios_rd32(bios, data + 12); in nvbios_pll_parse()
304 info->vco1.max_freq = nvbios_rd16(bios, data + 6) * 1000; in nvbios_pll_parse()
306 info->vco2.max_freq = nvbios_rd16(bios, data + 10) * 1000; in nvbios_pll_parse()
333 info->vco1.max_freq = nvbios_rd16(bios, data + 2) * 1000; in nvbios_pll_parse()
335 info->vco2.max_freq = nvbios_rd16(bios, data + 6) * 1000; in nvbios_pll_parse()
357 info->vco1.max_freq = nvbios_rd16(bios, data + 2) * 1000; in nvbios_pll_parse()
371 info->vco1.max_freq = nvbios_rd16(bios, data + 7) * 1000; in nvbios_pll_parse()
405 if (!info->vco1.max_freq) { in nvbios_pll_parse()
406 info->vco1.max_freq = nvbios_rd32(bios, bios->bmp_offset + 67); in nvbios_pll_parse()
[all …]
/linux/drivers/thermal/ti-soc-thermal/
H A Ddra752-thermal-data.c153 .max_freq = DRA752_MPU_MAX_FREQ,
161 .max_freq = DRA752_GPU_MAX_FREQ,
169 .max_freq = DRA752_CORE_MAX_FREQ,
177 .max_freq = DRA752_DSPEVE_MAX_FREQ,
185 .max_freq = DRA752_IVA_MAX_FREQ,
H A Domap5-thermal-data.c136 .max_freq = OMAP5430_MPU_MAX_FREQ,
146 .max_freq = OMAP5430_GPU_MAX_FREQ,
156 .max_freq = OMAP5430_CORE_MAX_FREQ,
H A Domap3-thermal-data.c42 .max_freq = 32768,
110 .max_freq = 32768,
H A Domap4-thermal-data.c35 .max_freq = OMAP4430_MAX_FREQ,
127 .max_freq = OMAP4460_MAX_FREQ,
/linux/drivers/cpufreq/
H A Dvexpress-spc-cpufreq.c74 u32 max_freq = 0, cpu_freq; in find_cluster_maxfreq() local
80 max_freq < cpu_freq) in find_cluster_maxfreq()
81 max_freq = cpu_freq; in find_cluster_maxfreq()
84 return max_freq; in find_cluster_maxfreq()
226 u32 max_freq = 0; in get_table_max() local
229 if (pos->frequency > max_freq) in get_table_max()
230 max_freq = pos->frequency; in get_table_max()
231 return max_freq; in get_table_max()
H A Dqoriq-cpufreq.c128 unsigned int freq, max_freq; in freq_table_sort() local
132 max_freq = freq_table[i].frequency; in freq_table_sort()
137 freq <= max_freq) in freq_table_sort()
140 max_freq = freq; in freq_table_sort()
H A Damd-pstate.c831 policy->cpuinfo.max_freq = cpudata->max_freq; in amd_pstate_cpu_boost_update()
832 else if (policy->cpuinfo.max_freq > nominal_freq) in amd_pstate_cpu_boost_update()
833 policy->cpuinfo.max_freq = nominal_freq; in amd_pstate_cpu_boost_update()
836 ret = freq_qos_update_request(&cpudata->req[1], policy->cpuinfo.max_freq); in amd_pstate_cpu_boost_update()
989 u32 min_freq, max_freq, nominal_freq, lowest_nonlinear_freq; in amd_pstate_init_freq() local
1017 max_freq = perf_to_freq(perf, nominal_freq, perf.highest_perf); in amd_pstate_init_freq()
1018 WRITE_ONCE(cpudata->max_freq, max_freq); in amd_pstate_init_freq()
1028 if (min_freq <= 0 || max_freq <= 0 || nominal_freq <= 0 || min_freq > max_freq) { in amd_pstate_init_freq()
1030 min_freq, max_freq, nominal_freq); in amd_pstate_init_freq()
1093 policy->cpuinfo.max_freq = cpudata->max_freq; in amd_pstate_cpu_init()
[all …]
H A Dcppc_cpufreq.c298 unsigned int min_freq, max_freq; in cppc_cpufreq_get_perf_limits() local
302 max_freq = READ_ONCE(policy->max); in cppc_cpufreq_get_perf_limits()
303 if (unlikely(min_freq > max_freq)) in cppc_cpufreq_get_perf_limits()
304 min_freq = max_freq; in cppc_cpufreq_get_perf_limits()
307 max = cppc_khz_to_perf(caps, max_freq); in cppc_cpufreq_get_perf_limits()
683 policy->cpuinfo.max_freq = cppc_perf_to_khz(caps, policy->boost_enabled ? in cppc_cpufreq_cpu_init()
851 policy->cpuinfo.max_freq = cppc_perf_to_khz(caps, caps->highest_perf); in cppc_cpufreq_set_boost()
853 policy->cpuinfo.max_freq = cppc_perf_to_khz(caps, caps->nominal_perf); in cppc_cpufreq_set_boost()
/linux/drivers/clk/
H A Dclk-si544.c62 unsigned long max_freq; member
206 return frequency <= data->chip_info->max_freq; in is_valid_frequency()
495 .max_freq = 1500000000,
500 .max_freq = 800000000,
505 .max_freq = 325000000,
510 .max_freq = 1500000000,
515 .max_freq = 800000000,
520 .max_freq = 325000000,
H A Dclk-rp1.c357 unsigned long max_freq; member
1088 if (tmp > data->max_freq) in rp1_clock_choose_div_and_prate()
1447 .max_freq = 50 * HZ_PER_MHZ,
1472 .max_freq = 125 * HZ_PER_MHZ,
1497 .max_freq = 200 * HZ_PER_MHZ,
1598 .max_freq = 50 * HZ_PER_MHZ,
1624 .max_freq = 100 * HZ_PER_MHZ,
1649 .max_freq = 100 * HZ_PER_MHZ,
1675 .max_freq = 76800 * HZ_PER_KHZ,
1701 .max_freq = 76800 * HZ_PER_KHZ,
[all …]
/linux/drivers/gpu/drm/i915/gt/
H A Dselftest_slpc.c129 u32 step, max_freq, req_freq; in vary_max_freq() local
136 for (max_freq = slpc->rp0_freq; max_freq > slpc->min_freq; in vary_max_freq()
137 max_freq -= step) { in vary_max_freq()
138 err = slpc_set_max_freq(slpc, max_freq); in vary_max_freq()
145 if (req_freq > (max_freq + FREQUENCY_REQ_UNIT)) { in vary_max_freq()
147 max_freq + FREQUENCY_REQ_UNIT); in vary_max_freq()
/linux/drivers/acpi/
H A Dprocessor_thermal.c93 unsigned long max_freq; in cpufreq_update_thermal_limit() local
100 max_freq = (policy->cpuinfo.max_freq * in cpufreq_update_thermal_limit()
103 ret = freq_qos_update_request(&pr->thermal_req, max_freq); in cpufreq_update_thermal_limit()
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/clk/
H A Dpllnv04.c41 int minvco = info->vco1.min_freq, maxvco = info->vco1.max_freq; in getMNP_single()
140 int minvco1 = info->vco1.min_freq, maxvco1 = info->vco1.max_freq; in getMNP_double()
141 int minvco2 = info->vco2.min_freq, maxvco2 = info->vco2.max_freq; in getMNP_double()
232 if (!info->vco2.max_freq || !N2) { in nv04_pll_calc()
/linux/drivers/base/
H A Darch_topology.c142 unsigned long max_freq) in topology_set_freq_scale() argument
147 if (WARN_ON_ONCE(!cur_freq || !max_freq)) in topology_set_freq_scale()
158 scale = (cur_freq << SCHED_CAPACITY_SHIFT) / max_freq; in topology_set_freq_scale()
184 u32 max_freq; in topology_update_hw_pressure() local
189 max_freq = arch_scale_freq_ref(cpu); in topology_update_hw_pressure()
195 if (max_freq <= capped_freq) in topology_update_hw_pressure()
198 capacity = mult_frac(max_capacity, capped_freq, max_freq); in topology_update_hw_pressure()
407 per_cpu(capacity_freq_ref, cpu) = policy->cpuinfo.max_freq; in init_cpu_capacity_callback()
/linux/Documentation/ABI/testing/
H A Dsysfs-class-devfreq83 What: /sys/class/devfreq/.../max_freq
87 The /sys/class/devfreq/.../max_freq shows and stores
89 the user does not care. max_freq overrides the
91 The max_freq overrides min_freq because max_freq may be
/linux/drivers/devfreq/
H A Dgovernor_passive.c42 unsigned int max_freq; member
142 cpu_max = parent_cpu_data->max_freq; in get_target_freq_with_cpufreq()
338 parent_cpu_data->max_freq = policy->cpuinfo.max_freq; in cpufreq_passive_register_notifier()

1234