/Linux-v4.19/drivers/cpufreq/ |
D | tango-cpufreq.c | 15 unsigned long max_freq; in tango_cpufreq_init() local 26 max_freq = clk_get_rate(cpu_clk); in tango_cpufreq_init() 28 dev_pm_opp_add(cpu_dev, max_freq / 1, 0); in tango_cpufreq_init() 29 dev_pm_opp_add(cpu_dev, max_freq / 2, 0); in tango_cpufreq_init() 30 dev_pm_opp_add(cpu_dev, max_freq / 3, 0); in tango_cpufreq_init() 31 dev_pm_opp_add(cpu_dev, max_freq / 5, 0); in tango_cpufreq_init() 32 dev_pm_opp_add(cpu_dev, max_freq / 9, 0); in tango_cpufreq_init()
|
D | elanfreq.c | 37 static int max_freq; variable 160 if (!max_freq) in elanfreq_cpu_init() 161 max_freq = elanfreq_get_cpu_frequency(0); in elanfreq_cpu_init() 165 if (pos->frequency > max_freq) in elanfreq_cpu_init() 187 max_freq = simple_strtoul(str, &str, 0); in elanfreq_setup() 225 module_param(max_freq, int, 0444);
|
D | ppc_cbe_cpufreq.c | 72 u32 max_freq; in cbe_cpufreq_cpu_init() local 100 max_freq = *max_freqp / 1000; in cbe_cpufreq_cpu_init() 102 pr_debug("max clock-frequency is at %u kHz\n", max_freq); in cbe_cpufreq_cpu_init() 107 pos->frequency = max_freq / pos->driver_data; in cbe_cpufreq_cpu_init()
|
D | pmac64-cpufreq.c | 346 unsigned long max_freq; in g5_neo2_cpufreq_init() local 437 max_freq = (*valp)/1000; in g5_neo2_cpufreq_init() 438 g5_cpu_freqs[0].frequency = max_freq; in g5_neo2_cpufreq_init() 439 g5_cpu_freqs[1].frequency = max_freq/2; in g5_neo2_cpufreq_init() 485 u64 max_freq, min_freq, ih, il; in g5_pm72_cpufreq_init() local 575 max_freq = (*valp)/1000; in g5_pm72_cpufreq_init() 593 min_freq = (max_freq * il) / ih; in g5_pm72_cpufreq_init() 596 if (min_freq >= max_freq || min_freq < 1000) { in g5_pm72_cpufreq_init() 601 g5_cpu_freqs[0].frequency = max_freq; in g5_pm72_cpufreq_init()
|
D | maple-cpufreq.c | 163 unsigned long max_freq; in maple_cpufreq_init() local 214 max_freq = (*valp)/1000; in maple_cpufreq_init() 215 maple_cpu_freqs[0].frequency = max_freq; in maple_cpufreq_init() 216 maple_cpu_freqs[1].frequency = max_freq/2; in maple_cpufreq_init()
|
D | arm_big_little.c | 87 u32 max_freq = 0, cpu_freq; in find_cluster_maxfreq() local 93 (max_freq < cpu_freq)) in find_cluster_maxfreq() 94 max_freq = cpu_freq; in find_cluster_maxfreq() 98 max_freq); in find_cluster_maxfreq() 100 return max_freq; in find_cluster_maxfreq() 237 policy->cpuinfo.max_freq); in bL_cpufreq_set_target() 268 uint32_t max_freq = 0; in get_table_max() local 270 if (pos->frequency > max_freq) in get_table_max() 271 max_freq = pos->frequency; in get_table_max() 272 return max_freq; in get_table_max()
|
D | freq_table.c | 41 unsigned int max_freq = 0; in cpufreq_frequency_table_cpuinfo() local 54 if (freq > max_freq) in cpufreq_frequency_table_cpuinfo() 55 max_freq = freq; in cpufreq_frequency_table_cpuinfo() 59 policy->max = policy->cpuinfo.max_freq = max_freq; in cpufreq_frequency_table_cpuinfo()
|
D | loongson1-cpufreq.c | 29 unsigned int max_freq; member 94 if ((freq < cpufreq->min_freq) || (freq > cpufreq->max_freq)) in ls1x_cpufreq_init() 188 cpufreq->max_freq = pdata->max_freq; in ls1x_cpufreq_probe()
|
/Linux-v4.19/arch/arm/mach-shmobile/ |
D | timer.c | 26 u32 max_freq = 0; in shmobile_init_delay() local 36 max_freq = max(max_freq, freq); in shmobile_init_delay() 41 if (!max_freq) in shmobile_init_delay() 54 preset_lpj = max_freq / HZ; in shmobile_init_delay()
|
/Linux-v4.19/tools/testing/selftests/intel_pstate/ |
D | run.sh | 92 max_freq=$(($_max_freq / 1000)) 95 [ $EVALUATE_ONLY -eq 0 ] && for freq in `seq $max_freq -100 $min_freq` 102 [ $EVALUATE_ONLY -eq 0 ] && cpupower frequency-set -g powersave --max=${max_freq}MHz >& /dev/null 106 echo "The maximum frequency of the cpu is $max_freq MHz" 111 for freq in `seq $max_freq -100 $min_freq` 121 $((max_perf_pct * max_freq))
|
/Linux-v4.19/drivers/clk/tegra/ |
D | cvb.c | 65 int speedo_value, unsigned long max_freq) in build_opp_table() argument 76 if (!entry->freq || (entry->freq > max_freq)) in build_opp_table() 113 int speedo_value, unsigned long max_freq) in tegra_cvb_add_opp_table() argument 127 ret = build_opp_table(dev, table, speedo_value, max_freq); in tegra_cvb_add_opp_table() 136 unsigned long max_freq) in tegra_cvb_remove_opp_table() argument 143 if (!entry->freq || (entry->freq > max_freq)) in tegra_cvb_remove_opp_table()
|
D | clk-tegra124-dfll-fcpu.c | 110 soc->max_freq = cpu_max_freq_table[speedo_id]; in tegra124_dfll_fcpu_probe() 115 soc->max_freq); in tegra124_dfll_fcpu_probe() 124 tegra_cvb_remove_opp_table(soc->dev, soc->cvb, soc->max_freq); in tegra124_dfll_fcpu_probe() 140 tegra_cvb_remove_opp_table(soc->dev, soc->cvb, soc->max_freq); in tegra124_dfll_fcpu_remove()
|
D | cvb.h | 63 int speedo_value, unsigned long max_freq); 66 unsigned long max_freq);
|
/Linux-v4.19/drivers/devfreq/ |
D | governor_simpleondemand.c | 30 unsigned long max = (df->max_freq) ? df->max_freq : UINT_MAX; in devfreq_simple_ondemand_func() 90 if (df->max_freq && *freq > df->max_freq) in devfreq_simple_ondemand_func() 91 *freq = df->max_freq; in devfreq_simple_ondemand_func()
|
D | governor_performance.c | 23 if (!df->max_freq) in devfreq_performance_func() 26 *freq = df->max_freq; in devfreq_performance_func()
|
D | governor_userspace.c | 32 if (df->max_freq && adjusted_freq > df->max_freq) in devfreq_userspace_func() 33 adjusted_freq = df->max_freq; in devfreq_userspace_func()
|
/Linux-v4.19/drivers/macintosh/ |
D | windfarm_cpufreq_clamp.c | 23 unsigned long max_freq; in clamp_notifier_call() local 28 max_freq = clamped ? (p->cpuinfo.min_freq) : (p->cpuinfo.max_freq); in clamp_notifier_call() 29 cpufreq_verify_within_limits(p, 0, max_freq); in clamp_notifier_call()
|
/Linux-v4.19/lib/ |
D | jedec_ddr_data.c | 37 .max_freq = 200000000, 58 .max_freq = 266666666, 79 .max_freq = 400000000, 100 .max_freq = 533333333,
|
/Linux-v4.19/arch/arm/mach-davinci/ |
D | board-mityomapl138.c | 58 int max_freq; /* khz */ member 64 .max_freq = 300000, 68 .max_freq = 375000, 72 .max_freq = 456000, 76 .max_freq = 300000, 80 .max_freq = 375000, 84 .max_freq = 456000, 88 .max_freq = 375000, 106 da850_max_speed = mityomapl138_pn_info[i].max_freq; in mityomapl138_cpufreq_init()
|
/Linux-v4.19/drivers/clk/hisilicon/ |
D | clk-hi6220-stub.c | 101 unsigned int max_freq; in hi6220_acpu_round_freq() local 109 regmap_read(stub_clk->dfs_map, ACPU_DFS_FREQ_MAX, &max_freq); in hi6220_acpu_round_freq() 112 max_freq = min(max_freq, limit_freq); in hi6220_acpu_round_freq() 114 if (WARN_ON(freq > max_freq)) in hi6220_acpu_round_freq() 115 freq = max_freq; in hi6220_acpu_round_freq()
|
/Linux-v4.19/drivers/gpu/drm/nouveau/nvkm/subdev/bios/ |
D | pll.c | 258 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-v4.19/drivers/thermal/ti-soc-thermal/ |
D | dra752-thermal-data.c | 162 .max_freq = DRA752_MPU_MAX_FREQ, 170 .max_freq = DRA752_GPU_MAX_FREQ, 178 .max_freq = DRA752_CORE_MAX_FREQ, 186 .max_freq = DRA752_DSPEVE_MAX_FREQ, 194 .max_freq = DRA752_IVA_MAX_FREQ,
|
D | omap5-thermal-data.c | 145 .max_freq = OMAP5430_MPU_MAX_FREQ, 155 .max_freq = OMAP5430_GPU_MAX_FREQ, 165 .max_freq = OMAP5430_CORE_MAX_FREQ,
|
/Linux-v4.19/drivers/acpi/ |
D | processor_thermal.c | 86 unsigned long max_freq = 0; in acpi_thermal_cpufreq_notifier() local 91 max_freq = ( in acpi_thermal_cpufreq_notifier() 92 policy->cpuinfo.max_freq * in acpi_thermal_cpufreq_notifier() 96 cpufreq_verify_within_limits(policy, 0, max_freq); in acpi_thermal_cpufreq_notifier()
|
/Linux-v4.19/Documentation/ABI/testing/ |
D | sysfs-class-devfreq | 91 What: /sys/class/devfreq/.../max_freq 95 The /sys/class/devfreq/.../max_freq shows and stores 97 the user does not care. max_freq overrides the 99 The max_freq overrides min_freq because max_freq may be
|