| /linux/drivers/pcmcia/ |
| H A D | pxa2xx_base.c | 180 struct cpufreq_freqs *freqs) in pxa2xx_pcmcia_frequency_change() argument 184 if (freqs->new > freqs->old) { in pxa2xx_pcmcia_frequency_change() 187 freqs->new / 1000, (freqs->new / 100) % 10, in pxa2xx_pcmcia_frequency_change() 188 freqs->old / 1000, (freqs->old / 100) % 10); in pxa2xx_pcmcia_frequency_change() 194 if (freqs->new < freqs->old) { in pxa2xx_pcmcia_frequency_change() 197 freqs->new / 1000, (freqs->new / 100) % 10, in pxa2xx_pcmcia_frequency_change() 198 freqs->old / 1000, (freqs->old / 100) % 10); in pxa2xx_pcmcia_frequency_change()
|
| H A D | sa11xx_base.c | 116 struct cpufreq_freqs *freqs) in sa1100_pcmcia_frequency_change() argument 120 if (freqs->new > freqs->old) in sa1100_pcmcia_frequency_change() 121 sa1100_pcmcia_set_mecr(skt, freqs->new); in sa1100_pcmcia_frequency_change() 125 if (freqs->new < freqs->old) in sa1100_pcmcia_frequency_change() 126 sa1100_pcmcia_set_mecr(skt, freqs->new); in sa1100_pcmcia_frequency_change()
|
| /linux/tools/power/cpupower/utils/ |
| H A D | cpufreq-info.c | 223 struct cpufreq_available_frequencies *freqs; in get_boost_mode() local 232 freqs = cpufreq_get_boost_frequencies(cpu); in get_boost_mode() 233 if (freqs) { in get_boost_mode() 235 while (freqs->next) { in get_boost_mode() 236 print_speed(freqs->frequency, no_rounding); in get_boost_mode() 238 freqs = freqs->next; in get_boost_mode() 240 print_speed(freqs->frequency, no_rounding); in get_boost_mode() 242 cpufreq_put_available_frequencies(freqs); in get_boost_mode() 493 struct cpufreq_available_frequencies *freqs; in debug_output_one() 492 struct cpufreq_available_frequencies *freqs; debug_output_one() local [all...] |
| /linux/drivers/dpll/zl3073x/ |
| H A D | prop.c | 197 u64 *freqs = NULL; in zl3073x_pin_props_get() local 279 freqs = kcalloc(num_freqs, sizeof(*freqs), GFP_KERNEL); in zl3073x_pin_props_get() 280 if (!freqs) { in zl3073x_pin_props_get() 287 "supported-frequencies-hz", freqs, in zl3073x_pin_props_get() 305 struct dpll_pin_frequency freq = DPLL_PIN_FREQUENCY(freqs[i]); in zl3073x_pin_props_get() 307 if (freqs[i] == curr_freq) in zl3073x_pin_props_get() 309 if (zl3073x_pin_check_freq(zldev, dir, index, freqs[i])) { in zl3073x_pin_props_get() 320 kfree(freqs); in zl3073x_pin_props_get() 325 kfree(freqs); in zl3073x_pin_props_get()
|
| /linux/drivers/cpufreq/ |
| H A D | cpufreq.c | 280 * @freqs: contain details of the frequency update. 288 struct cpufreq_freqs *freqs, in cpufreq_notify_transition() argument 298 freqs->policy = policy; in cpufreq_notify_transition() 299 freqs->flags = cpufreq_driver->flags; in cpufreq_notify_transition() 301 state, freqs->new); in cpufreq_notify_transition() 310 if (policy->cur && policy->cur != freqs->old) { in cpufreq_notify_transition() 312 freqs->old, policy->cur); in cpufreq_notify_transition() 313 freqs->old = policy->cur; in cpufreq_notify_transition() 317 CPUFREQ_PRECHANGE, freqs); in cpufreq_notify_transition() 319 adjust_jiffies(CPUFREQ_PRECHANGE, freqs); in cpufreq_notify_transition() [all …]
|
| H A D | cppc_cpufreq.c | 327 struct cpufreq_freqs freqs; in cppc_cpufreq_set_target() local 334 freqs.old = policy->cur; in cppc_cpufreq_set_target() 335 freqs.new = target_freq; in cppc_cpufreq_set_target() 337 cpufreq_freq_transition_begin(policy, &freqs); in cppc_cpufreq_set_target() 339 cpufreq_freq_transition_end(policy, &freqs, ret != 0); in cppc_cpufreq_set_target()
|
| H A D | cpufreq_ondemand.c | 35 * freq_lo, and freq_lo_delay_us in percpu area for averaging freqs. 70 /* Find out how long we have to be in hi and lo freqs */ in generic_powersave_bias_target()
|
| H A D | powernow-k8.c | 889 struct cpufreq_freqs freqs; in transition_frequency_fidvid() local 914 freqs.old = find_khz_freq_from_fid(data->currfid); in transition_frequency_fidvid() 915 freqs.new = find_khz_freq_from_fid(fid); in transition_frequency_fidvid() 917 cpufreq_freq_transition_begin(policy, &freqs); in transition_frequency_fidvid() 919 cpufreq_freq_transition_end(policy, &freqs, res); in transition_frequency_fidvid()
|
| H A D | powernow-k8.h | 109 #define MIN_FREQ 800 /* Min and max freqs, per spec */
|
| H A D | amd-pstate.c | 730 struct cpufreq_freqs freqs; in amd_pstate_update_freq() local 742 freqs.old = policy->cur; in amd_pstate_update_freq() 743 freqs.new = target_freq; in amd_pstate_update_freq() 754 cpufreq_freq_transition_begin(policy, &freqs); in amd_pstate_update_freq() 761 cpufreq_freq_transition_end(policy, &freqs, false); in amd_pstate_update_freq()
|
| H A D | intel_pstate.c | 3207 struct cpufreq_freqs freqs; in intel_cpufreq_target() local 3210 freqs.old = policy->cur; in intel_cpufreq_target() 3211 freqs.new = target_freq; in intel_cpufreq_target() 3213 cpufreq_freq_transition_begin(policy, &freqs); in intel_cpufreq_target() 3215 target_pstate = intel_pstate_freq_to_hwp_rel(cpu, freqs.new, relation); in intel_cpufreq_target() 3218 freqs.new = target_pstate * cpu->pstate.scaling; in intel_cpufreq_target() 3220 cpufreq_freq_transition_end(policy, &freqs, false); in intel_cpufreq_target()
|
| /linux/drivers/devfreq/ |
| H A D | governor_passive.c | 233 struct cpufreq_freqs *freqs = ptr; in cpufreq_passive_notifier_call() local 237 if (event != CPUFREQ_POSTCHANGE || !freqs) in cpufreq_passive_notifier_call() 240 parent_cpu_data = get_parent_cpu_data(p_data, freqs->policy); in cpufreq_passive_notifier_call() 241 if (!parent_cpu_data || parent_cpu_data->cur_freq == freqs->new) in cpufreq_passive_notifier_call() 245 parent_cpu_data->cur_freq = freqs->new; in cpufreq_passive_notifier_call() 248 ret = devfreq_update_target(devfreq, freqs->new); in cpufreq_passive_notifier_call() 368 struct devfreq_freqs *freqs = (struct devfreq_freqs *)ptr; in devfreq_passive_notifier_call() local 369 unsigned long freq = freqs->new; in devfreq_passive_notifier_call()
|
| /linux/tools/testing/selftests/intel_pstate/ |
| H A D | run.sh | 65 grep MHz /proc/cpuinfo | sort -u > /tmp/result.freqs 66 num_freqs=$(wc -l /tmp/result.freqs | awk ' { print $1 } ') 68 tail -n 1 /tmp/result.freqs > /tmp/result.$1 70 cp /tmp/result.freqs /tmp/result.$1
|
| /linux/drivers/clk/pxa/ |
| H A D | clk-pxa.c | 215 struct pxa2xx_freq *freqs, int nb_freqs) in pxa2xx_determine_rate() argument 221 rate = freqs[i].cpll; in pxa2xx_determine_rate() 239 rate = freqs[closest_below].cpll; in pxa2xx_determine_rate() 241 rate = freqs[closest_above].cpll; in pxa2xx_determine_rate()
|
| H A D | clk-pxa.h | 160 struct pxa2xx_freq *freqs, int nb_freqs);
|
| /linux/tools/testing/selftests/cpufreq/ |
| H A D | special-tests.sh | 109 local freqs=$(cat $filepath/scaling_available_frequencies) 115 for freq in $freqs; do
|
| H A D | cpufreq.sh | 156 local freqs=$(cat $filepath/scaling_available_frequencies) 157 printf "Available frequencies for $1: $freqs\n\n" 160 for freq in $freqs; do
|
| /linux/include/media/drv-intf/ |
| H A D | tea575x.h | 42 bool has_am; /* Device can tune to AM freqs */
|
| /linux/drivers/media/radio/ |
| H A D | radio-tea5777.h | 54 bool has_am; /* Device can tune to AM freqs */
|
| /linux/Documentation/devicetree/bindings/media/ |
| H A D | nvidia,tegra-vde.yaml | 73 Should contain freqs and voltages and opp-supported-hw property,
|
| /linux/Documentation/devicetree/bindings/devfreq/ |
| H A D | nvidia,tegra30-actmon.yaml | 66 Should contain freqs and voltages and opp-supported-hw property, which
|
| /linux/drivers/mmc/host/ |
| H A D | dw_mmc-rockchip.c | 31 static const unsigned int freqs[] = { 100000, 200000, 300000, 400000 }; variable 514 for (i = 0; i < ARRAY_SIZE(freqs); i++) { in dw_mci_rockchip_init() 515 ret = clk_round_rate(host->ciu_clk, freqs[i] * RK3288_CLKGEN_DIV); in dw_mci_rockchip_init()
|
| /linux/Documentation/devicetree/bindings/memory-controllers/ |
| H A D | nvidia,tegra20-emc.yaml | 55 Should contain freqs and voltages and opp-supported-hw property, which
|
| H A D | nvidia,tegra30-emc.yaml | 49 Should contain freqs and voltages and opp-supported-hw property, which
|
| /linux/drivers/i2c/algos/ |
| H A D | i2c-algo-pca.c | 398 static int freqs[] = {330, 288, 217, 146, 88, 59, 44, 36}; in pca_init() local 442 adap->name, freqs[clock]); in pca_init()
|