Home
last modified time | relevance | path

Searched full:freqs (Results 1 – 25 of 43) sorted by relevance

12

/linux/drivers/pcmcia/
H A Dpxa2xx_base.c180 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 Dsa11xx_base.c116 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 Dcpufreq-info.c223 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()
492 struct cpufreq_available_frequencies *freqs; in debug_output_one() local
[all...]
/linux/drivers/dpll/zl3073x/
H A Dprop.c197 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 Dcpufreq.c307 * @freqs: contain details of the frequency update.
315 struct cpufreq_freqs *freqs, in cpufreq_notify_transition() argument
325 freqs->policy = policy; in cpufreq_notify_transition()
326 freqs->flags = cpufreq_driver->flags; in cpufreq_notify_transition()
328 state, freqs->new); in cpufreq_notify_transition()
337 if (policy->cur && policy->cur != freqs->old) { in cpufreq_notify_transition()
339 freqs->old, policy->cur); in cpufreq_notify_transition()
340 freqs->old = policy->cur; in cpufreq_notify_transition()
344 CPUFREQ_PRECHANGE, freqs); in cpufreq_notify_transition()
346 adjust_jiffies(CPUFREQ_PRECHANGE, freqs); in cpufreq_notify_transition()
367 cpufreq_notify_post_transition(struct cpufreq_policy * policy,struct cpufreq_freqs * freqs,int transition_failed) cpufreq_notify_post_transition() argument
379 cpufreq_freq_transition_begin(struct cpufreq_policy * policy,struct cpufreq_freqs * freqs) cpufreq_freq_transition_begin() argument
413 cpufreq_freq_transition_end(struct cpufreq_policy * policy,struct cpufreq_freqs * freqs,int transition_failed) cpufreq_freq_transition_end() argument
1799 struct cpufreq_freqs freqs; cpufreq_out_of_sync() local
2274 __target_intermediate(struct cpufreq_policy * policy,struct cpufreq_freqs * freqs,int index) __target_intermediate() argument
2300 struct cpufreq_freqs freqs = {.old = policy->cur, .flags = 0}; __target_index() local
[all...]
H A Dlonghaul.c251 struct cpufreq_freqs freqs; in longhaul_setstate() local
272 freqs.old = calc_speed(longhaul_get_cpu_mult()); in longhaul_setstate()
273 freqs.new = speed; in longhaul_setstate()
348 freqs.new = calc_speed(longhaul_get_cpu_mult()); in longhaul_setstate()
350 if (unlikely(freqs.new != speed)) { in longhaul_setstate()
960 struct cpufreq_freqs freqs; in longhaul_exit() local
962 freqs.old = policy->cur; in longhaul_exit()
963 freqs.new = longhaul_table[i].frequency; in longhaul_exit()
964 freqs.flags = 0; in longhaul_exit()
966 cpufreq_freq_transition_begin(policy, &freqs); in longhaul_exit()
[all …]
H A Dvirtual-cpufreq.c119 struct cpufreq_freqs freqs; in virt_cpufreq_target() local
122 freqs.old = policy->cur; in virt_cpufreq_target()
123 freqs.new = target_freq; in virt_cpufreq_target()
125 cpufreq_freq_transition_begin(policy, &freqs); in virt_cpufreq_target()
127 cpufreq_freq_transition_end(policy, &freqs, ret != 0); in virt_cpufreq_target()
H A Dgx-suspmod.c255 struct cpufreq_freqs freqs; in gx_set_cpuspeed() local
257 freqs.old = gx_get_cpuspeed(0); in gx_set_cpuspeed()
262 freqs.new = new_khz; in gx_set_cpuspeed()
264 cpufreq_freq_transition_begin(policy, &freqs); in gx_set_cpuspeed()
313 cpufreq_freq_transition_end(policy, &freqs, 0); in gx_set_cpuspeed()
317 pr_debug("suspend modulation w/ clock speed: %d kHz.\n", freqs.new); in gx_set_cpuspeed()
H A Dpxa3xx-cpufreq.c108 struct pxa3xx_freq_info *freqs, int num) in setup_freqs_table() argument
119 table[i].frequency = freqs[i].cpufreq_mhz * 1000; in setup_freqs_table()
124 pxa3xx_freqs = freqs; in setup_freqs_table()
H A Dpowernow-k7.c251 struct cpufreq_freqs freqs; in powernow_target() local
265 freqs.old = fsb * fid_codes[cfid] / 10; in powernow_target()
267 freqs.new = powernow_table[index].frequency; in powernow_target()
274 if (freqs.old > freqs.new) { in powernow_target()
H A Dcppc_cpufreq.c296 struct cpufreq_freqs freqs; in cppc_cpufreq_set_target() local
301 freqs.old = policy->cur; in cppc_cpufreq_set_target()
302 freqs.new = target_freq; in cppc_cpufreq_set_target()
304 cpufreq_freq_transition_begin(policy, &freqs); in cppc_cpufreq_set_target()
306 cpufreq_freq_transition_end(policy, &freqs, ret != 0); in cppc_cpufreq_set_target()
H A Dcpufreq_ondemand.c35 * 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 Dpowernow-k8.c887 struct cpufreq_freqs freqs; in transition_frequency_fidvid() local
912 freqs.old = find_khz_freq_from_fid(data->currfid); in transition_frequency_fidvid()
913 freqs.new = find_khz_freq_from_fid(fid); in transition_frequency_fidvid()
915 cpufreq_freq_transition_begin(policy, &freqs); in transition_frequency_fidvid()
917 cpufreq_freq_transition_end(policy, &freqs, res); in transition_frequency_fidvid()
H A Damd-pstate.c665 struct cpufreq_freqs freqs; in amd_pstate_update_freq() local
677 freqs.old = policy->cur; in amd_pstate_update_freq()
678 freqs.new = target_freq; in amd_pstate_update_freq()
689 cpufreq_freq_transition_begin(policy, &freqs); in amd_pstate_update_freq()
696 cpufreq_freq_transition_end(policy, &freqs, false); in amd_pstate_update_freq()
/linux/drivers/devfreq/
H A Dgovernor_passive.c233 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()
H A Ddevfreq.c322 struct devfreq_freqs *freqs, unsigned int state) in devfreq_notify_transition() argument
330 DEVFREQ_PRECHANGE, freqs); in devfreq_notify_transition()
335 DEVFREQ_POSTCHANGE, freqs); in devfreq_notify_transition()
347 struct devfreq_freqs freqs; in devfreq_set_target() local
356 freqs.old = cur_freq; in devfreq_set_target()
357 freqs.new = new_freq; in devfreq_set_target()
358 devfreq_notify_transition(devfreq, &freqs, DEVFREQ_PRECHANGE); in devfreq_set_target()
362 freqs.new = cur_freq; in devfreq_set_target()
363 devfreq_notify_transition(devfreq, &freqs, DEVFREQ_POSTCHANGE); in devfreq_set_target()
375 freqs.new = new_freq; in devfreq_set_target()
[all …]
/linux/tools/testing/selftests/intel_pstate/
H A Drun.sh65 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 Dclk-pxa.c215 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()
/linux/tools/testing/selftests/cpufreq/
H A Dspecial-tests.sh98 local freqs=$(cat $filepath/scaling_available_frequencies)
104 for freq in $freqs; do
H A Dcpufreq.sh156 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 Dtea575x.h42 bool has_am; /* Device can tune to AM freqs */
/linux/drivers/media/radio/
H A Dradio-tea5777.h54 bool has_am; /* Device can tune to AM freqs */
/linux/drivers/mmc/host/
H A Ddw_mmc-rockchip.c31 static const unsigned int freqs[] = { 100000, 200000, 300000, 400000 }; variable
490 for (i = 0; i < ARRAY_SIZE(freqs); i++) { in dw_mci_rockchip_init()
491 ret = clk_round_rate(host->ciu_clk, freqs[i] * RK3288_CLKGEN_DIV); in dw_mci_rockchip_init()
/linux/Documentation/devicetree/bindings/media/
H A Dnvidia,tegra-vde.yaml73 Should contain freqs and voltages and opp-supported-hw property,
/linux/Documentation/devicetree/bindings/devfreq/
H A Dnvidia,tegra30-actmon.yaml66 Should contain freqs and voltages and opp-supported-hw property, which

12