Home
last modified time | relevance | path

Searched full:freqs (Results 1 – 25 of 36) 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
501 freqs = cpufreq_get_available_frequencies(cpu); in debug_output_one()
[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()
H A Dclk-pxa.h160 struct pxa2xx_freq *freqs, int nb_freqs);
/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/drivers/cpufreq/
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-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.c652 struct cpufreq_freqs freqs; in amd_pstate_update_freq() local
664 freqs.old = policy->cur; in amd_pstate_update_freq()
665 freqs.new = target_freq; in amd_pstate_update_freq()
676 cpufreq_freq_transition_begin(policy, &freqs); in amd_pstate_update_freq()
683 cpufreq_freq_transition_end(policy, &freqs, false); in amd_pstate_update_freq()
H A Dpowernow-k8.h109 #define MIN_FREQ 800 /* Min and max freqs, per spec */
H A Dintel_pstate.c3209 struct cpufreq_freqs freqs; in intel_cpufreq_target() local
3212 freqs.old = policy->cur; in intel_cpufreq_target()
3213 freqs.new = target_freq; in intel_cpufreq_target()
3215 cpufreq_freq_transition_begin(policy, &freqs); in intel_cpufreq_target()
3217 target_pstate = intel_pstate_freq_to_hwp_rel(cpu, freqs.new, relation); in intel_cpufreq_target()
3220 freqs.new = target_pstate * cpu->pstate.scaling; in intel_cpufreq_target()
3222 cpufreq_freq_transition_end(policy, &freqs, false); in intel_cpufreq_target()
/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
489 for (i = 0; i < ARRAY_SIZE(freqs); i++) { in dw_mci_rockchip_init()
490 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
/linux/drivers/mfd/
H A Ddb8500-prcmu.c1641 const unsigned long *freqs; in round_armss_rate() local
1646 freqs = db8520_armss_freqs; in round_armss_rate()
1649 freqs = db8500_armss_freqs; in round_armss_rate()
1655 freq = freqs[i]; in round_armss_rate()
1800 const unsigned long *freqs; in set_armss_rate() local
1805 freqs = db8520_armss_freqs; in set_armss_rate()
1808 freqs = db8500_armss_freqs; in set_armss_rate()
1814 freq = freqs[i]; in set_armss_rate()
/linux/drivers/gpu/drm/msm/adreno/
H A Da6xx_gmu.c1567 unsigned long *freqs, int freqs_count, in a6xx_gmu_rpmh_arc_votes_init() argument
1596 unsigned int level = a6xx_gmu_get_arc_level(dev, freqs[i]); in a6xx_gmu_rpmh_arc_votes_init()
1640 unsigned long *freqs, int freqs_count) in a6xx_gmu_rpmh_dep_votes_init() argument
1661 unsigned int level = a6xx_gmu_get_arc_level(dev, freqs[i]); in a6xx_gmu_rpmh_dep_votes_init()
1733 static int a6xx_gmu_build_freq_table(struct device *dev, unsigned long *freqs, in a6xx_gmu_build_freq_table() argument
1751 freqs[index++] = 0; in a6xx_gmu_build_freq_table()
1759 freqs[index++] = freq++; in a6xx_gmu_build_freq_table()
/linux/Documentation/devicetree/bindings/memory-controllers/
H A Dnvidia,tegra20-emc.yaml55 Should contain freqs and voltages and opp-supported-hw property, which
H A Dnvidia,tegra30-emc.yaml49 Should contain freqs and voltages and opp-supported-hw property, which
/linux/drivers/i2c/algos/
H A Di2c-algo-pca.c398 static int freqs[] = {330, 288, 217, 146, 88, 59, 44, 36}; in pca_init() local
442 adap->name, freqs[clock]); in pca_init()
/linux/drivers/firmware/arm_scmi/
H A Dperf.c1196 /* Report translated freqs ONLY if both available */ in scmi_perf_fill_custom_report()
1214 /* Report translated freqs ONLY if available */ in scmi_perf_fill_custom_report()
1227 /* Report translated freqs ONLY if available */ in scmi_perf_fill_custom_report()

12