Home
last modified time | relevance | path

Searched refs:freq (Results 1 – 25 of 1462) sorted by relevance

12345678910>>...59

/linux-6.3-rc2/drivers/net/wireless/broadcom/b43/
A Dradio_2059.c60 .freq = 2412,
67 .freq = 2417,
74 .freq = 2422,
81 .freq = 2427,
88 .freq = 2432,
95 .freq = 2437,
102 .freq = 2442,
109 .freq = 2447,
116 .freq = 2452,
123 .freq = 2457,
[all …]
A Dradio_2057.c180 .freq = 2412,
187 .freq = 2417,
194 .freq = 2422,
201 .freq = 2427,
208 .freq = 2432,
215 .freq = 2437,
222 .freq = 2442,
229 .freq = 2447,
236 .freq = 2452,
609 if (e_r7->freq == freq) { in r2057_get_chantabent_rev7()
[all …]
A Dradio_2055.c293 .freq = 4920, /* MHz */
301 .freq = 4930, /* MHz */
309 .freq = 4940, /* MHz */
317 .freq = 4950, /* MHz */
325 .freq = 4960, /* MHz */
333 .freq = 4970, /* MHz */
341 .freq = 4980, /* MHz */
349 .freq = 4990, /* MHz */
357 .freq = 5000, /* MHz */
365 .freq = 5010, /* MHz */
[all …]
A Dradio_2056.c9048 .freq = 4920,
9057 .freq = 4930,
9066 .freq = 4940,
9075 .freq = 4950,
9084 .freq = 4960,
9093 .freq = 4970,
9102 .freq = 4980,
9111 .freq = 4990,
9120 .freq = 5000,
9129 .freq = 5010,
[all …]
/linux-6.3-rc2/drivers/devfreq/
A Dimx8m-ddrc.c92 if (freq->rate == rate || in imx8m_ddrc_find_freq()
93 freq->rate + 1 == rate || in imx8m_ddrc_find_freq()
94 freq->rate - 1 == rate) in imx8m_ddrc_find_freq()
95 return freq; in imx8m_ddrc_find_freq()
247 if (*freq == old_freq) in imx8m_ddrc_target()
269 *freq, old_freq); in imx8m_ddrc_target()
306 freq->rate = res.a0; in imx8m_ddrc_init_freq_info()
307 freq->smcarg = index; in imx8m_ddrc_init_freq_info()
334 unsigned long freq; in imx8m_ddrc_check_opps() local
341 for (i = 0, freq = 0; i < opp_count; ++i, ++freq) { in imx8m_ddrc_check_opps()
[all …]
/linux-6.3-rc2/sound/pci/lola/
A Dlola_clock.c17 unsigned int freq; in lola_sample_rate_convert() local
41 case (1 << 5): freq = (freq * 999) / 1000; break; in lola_sample_rate_convert()
42 case (2 << 5): freq = (freq * 1001) / 1000; break; in lola_sample_rate_convert()
45 return freq; in lola_sample_rate_convert()
57 unsigned int freq) in check_gran_clock_compatibility() argument
163 freq = lola_sample_rate_convert(freq); in lola_init_clock_widget()
172 freq = lola_sample_rate_convert(freq); in lola_init_clock_widget()
186 sc->freq = freq; in lola_init_clock_widget()
262 int freq = 0; in lola_set_clock() local
272 freq = chip->clock.sample_clock[idx].freq; in lola_set_clock()
[all …]
/linux-6.3-rc2/sound/drivers/vx/
A Dvx_uer.c94 int val, freq; in vx_read_uer_status() local
97 freq = 0; in vx_read_uer_status()
110 freq = 32000; in vx_read_uer_status()
127 return freq; in vx_read_uer_status()
256 if (chip->freq == freq) in vx_set_clock()
262 if (chip->freq == freq) in vx_set_clock()
264 chip->freq = freq; in vx_set_clock()
275 int freq; in vx_change_frequency() local
286 if (freq < 0) in vx_change_frequency()
287 return freq; in vx_change_frequency()
[all …]
/linux-6.3-rc2/drivers/cpufreq/
A Dfreq_table.c38 unsigned int freq; in cpufreq_frequency_table_cpuinfo() local
41 freq = pos->frequency; in cpufreq_frequency_table_cpuinfo()
48 if (freq < min_freq) in cpufreq_frequency_table_cpuinfo()
49 min_freq = freq; in cpufreq_frequency_table_cpuinfo()
50 if (freq > max_freq) in cpufreq_frequency_table_cpuinfo()
51 max_freq = freq; in cpufreq_frequency_table_cpuinfo()
84 if ((freq >= policy->min) && (freq <= policy->max)) { in cpufreq_frequency_table_verify()
89 if ((next_larger > freq) && (freq > policy->max)) in cpufreq_frequency_table_verify()
90 next_larger = freq; in cpufreq_frequency_table_verify()
151 if ((freq < policy->min) || (freq > policy->max)) in cpufreq_table_index_unsorted()
[all …]
A Ds3c64xx-cpufreq.c108 struct cpufreq_frequency_table *freq; in s3c64xx_cpufreq_config_regulator() local
119 cpufreq_for_each_valid_entry(freq, s3c64xx_freq_table) { in s3c64xx_cpufreq_config_regulator()
120 dvfs = &s3c64xx_dvfs_table[freq->driver_data]; in s3c64xx_cpufreq_config_regulator()
131 freq->frequency); in s3c64xx_cpufreq_config_regulator()
132 freq->frequency = CPUFREQ_ENTRY_INVALID; in s3c64xx_cpufreq_config_regulator()
145 struct cpufreq_frequency_table *freq; in s3c64xx_cpufreq_driver_init() local
168 cpufreq_for_each_entry(freq, s3c64xx_freq_table) { in s3c64xx_cpufreq_driver_init()
174 if (r != freq->frequency) { in s3c64xx_cpufreq_driver_init()
176 freq->frequency); in s3c64xx_cpufreq_driver_init()
177 freq->frequency = CPUFREQ_ENTRY_INVALID; in s3c64xx_cpufreq_driver_init()
[all …]
/linux-6.3-rc2/drivers/media/i2c/cx25840/
A Dcx25840-audio.c36 switch (freq) { in cx25840_set_audclk_freq()
150 switch (freq) { in cx25840_set_audclk_freq()
276 state->audclk_freq = freq; in cx25840_set_audclk_freq()
291 switch (freq) { in cx23885_set_audclk_freq()
301 switch (freq) { in cx23885_set_audclk_freq()
323 state->audclk_freq = freq; in cx23885_set_audclk_freq()
333 switch (freq) { in cx231xx_set_audclk_freq()
359 switch (freq) { in cx231xx_set_audclk_freq()
399 state->audclk_freq = freq; in cx231xx_set_audclk_freq()
408 if (freq != 32000 && freq != 44100 && freq != 48000) in set_audclk_freq()
[all …]
/linux-6.3-rc2/drivers/media/tuners/
A Dmt2131.c86 u32 freq; in mt2131_set_params() local
95 freq = c->frequency / 1000; /* Hz -> kHz */ in mt2131_set_params()
96 dprintk(1, "%s() freq=%d\n", __func__, freq); in mt2131_set_params()
98 f_lo1 = freq + MT2131_IF1 * 1000; in mt2131_set_params()
100 f_lo2 = f_lo1 - freq - MT2131_IF2; in mt2131_set_params()
114 if (freq <= 82500) if_band_center = 0x00; else in mt2131_set_params()
115 if (freq <= 137500) if_band_center = 0x01; else in mt2131_set_params()
116 if (freq <= 192500) if_band_center = 0x02; else in mt2131_set_params()
117 if (freq <= 247500) if_band_center = 0x03; else in mt2131_set_params()
118 if (freq <= 302500) if_band_center = 0x04; else in mt2131_set_params()
[all …]
A Dmt2266.c121 u32 freq; in mt2266_set_params() local
131 if (freq < 470000 && freq > 230000) in mt2266_set_params()
170 if (freq <= 495000) in mt2266_set_params()
172 else if (freq <= 525000) in mt2266_set_params()
174 else if (freq <= 550000) in mt2266_set_params()
176 else if (freq <= 580000) in mt2266_set_params()
178 else if (freq <= 605000) in mt2266_set_params()
180 else if (freq <= 630000) in mt2266_set_params()
182 else if (freq <= 655000) in mt2266_set_params()
184 else if (freq <= 685000) in mt2266_set_params()
[all …]
/linux-6.3-rc2/arch/mips/mti-malta/
A Dmalta-time.c53 freq += amount; in freqround()
54 freq -= freq % (amount*2); in freqround()
55 return freq; in freqround()
181 unsigned char freq, ctrl; in init_rtc() local
184 freq = CMOS_READ(RTC_FREQ_SELECT); in init_rtc()
226 unsigned int freq; in plat_time_init() local
231 freq = mips_hpt_frequency; in plat_time_init()
234 freq *= 2; in plat_time_init()
235 freq = freqround(freq, 5000); in plat_time_init()
237 (freq%1000000)*100/1000000); in plat_time_init()
[all …]
/linux-6.3-rc2/drivers/media/radio/
A Dtea575x.c153 freq /= 10; in snd_tea575x_val_to_freq()
160 freq /= 10; in snd_tea575x_val_to_freq()
181 u32 freq = tea->freq / 16; /* to kHz */ in snd_tea575x_set_freq() local
190 freq *= 10; in snd_tea575x_set_freq()
198 freq *= 10; in snd_tea575x_set_freq()
384 tea->freq = clamp(tea->freq, bands[i].rangelow, in snd_tea575x_s_hw_freq_seek()
411 u32 freq; in snd_tea575x_s_hw_freq_seek() local
426 if (abs(tea->freq - freq) < 16 * spacing || in snd_tea575x_s_hw_freq_seek()
427 (a->seek_upward && freq < tea->freq) || in snd_tea575x_s_hw_freq_seek()
428 (!a->seek_upward && freq > tea->freq)) { in snd_tea575x_s_hw_freq_seek()
[all …]
A Dradio-tea5777.c175 u32 freq; in radio_tea5777_set_freq() local
178 freq = clamp(tea->freq, bands[tea->band].rangelow, in radio_tea5777_set_freq()
180 freq = (freq + 8) / 16; /* to kHz */ in radio_tea5777_set_freq()
185 freq = (freq - TEA5777_FM_IF) / TEA5777_FM_FREQ_STEP; in radio_tea5777_set_freq()
198 freq = (freq - TEA5777_AM_IF) / TEA5777_AM_FREQ_STEP; in radio_tea5777_set_freq()
219 tea->freq = tea5777_freq_to_v4l2_freq(tea, freq); in radio_tea5777_set_freq()
397 if (tea->freq < rangelow || tea->freq > rangehigh) { in vidioc_s_hw_freq_seek()
398 tea->freq = clamp(tea->freq, rangelow, in vidioc_s_hw_freq_seek()
410 orig_freq = tea->freq; in vidioc_s_hw_freq_seek()
415 tea->freq = rangelow; in vidioc_s_hw_freq_seek()
[all …]
/linux-6.3-rc2/include/trace/events/
A Dthermal.h117 TP_ARGS(cpus, freq, cdev_state, power),
121 __field(unsigned int, freq )
129 __entry->freq = freq;
146 TP_ARGS(cdev, status, freq, power),
150 __field(unsigned long, freq )
158 __entry->freq = freq;
165 __get_str(type), __entry->freq,
175 TP_ARGS(cdev, freq, cdev_state, power),
179 __field(unsigned int, freq )
186 __entry->freq = freq;
[all …]
/linux-6.3-rc2/drivers/gpu/drm/i915/gt/
A Dselftest_rps.c554 *freq = rps_set_check(rps, *freq); in measure_frequency_at()
557 *freq = (*freq + read_cagf(rps)) / 2; in measure_frequency_at()
585 *freq = rps_set_check(rps, *freq); in measure_cs_frequency_at()
588 *freq = (*freq + read_cagf(rps)) / 2; in measure_cs_frequency_at()
1123 *freq = rps_set_check(rps, *freq); in measure_power_at()
1203 if (10 * min.freq >= 9 * max.freq) { in live_rps_power()
1205 min.freq, intel_gpu_freq(rps, min.freq), in live_rps_power()
1206 max.freq, intel_gpu_freq(rps, max.freq)); in live_rps_power()
1298 max.freq, intel_gpu_freq(rps, max.freq), in live_rps_dynamic()
1300 min.freq, intel_gpu_freq(rps, min.freq), in live_rps_dynamic()
[all …]
/linux-6.3-rc2/arch/mips/kernel/
A Dtime.c39 struct cpufreq_freqs *freq = data; in cpufreq_callback() local
40 struct cpumask *cpus = freq->policy->cpus; in cpufreq_callback()
48 if (freq->flags & CPUFREQ_CONST_LOOPS) in cpufreq_callback()
54 glb_lpj_ref_freq = freq->old; in cpufreq_callback()
59 per_cpu(pcp_lpj_ref_freq, cpu) = freq->old; in cpufreq_callback()
67 if ((val == CPUFREQ_PRECHANGE && freq->old < freq->new) || in cpufreq_callback()
68 (val == CPUFREQ_POSTCHANGE && freq->old > freq->new)) { in cpufreq_callback()
71 freq->new); in cpufreq_callback()
76 freq->new); in cpufreq_callback()
/linux-6.3-rc2/drivers/misc/
A Dics932s401.c179 int m, n, freq; in calculate_cpu_freq() local
192 return freq; in calculate_cpu_freq()
209 int freq; in show_cpu_clock_sel() local
236 int m, n, freq; in calculate_src_freq() local
249 return freq; in calculate_src_freq()
266 int freq; in show_src_clock_sel() local
274 freq = 96000; in show_src_clock_sel()
284 int m, n, freq; in calculate_pci_freq() local
297 return freq; in calculate_pci_freq()
314 int freq; in show_pci_clock_sel() local
[all …]
/linux-6.3-rc2/net/ipv6/
A Dip6_flowlabel.c427 err = fl6_renew(fl, freq->flr_linger, freq->flr_expires); in fl_create()
430 fl->share = freq->flr_share; in fl_create()
437 fl->dst = freq->flr_dst; in fl_create()
588 freq->flr_expires); in ipv6_flowlabel_renew()
601 freq->flr_expires); in ipv6_flowlabel_renew()
642 if (freq->flr_label) { in ipv6_flowlabel_get()
707 if (!freq->flr_label) { in ipv6_flowlabel_get()
726 struct in6_flowlabel_req freq; in ipv6_flowlabel_opt() local
728 if (optlen < sizeof(freq)) in ipv6_flowlabel_opt()
730 if (copy_from_sockptr(&freq, optval, sizeof(freq))) in ipv6_flowlabel_opt()
[all …]
/linux-6.3-rc2/drivers/clocksource/
A Dtimer-fsl-ftm.c199 freq / (1 << priv->ps), in ftm_clockevent_init()
218 freq / (1 << priv->ps), 300, 16, in ftm_clocksource_init()
263 long freq; in ftm_clk_init() local
266 if (freq <= 0) in ftm_clk_init()
270 if (freq <= 0) in ftm_clk_init()
273 return freq; in ftm_clk_init()
300 unsigned long freq; in ftm_timer_init() local
329 freq = ftm_clk_init(np); in ftm_timer_init()
330 if (!freq) in ftm_timer_init()
337 ret = ftm_clocksource_init(freq); in ftm_timer_init()
[all …]
/linux-6.3-rc2/tools/perf/util/
A Drecord.c76 attr->freq = 0; in evsel__config_leader_sampling()
170 opts->freq = 0; in record_opts__config_freq()
171 else if (opts->freq) { in record_opts__config_freq()
198 opts->freq = max_rate; in record_opts__config_freq()
205 if (max_rate < opts->freq) { in record_opts__config_freq()
209 opts->freq, max_rate); in record_opts__config_freq()
210 opts->freq = max_rate; in record_opts__config_freq()
273 unsigned int freq; in record__parse_freq() local
280 if (get_max_rate(&freq)) { in record__parse_freq()
286 freq = atoi(str); in record__parse_freq()
[all …]
/linux-6.3-rc2/drivers/thermal/
A Ddevfreq_cooling.c90 unsigned long freq; in devfreq_cooling_set_cur_state() local
105 freq = dfc->freq_table[state]; in devfreq_cooling_set_cur_state()
148 freq, PTR_ERR(opp)); in get_voltage()
158 freq); in get_voltage()
185 unsigned long freq; in devfreq_cooling_get_requested_power() local
193 freq = status.current_frequency; in devfreq_cooling_get_requested_power()
266 unsigned long freq, em_power_mw; in devfreq_cooling_power2state() local
274 freq = status.current_frequency; in devfreq_cooling_power2state()
322 unsigned long freq; in devfreq_cooling_gen_tables() local
330 for (i = 0, freq = ULONG_MAX; i < num_opps; i++, freq--) { in devfreq_cooling_gen_tables()
[all …]
/linux-6.3-rc2/drivers/ssb/
A Ddriver_chipcommon_pmu.c51 u16 freq; /* Crystal frequency in kHz.*/ member
58 { .freq = 12000, .xf = 1, .wb_int = 73, .wb_frac = 349525, },
59 { .freq = 13000, .xf = 2, .wb_int = 67, .wb_frac = 725937, },
82 if (e->freq == crystalfreq) in pmu0_plltab_find_entry()
103 crystalfreq = e->freq; in ssb_pmu0_pllinit_r0()
104 cc->pmu.crystalfreq = e->freq; in ssb_pmu0_pllinit_r0()
178 u16 freq; /* Crystal frequency in kHz.*/ member
213 if (e->freq == crystalfreq) in pmu1_plltab_find_entry()
242 crystalfreq = e->freq; in ssb_pmu1_pllinit_r0()
243 cc->pmu.crystalfreq = e->freq; in ssb_pmu1_pllinit_r0()
[all …]
/linux-6.3-rc2/drivers/media/platform/qcom/venus/
A Dhfi_platform.c27 unsigned long freq = 0; in hfi_platform_get_codec_vpp_freq() local
34 freq = plat->codec_vpp_freq(session_type, codec); in hfi_platform_get_codec_vpp_freq()
36 return freq; in hfi_platform_get_codec_vpp_freq()
43 unsigned long freq = 0; in hfi_platform_get_codec_vsp_freq() local
50 freq = plat->codec_vsp_freq(session_type, codec); in hfi_platform_get_codec_vsp_freq()
52 return freq; in hfi_platform_get_codec_vsp_freq()
59 unsigned long freq = 0; in hfi_platform_get_codec_lp_freq() local
66 freq = plat->codec_lp_freq(session_type, codec); in hfi_platform_get_codec_lp_freq()
68 return freq; in hfi_platform_get_codec_lp_freq()

Completed in 65 milliseconds

12345678910>>...59