/linux-master/drivers/media/i2c/ |
H A D | ov4689.c | 846 const u64 *freqs = link_freq_menu_items; local 851 if (freqs[i] == ep->link_frequencies[j]) 852 return freqs[i];
|
H A D | imx290.c | 1425 const s64 *freqs = imx290_link_freqs_ptr(imx290); local 1430 if (freqs[i] == ep->link_frequencies[j]) 1433 return freqs[i];
|
H A D | hi846.c | 1951 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 D | a6xx_gmu.c | 1315 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 D | pmac32-cpufreq.c | 481 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 D | intel_pstate.c | 2884 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 D | cpufreq.c | 342 * @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 D | cppc_cpufreq.c | 293 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 D | amd-pstate.c | 563 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 D | pcc-cpufreq.c | 203 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 D | cpufreq.sh | 149 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 D | nl80211.c | 8890 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 D | cpufreq.h | 525 struct cpufreq_freqs *freqs); 527 struct cpufreq_freqs *freqs, int transition_failed);
|
/linux-master/drivers/net/wireless/mediatek/mt76/mt7915/ |
H A D | mcu.c | 2934 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 D | tsc_msr.c | 54 * 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 D | cx231xx-417.c | 1692 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 D | feature.c | 2902 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 D | hdmi.c | 437 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 D | mcu.c | 2222 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 D | pxa2xx_base.c | 180 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 D | devfreq.c | 325 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 D | tegra30-devfreq.c | 457 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 D | core.c | 54 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 D | db8500-prcmu.c | 1641 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 D | dw_mmc-rockchip.c | 20 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);
|