/linux-master/drivers/cpufreq/ |
H A D | powernow-k8.c | 887 struct cpufreq_freqs freqs; local 912 freqs.old = find_khz_freq_from_fid(data->currfid); 913 freqs.new = find_khz_freq_from_fid(fid); 915 cpufreq_freq_transition_begin(policy, &freqs); 917 cpufreq_freq_transition_end(policy, &freqs, res);
|
H A D | amd-pstate.c | 595 struct cpufreq_freqs freqs; local 609 freqs.old = policy->cur; 610 freqs.new = target_freq; 622 cpufreq_freq_transition_begin(policy, &freqs); 628 cpufreq_freq_transition_end(policy, &freqs, false);
|
H A D | intel_pstate.c | 2885 struct cpufreq_freqs freqs; local 2888 freqs.old = policy->cur; 2889 freqs.new = target_freq; 2891 cpufreq_freq_transition_begin(policy, &freqs); 2893 target_pstate = intel_pstate_freq_to_hwp_rel(cpu, freqs.new, relation); 2896 freqs.new = target_pstate * cpu->pstate.scaling; 2898 cpufreq_freq_transition_end(policy, &freqs, false);
|
/linux-master/drivers/i2c/algos/ |
H A D | i2c-algo-pca.c | 398 static int freqs[] = {330, 288, 217, 146, 88, 59, 44, 36}; local 442 adap->name, freqs[clock]);
|
/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/devfreq/ |
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/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/pcmcia/ |
H A D | soc_common.c | 748 struct cpufreq_freqs *freqs = data; local 750 return skt->ops->frequency_change(skt, val, 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/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/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/net/wireless/ath/carl9170/ |
H A D | phy.c | 1055 static int carl9170_find_freq_idx(int nfreqs, u8 *freqs, u8 f) argument 1060 if (f >= freqs[idx])
|
/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/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/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);
|