Home
last modified time | relevance | path

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

1234567

/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/drivers/cpufreq/
H A Delanfreq.c31 static int max_freq; variable
154 if (!max_freq) in elanfreq_cpu_init()
155 max_freq = elanfreq_get_cpu_frequency(0); in elanfreq_cpu_init()
159 if (pos->frequency > max_freq) in elanfreq_cpu_init()
177 * max_freq module parameter instead.
181 max_freq = simple_strtoul(str, &str, 0); in elanfreq_setup()
182 pr_warn("You're using the deprecated elanfreq command line option. Use elanfreq.max_freq instead, please!\n"); in elanfreq_setup()
218 module_param(max_freq, int, 0444);
H A Dfreq_table.c36 unsigned int max_freq = 0; in cpufreq_frequency_table_cpuinfo() local
49 if (freq > max_freq) in cpufreq_frequency_table_cpuinfo()
50 max_freq = freq; in cpufreq_frequency_table_cpuinfo()
54 policy->max = max_freq; in cpufreq_frequency_table_cpuinfo()
56 * If the driver has set its own cpuinfo.max_freq above max_freq, leave in cpufreq_frequency_table_cpuinfo()
59 if (policy->cpuinfo.max_freq < max_freq) in cpufreq_frequency_table_cpuinfo()
60 policy->max = policy->cpuinfo.max_freq = max_freq; in cpufreq_frequency_table_cpuinfo()
[all...]
H A Dpmac64-cpufreq.c343 unsigned long max_freq; in g5_neo2_cpufreq_init() local
435 max_freq = (*valp)/1000; in g5_neo2_cpufreq_init()
436 g5_cpu_freqs[0].frequency = max_freq; in g5_neo2_cpufreq_init()
437 g5_cpu_freqs[1].frequency = max_freq/2; in g5_neo2_cpufreq_init()
483 u64 max_freq, min_freq, ih, il; in g5_pm72_cpufreq_init() local
573 max_freq = (*valp)/1000; in g5_pm72_cpufreq_init()
591 min_freq = (max_freq * il) / ih; in g5_pm72_cpufreq_init()
594 if (min_freq >= max_freq || min_freq < 1000) { in g5_pm72_cpufreq_init()
599 g5_cpu_freqs[0].frequency = max_freq; in g5_pm72_cpufreq_init()
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 Dvirtual-cpufreq.c73 u32 max_freq = (u32)cpufreq_get_hw_max_freq(cpu); in virt_scale_freq_tick() local
81 scale = (unsigned long)div_u64(cur_freq, max_freq); in virt_scale_freq_tick()
165 policy->cpuinfo.max_freq = virt_cpufreq_get_perftbl_entry(policy->cpu, 0); in virt_cpufreq_get_freq_info()
168 policy->max = policy->cpuinfo.max_freq; in virt_cpufreq_get_freq_info()
H A Damd-pstate-ut.c186 * max_freq >= nominal_freq > lowest_nonlinear_freq > min_freq > 0
202 if (!((policy->cpuinfo.max_freq >= cpudata->nominal_freq) && in amd_pstate_ut_check_freq()
207 __func__, cpu, policy->cpuinfo.max_freq, cpudata->nominal_freq, in amd_pstate_ut_check_freq()
219 if ((policy->max != policy->cpuinfo.max_freq) && in amd_pstate_ut_check_freq()
222 __func__, cpu, policy->max, policy->cpuinfo.max_freq, in amd_pstate_ut_check_freq()
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()
/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()
93 * @max_freq: highest safe clock rate
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);
/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/spi/
H A Dspi-dw-pci.c31 u32 max_freq; member
47 dws->max_freq = MRST_SPI_CLK_BASE / (clk_cdiv + 1); in dw_spi_pci_mid_init()
79 .max_freq = 100000000,
118 dws->max_freq = desc->max_freq; in dw_spi_pci_probe()
H A Dspi-mem.c190 if (op->max_freq && mem->spi->controller->min_speed_hz && in spi_mem_default_supports_op()
191 op->max_freq < mem->spi->controller->min_speed_hz) in spi_mem_default_supports_op()
194 if (op->max_freq && in spi_mem_default_supports_op()
195 op->max_freq < mem->spi->max_speed_hz) { in spi_mem_default_supports_op()
389 op->max_freq ? op->max_freq : mem->spi->max_speed_hz); in spi_mem_exec_op()
437 xfers[xferpos].speed_hz = op->max_freq; in spi_mem_exec_op()
452 xfers[xferpos].speed_hz = op->max_freq; in spi_mem_exec_op()
464 xfers[xferpos].speed_hz = op->max_freq; in spi_mem_exec_op()
480 xfers[xferpos].speed_hz = op->max_freq; in spi_mem_exec_op()
[all...]
/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 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,
/linux/drivers/devfreq/
H A Ddevfreq.c103 unsigned long max_freq = ULONG_MAX; in find_available_max_freq() local
105 opp = dev_pm_opp_find_freq_floor_indexed(devfreq->dev.parent, &max_freq, 0); in find_available_max_freq()
107 max_freq = 0; in find_available_max_freq()
111 return max_freq; in find_available_max_freq()
118 * @max_freq: the max frequency
124 unsigned long *max_freq) in devfreq_get_freq_range() argument
138 *max_freq = freq_table[devfreq->max_state - 1]; in devfreq_get_freq_range()
141 *max_freq = freq_table[0]; in devfreq_get_freq_range()
151 *max_freq = min(*max_freq, in devfreq_get_freq_range()
402 unsigned long min_freq, max_freq; devfreq_update_target() local
1606 unsigned long min_freq, max_freq; min_freq_show() local
1660 unsigned long min_freq, max_freq; max_freq_show() local
1953 unsigned long cur_freq, min_freq, max_freq; devfreq_summary_show() local
[all...]
/linux/drivers/gpu/drm/bridge/
H A Dthc63lvd1024.c60 unsigned int max_freq; in thc63_mode_valid() local
70 max_freq = 150000; in thc63_mode_valid()
73 max_freq = 135000; in thc63_mode_valid()
79 if (mode->clock > max_freq) in thc63_mode_valid()
/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()
H A Dintel_rps.c311 rps->max_freq = fmin; in gen5_rps_init()
425 val = rps->max_freq - val; in gen5_invert_freq()
967 if (val < rps->min_freq || val > rps->max_freq) in rps_set_boost_freq()
1073 GEM_BUG_ON(val > rps->max_freq); in intel_rps_set()
1192 rps->max_freq = rps->rp0_freq; in gen6_rps_init()
1209 rps->max_freq); in gen6_rps_init()
1553 if (rps->max_freq <= rps->min_freq) in intel_rps_enable()
1575 rps->min_freq, rps->max_freq, in intel_rps_enable()
1577 intel_gpu_freq(rps, rps->max_freq), in intel_rps_enable()
1581 GEM_BUG_ON(rps->max_freq < rp in intel_rps_enable()
[all...]
/linux/drivers/acpi/
H A Dprocessor_thermal.c100 unsigned long max_freq; in cpufreq_set_cur_state() local
127 max_freq = (policy->cpuinfo.max_freq * in cpufreq_set_cur_state()
132 ret = freq_qos_update_request(&pr->thermal_req, max_freq); in cpufreq_set_cur_state()
/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()

1234567