Searched refs:freqs (Results 1 - 25 of 45) sorted by last modified time

12

/linux-master/drivers/media/i2c/
H A Dov4689.c846 const u64 *freqs = link_freq_menu_items; local
851 if (freqs[i] == ep->link_frequencies[j])
852 return freqs[i];
H A Dimx290.c1425 const s64 *freqs = imx290_link_freqs_ptr(imx290); local
1430 if (freqs[i] == ep->link_frequencies[j])
1433 return freqs[i];
H A Dhi846.c1951 const s64 *freqs = hi846_link_freqs; local
1957 if (freqs[i] == ep->link_frequencies[j])
1960 return freqs[i];
/linux-master/drivers/gpu/drm/msm/adreno/
H A Da6xx_gmu.c1315 unsigned long *freqs, int freqs_count, const char *id)
1343 unsigned int level = a6xx_gmu_get_arc_level(dev, freqs[i]);
1410 static int a6xx_gmu_build_freq_table(struct device *dev, unsigned long *freqs, argument
1428 freqs[index++] = 0;
1436 freqs[index++] = freq++;
1314 a6xx_gmu_rpmh_arc_votes_init(struct device *dev, u32 *votes, unsigned long *freqs, int freqs_count, const char *id) argument
/linux-master/drivers/cpufreq/
H A Dpmac32-cpufreq.c481 const u32 *freqs, *ratio; local
483 freqs = of_get_property(cpunode, "bus-frequencies", &lenp);
485 if (freqs == NULL || lenp != 2) {
497 low_freq = min(freqs[0], freqs[1]);
498 hi_freq = max(freqs[0], freqs[1]);
H A Dintel_pstate.c2884 struct cpufreq_freqs freqs; local
2887 freqs.old = policy->cur;
2888 freqs.new = target_freq;
2890 cpufreq_freq_transition_begin(policy, &freqs);
2892 target_pstate = intel_pstate_freq_to_hwp_rel(cpu, freqs.new, relation);
2895 freqs.new = target_pstate * cpu->pstate.scaling;
2897 cpufreq_freq_transition_end(policy, &freqs, false);
H A Dcpufreq.c342 * @freqs: contain details of the frequency update.
350 struct cpufreq_freqs *freqs,
360 freqs->policy = policy;
361 freqs->flags = cpufreq_driver->flags;
363 state, freqs->new);
372 if (policy->cur && policy->cur != freqs->old) {
374 freqs->old, policy->cur);
375 freqs->old = policy->cur;
379 CPUFREQ_PRECHANGE, freqs);
381 adjust_jiffies(CPUFREQ_PRECHANGE, freqs);
349 cpufreq_notify_transition(struct cpufreq_policy *policy, struct cpufreq_freqs *freqs, unsigned int state) argument
401 cpufreq_notify_post_transition(struct cpufreq_policy *policy, struct cpufreq_freqs *freqs, int transition_failed) argument
413 cpufreq_freq_transition_begin(struct cpufreq_policy *policy, struct cpufreq_freqs *freqs) argument
447 cpufreq_freq_transition_end(struct cpufreq_policy *policy, struct cpufreq_freqs *freqs, int transition_failed) argument
1765 struct cpufreq_freqs freqs; local
2252 __target_intermediate(struct cpufreq_policy *policy, struct cpufreq_freqs *freqs, int index) argument
2279 struct cpufreq_freqs freqs = {.old = policy->cur, .flags = 0}; local
[all...]
H A Dcppc_cpufreq.c293 struct cpufreq_freqs freqs; local
303 freqs.old = policy->cur;
304 freqs.new = target_freq;
306 cpufreq_freq_transition_begin(policy, &freqs);
308 cpufreq_freq_transition_end(policy, &freqs, ret != 0);
H A Damd-pstate.c563 struct cpufreq_freqs freqs; local
577 freqs.old = policy->cur;
578 freqs.new = target_freq;
590 cpufreq_freq_transition_begin(policy, &freqs);
596 cpufreq_freq_transition_end(policy, &freqs, false);
H A Dpcc-cpufreq.c203 struct cpufreq_freqs freqs; local
216 freqs.old = policy->cur;
217 freqs.new = target_freq;
218 cpufreq_freq_transition_begin(policy, &freqs);
236 cpufreq_freq_transition_end(policy, &freqs, status != CMD_COMPLETE);
/linux-master/tools/testing/selftests/cpufreq/
H A Dcpufreq.sh149 local freqs=$(cat $filepath/scaling_available_frequencies)
150 printf "Available frequencies for $1: $freqs\n\n"
153 for freq in $freqs; do
/linux-master/net/wireless/
H A Dnl80211.c8890 static int validate_scan_freqs(struct nlattr *freqs) argument
8895 nla_for_each_nested(attr1, freqs, tmp1)
8899 nla_for_each_nested(attr1, freqs, tmp1) {
8910 nla_for_each_nested(attr2, freqs, tmp2)
13233 struct nlattr *nd, *freqs, *matches, *match, *scan_plans, *scan_plan; local
13265 freqs = nla_nest_start_noflag(msg, NL80211_ATTR_SCAN_FREQUENCIES);
13266 if (!freqs)
13274 nla_nest_end(msg, freqs);
/linux-master/include/linux/
H A Dcpufreq.h525 struct cpufreq_freqs *freqs);
527 struct cpufreq_freqs *freqs, int transition_failed);
/linux-master/drivers/net/wireless/mediatek/mt76/mt7915/
H A Dmcu.c2934 static int mt7915_find_freq_idx(const u16 *freqs, int n_freqs, u16 cur) argument
2939 if (cur == freqs[i])
/linux-master/arch/x86/kernel/
H A Dtsc_msr.c54 * Some CPU frequencies in the SDM do not map to known PLL freqs, in
55 * that case the muldiv array is empty and the freqs array is used.
57 u32 freqs[MAX_NUM_FREQS]; member in struct:freq_desc
68 .freqs = { 0, 0, 0, 0, 0, 99840, 0, 83200 },
74 .freqs = { 0, 133200, 0, 0, 0, 99840, 0, 83200 },
144 .freqs = { 78000, 78000, 78000, 78000, 78000, 78000, 78000, 78000,
206 freq = freq_desc->freqs[index];
/linux-master/drivers/media/usb/cx231xx/
H A Dcx231xx-417.c1692 static const u32 freqs[3] = { 44100, 48000, 32000 }; local
1697 if (idx < ARRAY_SIZE(freqs))
1698 call_all(dev, audio, s_clock_freq, freqs[idx]);
/linux-master/arch/powerpc/platforms/powermac/
H A Dfeature.c2902 int freqs[16] = { 200,300,400,500,600,800,1000,0,0,0,0,0,0,0,0,0 };
2906 if (freqs[freq] == 0)
2910 name, freqs[freq],
/linux-master/drivers/gpu/drm/tegra/
H A Dhdmi.c437 const unsigned int freqs[] = { local
442 for (i = 0; i < ARRAY_SIZE(freqs); i++) {
443 unsigned int f = freqs[i];
/linux-master/drivers/net/wireless/mediatek/mt76/mt7615/
H A Dmcu.c2222 static int mt7615_find_freq_idx(const u16 *freqs, int n_freqs, u16 cur) argument
2227 if (cur == freqs[i])
/linux-master/drivers/pcmcia/
H A Dpxa2xx_base.c180 struct cpufreq_freqs *freqs)
184 if (freqs->new > freqs->old) {
187 freqs->new / 1000, (freqs->new / 100) % 10,
188 freqs->old / 1000, (freqs->old / 100) % 10);
194 if (freqs->new < freqs->old) {
197 freqs
178 pxa2xx_pcmcia_frequency_change(struct soc_pcmcia_socket *skt, unsigned long val, struct cpufreq_freqs *freqs) argument
[all...]
/linux-master/drivers/devfreq/
H A Ddevfreq.c325 struct devfreq_freqs *freqs, unsigned int state)
333 DEVFREQ_PRECHANGE, freqs);
338 DEVFREQ_POSTCHANGE, freqs);
350 struct devfreq_freqs freqs; local
359 freqs.old = cur_freq;
360 freqs.new = new_freq;
361 devfreq_notify_transition(devfreq, &freqs, DEVFREQ_PRECHANGE);
365 freqs.new = cur_freq;
366 devfreq_notify_transition(devfreq, &freqs, DEVFREQ_POSTCHANGE);
378 freqs
324 devfreq_notify_transition(struct devfreq *devfreq, struct devfreq_freqs *freqs, unsigned int state) argument
[all...]
H A Dtegra30-devfreq.c457 struct cpufreq_freqs *freqs = ptr; local
471 old = tegra_actmon_cpufreq_contribution(tegra, freqs->old);
472 new = tegra_actmon_cpufreq_contribution(tegra, freqs->new);
/linux-master/drivers/mmc/core/
H A Dcore.c54 static const unsigned freqs[] = { 400000, 300000, 200000, 100000 }; variable
2252 for (i = 0; i < ARRAY_SIZE(freqs); i++) {
2253 unsigned int freq = freqs[i];
2255 if (i + 1 < ARRAY_SIZE(freqs))
2261 if (freqs[i] <= host->f_min)
2284 host->f_init = max(min(freqs[0], host->f_max), host->f_min);
/linux-master/drivers/mfd/
H A Ddb8500-prcmu.c1641 const unsigned long *freqs; local
1646 freqs = db8520_armss_freqs;
1649 freqs = db8500_armss_freqs;
1655 freq = freqs[i];
1800 const unsigned long *freqs; local
1805 freqs = db8520_armss_freqs;
1808 freqs = db8500_armss_freqs;
1814 freq = freqs[i];
/linux-master/drivers/mmc/host/
H A Ddw_mmc-rockchip.c20 static const unsigned int freqs[] = { 100000, 200000, 300000, 400000 }; variable
308 for (i = 0; i < ARRAY_SIZE(freqs); i++) {
309 ret = clk_round_rate(host->ciu_clk, freqs[i] * RK3288_CLKGEN_DIV);

Completed in 711 milliseconds

12