Searched defs:freq (Results 1 - 25 of 420) sorted by relevance

1234567891011>>

/drivers/gpu/drm/nouveau/core/include/subdev/bios/
H A DM0205.h5 u16 freq; member in struct:nvbios_M0205T
H A Dcstep.h19 u32 freq; member in struct:nvbios_cstepX
H A Dperf.h29 u32 freq; member in struct:nvbios_perfS::__anon843::__anon844
/drivers/video/fbdev/matrox/
H A Dmatroxfb_misc.h7 int matroxfb_PLL_calcclock(const struct matrox_pll_features* pll, unsigned int freq, unsigned int fmax,
10 unsigned int freq, unsigned int fmax,
14 return matroxfb_PLL_calcclock(&minfo->features.pll, freq, fmax, in, feed, post);
9 PLL_calcclock(const struct matrox_fb_info *minfo, unsigned int freq, unsigned int fmax, unsigned int *in, unsigned int *feed, unsigned int *post) argument
/drivers/clk/sunxi/
H A Dclk-sun8i-mbus.c29 static void sun8i_a23_get_mbus_factors(u32 *freq, u32 parent_rate, argument
38 if (*freq > parent_rate)
39 *freq = parent_rate;
41 div = DIV_ROUND_UP(parent_rate, *freq);
46 *freq = parent_rate / div;
/drivers/clocksource/
H A Dscx200_hrt.c33 MODULE_PARM_DESC(ppm, "+-adjust to actual XO freq (ppm)");
63 u32 freq; local
80 freq = (HRT_FREQ + ppm);
82 freq *= 27;
86 return clocksource_register_hz(&cs_hrt, freq);
H A Dbcm2835_timer.c101 u32 freq; local
109 if (of_property_read_u32(node, "clock-frequency", &freq))
113 sched_clock_register(bcm2835_sched_read, 32, freq);
116 freq, 300, 32, clocksource_mmio_readl_up);
143 clockevents_config_and_register(&timer->evt, freq, 0xf, 0xffffffff);
/drivers/cpufreq/
H A Dcpufreq_userspace.c26 * @policy: pointer to policy struct where freq is being set
27 * @freq: target frequency in kHz
29 * Sets the CPU frequency to freq.
31 static int cpufreq_set(struct cpufreq_policy *policy, unsigned int freq) argument
35 pr_debug("cpufreq_set for cpu %u, freq %u kHz\n", policy->cpu, freq);
41 ret = __cpufreq_driver_target(policy, freq, CPUFREQ_RELATION_L);
H A Dhighbank-cpufreq.c29 static int hb_voltage_change(unsigned int freq) argument
31 u32 msg[HB_CPUFREQ_IPC_LEN] = {HB_CPUFREQ_CHANGE_NOTE, freq / 1000000};
H A Dsh-cpufreq.c50 long freq; local
60 freq = clk_round_rate(cpuclk, target_freq * 1000);
62 if (freq < (policy->min * 1000) || freq > (policy->max * 1000))
68 freqs.new = (freq + 500) / 1000;
73 clk_set_rate(cpuclk, freq);
76 dev_dbg(dev, "set frequency %lu Hz\n", freq);
/drivers/devfreq/
H A Dgovernor_performance.c17 unsigned long *freq)
24 *freq = UINT_MAX;
26 *freq = df->max_freq;
16 devfreq_performance_func(struct devfreq *df, unsigned long *freq) argument
H A Dgovernor_powersave.c17 unsigned long *freq)
23 *freq = df->min_freq;
16 devfreq_powersave_func(struct devfreq *df, unsigned long *freq) argument
H A Dgovernor_simpleondemand.c22 unsigned long *freq)
47 *freq = max;
60 *freq = max;
66 *freq = max;
73 *freq = stat.current_frequency;
83 *freq = (unsigned long) b;
85 if (df->min_freq && *freq < df->min_freq)
86 *freq = df->min_freq;
87 if (df->max_freq && *freq > df->max_freq)
88 *freq
21 devfreq_simple_ondemand_func(struct devfreq *df, unsigned long *freq) argument
[all...]
/drivers/gpu/drm/nouveau/core/subdev/clock/
H A Dpllnva3.c33 u32 freq, int *pN, int *pfN, int *pM, int *P)
38 *P = info->vco1.max_freq / freq;
51 u32 tmp = freq * *P * M;
69 err = abs(freq - (info->refclk * N / M / *P));
79 return freq;
32 nva3_pll_calc(struct nouveau_subdev *subdev, struct nvbios_pll *info, u32 freq, int *pN, int *pfN, int *pM, int *P) argument
/drivers/media/platform/vivid/
H A Dvivid-rds-gen.c138 void vivid_rds_gen_fill(struct vivid_rds_gen *rds, unsigned freq, argument
157 freq / 16, ((freq & 0xf) * 10) / 16);
H A Dvivid-radio-common.c164 unsigned freq; local
177 freq = clamp_t(u32, vf->frequency, vivid_radio_bands[band].rangelow,
179 *pfreq = freq;
/drivers/media/radio/
H A Dlm7000.h20 static inline void lm7000_set_freq(u32 freq, void *handle, argument
27 freq += 171200; /* Add 10.7 MHz IF */
28 freq /= 400; /* Convert to 25 kHz units */
29 val = freq | LM7000_FM_25 | LM7000_BIT_FM;
H A Dradio-rtrack2.c66 static int rtrack2_s_frequency(struct radio_isa_card *isa, u32 freq) argument
70 freq = freq / 200 + 856;
80 if (freq & (1 << i))
/drivers/net/wireless/b43/
H A Dradio_2059.c73 .freq = 2412,
80 .freq = 2417,
87 .freq = 2422,
94 .freq = 2427,
101 .freq = 2432,
108 .freq = 2437,
115 .freq = 2442,
122 .freq = 2447,
129 .freq = 2452,
136 .freq
352 b43_phy_ht_get_channeltab_e_r2059(struct b43_wldev *dev, u16 freq) argument
[all...]
/drivers/net/wireless/b43legacy/
H A Dmain.h46 u8 b43legacy_freq_to_channel_bg(int freq) argument
50 if (freq == 2484)
53 channel = (freq - 2407) / 5;
59 int freq)
61 return b43legacy_freq_to_channel_bg(freq);
68 int freq; local
71 freq = 2484;
73 freq = 2407 + (5 * channel);
75 return freq;
58 b43legacy_freq_to_channel(struct b43legacy_wldev *dev, int freq) argument
/drivers/net/wireless/ipw2x00/
H A Dlibipw_geo.c108 return ch->freq;
111 u8 libipw_freq_to_channel(struct libipw_device * ieee, u32 freq) argument
120 freq /= 100000;
124 if (ieee->geo.bg[i].freq == freq)
129 if (ieee->geo.a[i].freq == freq)
/drivers/staging/rtl8188eu/core/
H A Drtw_rf.c60 u32 freq = 0; local
64 freq = ch_freq_map[i].frequency;
69 freq = 2412;
71 return freq;
74 u32 rtw_freq2ch(u32 freq) argument
80 if (freq == ch_freq_map[i].frequency) {
/drivers/usb/gadget/udc/
H A Dfsl_mxc_udc.c35 unsigned long freq; local
64 freq = clk_get_rate(mxc_per_clk);
66 (freq < 59999000 || freq > 60001000)) {
67 dev_err(&pdev->dev, "USB_CLK=%lu, should be 60MHz\n", freq);
/drivers/net/can/softing/
H A Dsofting_platform.h22 unsigned int freq; /* operating frequency in Hz */ member in struct:softing_platform_data
/drivers/net/wireless/ti/wl18xx/
H A Devent.c55 int freq; local
62 freq = ieee80211_channel_to_frequency(sync_channel, band);
65 "SMART_CONFIG_SYNC_EVENT_ID, freq: %d (chan: %d band %d)",
66 freq, sync_channel, sync_band);
71 if (nla_put_u32(skb, WLCORE_VENDOR_ATTR_FREQ, freq)) {

Completed in 7034 milliseconds

1234567891011>>