Home
last modified time | relevance | path

Searched refs:bands (Results 1 – 25 of 274) sorted by relevance

1234567891011

/OK3568_Linux_fs/kernel/net/sched/
H A Dsch_prio.c22 int bands; member
62 if (band >= q->bands) in prio_classify()
102 for (prio = 0; prio < q->bands; prio++) { in prio_peek()
116 for (prio = 0; prio < q->bands; prio++) { in prio_dequeue()
136 for (prio = 0; prio < q->bands; prio++) in prio_reset()
153 opt.replace_params.bands = qopt->bands; in prio_offload()
172 for (prio = 0; prio < q->bands; prio++) in prio_destroy()
181 int oldbands = q->bands, i; in prio_tune()
188 if (qopt->bands > TCQ_PRIO_BANDS || qopt->bands < 2) in prio_tune()
192 if (qopt->priomap[i] >= qopt->bands) in prio_tune()
[all …]
H A Dsch_multiq.c20 u16 bands; member
53 if (band >= q->bands) in multiq_classify()
94 for (band = 0; band < q->bands; band++) { in multiq_dequeue()
97 if (q->curband >= q->bands) in multiq_dequeue()
126 for (band = 0; band < q->bands; band++) { in multiq_peek()
129 if (curband >= q->bands) in multiq_peek()
153 for (band = 0; band < q->bands; band++) in multiq_reset()
165 for (band = 0; band < q->bands; band++) in multiq_destroy()
186 qopt->bands = qdisc_dev(sch)->real_num_tx_queues; in multiq_tune()
188 removed = kmalloc(sizeof(*removed) * (q->max_bands - q->bands), in multiq_tune()
[all …]
/OK3568_Linux_fs/buildroot/dl/sox/git/src/
H A Dmcompand.c74 comp_band_t *bands; member
184 c->bands = lsx_calloc(c->nBands, sizeof(comp_band_t)); in getopts()
190 if (sox_mcompand_getopts_1(&c->bands[i], subargc, &subargv[0]) != SOX_SUCCESS) in getopts()
195 c->bands[i].topfreq = 0; in getopts()
197 c->bands[i].topfreq = lsx_parse_frequency(argv[(i<<1)+1],&cp); in getopts()
202 if ((i>0) && (c->bands[i].topfreq < c->bands[i-1].topfreq)) { in getopts()
224 l = &c->bands[band]; in start()
225 l->delay_size = c->bands[band].delay * effp->out_signal.rate * effp->out_signal.channels; in start()
231 l = &c->bands[band]; in start()
385 l = &c->bands[band]; in flow()
[all …]
/OK3568_Linux_fs/kernel/drivers/media/radio/
H A Dradio-tea5777.c138 static const struct v4l2_frequency_band bands[] = { variable
178 freq = clamp(tea->freq, bands[tea->band].rangelow, in radio_tea5777_set_freq()
179 bands[tea->band].rangehigh); in radio_tea5777_set_freq()
271 if (band->tuner != 0 || band->index >= ARRAY_SIZE(bands) || in vidioc_enum_freq_bands()
275 *band = bands[band->index]; in vidioc_enum_freq_bands()
302 v->rangelow = tea->has_am ? bands[BAND_AM].rangelow : in vidioc_g_tuner()
303 bands[BAND_FM].rangelow; in vidioc_g_tuner()
304 v->rangehigh = bands[BAND_FM].rangehigh; in vidioc_g_tuner()
386 for (i = 0; i < ARRAY_SIZE(bands); i++) { in vidioc_s_hw_freq_seek()
389 if (bands[i].rangelow >= rangelow && in vidioc_s_hw_freq_seek()
[all …]
H A Dradio-cadet.c94 static const struct v4l2_frequency_band bands[] = { variable
220 freq = clamp(freq, bands[dev->is_fm_band].rangelow, in cadet_setfreq()
221 bands[dev->is_fm_band].rangehigh); in cadet_setfreq()
372 v->capability = bands[0].capability | bands[1].capability; in vidioc_g_tuner()
373 v->rangelow = bands[0].rangelow; /* 520 kHz (start of AM band) */ in vidioc_g_tuner()
374 v->rangehigh = bands[1].rangehigh; /* 108.0 MHz (end of FM band) */ in vidioc_g_tuner()
404 if (band->index >= ARRAY_SIZE(bands)) in vidioc_enum_freq_bands()
406 *band = bands[band->index]; in vidioc_enum_freq_bands()
431 f->frequency >= (bands[0].rangehigh + bands[1].rangelow) / 2; in vidioc_s_frequency()
573 cadet_setfreq(dev, bands[1].rangelow); in cadet_probe()
[all …]
H A Dtea575x.c49 static const struct v4l2_frequency_band bands[] = { variable
170 return clamp(freq * 16, bands[tea->band].rangelow, in snd_tea575x_val_to_freq()
171 bands[tea->band].rangehigh); /* from kHz */ in snd_tea575x_val_to_freq()
257 *band = bands[index]; in snd_tea575x_enum_freq_bands()
287 v->rangelow = tea->has_am ? bands[BAND_AM].rangelow : band_fm.rangelow; in snd_tea575x_g_tuner()
350 tea->freq = clamp_t(u32, f->frequency, bands[tea->band].rangelow, in vidioc_s_frequency()
351 bands[tea->band].rangehigh); in vidioc_s_frequency()
371 for (i = 0; i < ARRAY_SIZE(bands); i++) { in snd_tea575x_s_hw_freq_seek()
376 if (bands[i].rangelow == a->rangelow && in snd_tea575x_s_hw_freq_seek()
377 bands[i].rangehigh == a->rangehigh) in snd_tea575x_s_hw_freq_seek()
[all …]
H A Dradio-raremono.c73 static const struct v4l2_frequency_band bands[] = { variable
196 if (band->index >= ARRAY_SIZE(bands)) in vidioc_enum_freq_bands()
199 *band = bands[band->index]; in vidioc_enum_freq_bands()
256 freq = clamp_t(u32, f->frequency, bands[band].rangelow, bands[band].rangehigh); in vidioc_s_frequency()
/OK3568_Linux_fs/kernel/drivers/media/radio/si470x/
H A Dradio-si470x-common.c133 static const struct v4l2_frequency_band bands[] = { variable
268 *freq = chan * si470x_get_step(radio) + bands[radio->band].rangelow; in si470x_get_freq()
281 freq = clamp(freq, bands[radio->band].rangelow, in si470x_set_freq()
282 bands[radio->band].rangehigh); in si470x_set_freq()
284 chan = (freq - bands[radio->band].rangelow) / si470x_get_step(radio); in si470x_set_freq()
304 for (band = 0; band < ARRAY_SIZE(bands); band++) { in si470x_set_seek()
305 if (bands[band].rangelow == seek->rangelow && in si470x_set_seek()
306 bands[band].rangehigh == seek->rangehigh) in si470x_set_seek()
309 if (band == ARRAY_SIZE(bands)) in si470x_set_seek()
711 if (freq->frequency < bands[radio->band].rangelow || in si470x_vidioc_s_frequency()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/marvell/mwifiex/
H A D11ac.c56 u8 bands, u16 mcs_map) in mwifiex_convert_mcsmap_to_maxrate() argument
63 if (bands & BAND_AAC) in mwifiex_convert_mcsmap_to_maxrate()
99 struct ieee80211_vht_cap *vht_cap, u8 bands) in mwifiex_fill_vht_cap_info() argument
103 if (bands & BAND_A) in mwifiex_fill_vht_cap_info()
112 struct ieee80211_vht_cap *vht_cap, u8 bands) in mwifiex_fill_vht_cap_tlv() argument
119 mwifiex_fill_vht_cap_info(priv, vht_cap, bands); in mwifiex_fill_vht_cap_tlv()
141 tmp = mwifiex_convert_mcsmap_to_maxrate(priv, bands, mcs_map_result); in mwifiex_fill_vht_cap_tlv()
163 tmp = mwifiex_convert_mcsmap_to_maxrate(priv, bands, mcs_map_result); in mwifiex_fill_vht_cap_tlv()
/OK3568_Linux_fs/kernel/drivers/media/tuners/
H A Dmsi001.c14 static const struct v4l2_frequency_band bands[] = { variable
337 if (f->frequency < ((bands[0].rangehigh + bands[1].rangelow) / 2)) in msi001_s_frequency()
342 bands[band].rangelow, bands[band].rangehigh); in msi001_s_frequency()
356 if (band->index >= ARRAY_SIZE(bands)) in msi001_enum_freq_bands()
359 band->capability = bands[band->index].capability; in msi001_enum_freq_bands()
360 band->rangelow = bands[band->index].rangelow; in msi001_enum_freq_bands()
361 band->rangehigh = bands[band->index].rangehigh; in msi001_enum_freq_bands()
436 dev->f_tuner = bands[0].rangelow; in msi001_probe()
H A Dfc2580.c361 static const struct v4l2_frequency_band bands[] = { variable
398 v->rangelow = bands[0].rangelow; in fc2580_g_tuner()
399 v->rangehigh = bands[0].rangehigh; in fc2580_g_tuner()
432 bands[0].rangelow, bands[0].rangehigh); in fc2580_s_frequency()
445 if (band->index >= ARRAY_SIZE(bands)) in fc2580_enum_freq_bands()
448 band->capability = bands[band->index].capability; in fc2580_enum_freq_bands()
449 band->rangelow = bands[band->index].rangelow; in fc2580_enum_freq_bands()
450 band->rangehigh = bands[band->index].rangehigh; in fc2580_enum_freq_bands()
572 dev->f_frequency = bands[0].rangelow; in fc2580_probe()
H A De4000.c261 static const struct v4l2_frequency_band bands[] = { variable
305 v->rangelow = bands[0].rangelow; in e4000_g_tuner()
306 v->rangehigh = bands[1].rangehigh; in e4000_g_tuner()
339 bands[0].rangelow, bands[1].rangehigh); in e4000_s_frequency()
352 if (band->index >= ARRAY_SIZE(bands)) in e4000_enum_freq_bands()
355 band->capability = bands[band->index].capability; in e4000_enum_freq_bands()
356 band->rangelow = bands[band->index].rangelow; in e4000_enum_freq_bands()
357 band->rangehigh = bands[band->index].rangehigh; in e4000_enum_freq_bands()
690 dev->f_frequency = bands[0].rangelow; in e4000_probe()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8189es/os_dep/linux/
H A Dwifi_regd.c157 if (!wiphy->bands[band])
160 sband = wiphy->bands[band];
209 if (!wiphy->bands[IEEE80211_BAND_2GHZ])
211 sband = wiphy->bands[IEEE80211_BAND_2GHZ];
262 if (!wiphy->bands[IEEE80211_BAND_5GHZ]) in _rtw_reg_apply_radar_flags()
265 sband = wiphy->bands[IEEE80211_BAND_5GHZ]; in _rtw_reg_apply_radar_flags()
321 sband = wiphy->bands[i]; in _rtw_reg_apply_flags()
369 sband = wiphy->bands[i]; in _rtw_reg_apply_flags()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8822be/os_dep/linux/
H A Dwifi_regd.c157 if (!wiphy->bands[band])
160 sband = wiphy->bands[band];
209 if (!wiphy->bands[IEEE80211_BAND_2GHZ])
211 sband = wiphy->bands[IEEE80211_BAND_2GHZ];
262 if (!wiphy->bands[IEEE80211_BAND_5GHZ]) in _rtw_reg_apply_radar_flags()
265 sband = wiphy->bands[IEEE80211_BAND_5GHZ]; in _rtw_reg_apply_radar_flags()
321 sband = wiphy->bands[i]; in _rtw_reg_apply_flags()
367 sband = wiphy->bands[i]; in _rtw_reg_apply_flags()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723bs/os_dep/linux/
H A Dwifi_regd.c161 if (!wiphy->bands[band])
164 sband = wiphy->bands[band];
213 if (!wiphy->bands[NL80211_BAND_2GHZ])
215 sband = wiphy->bands[NL80211_BAND_2GHZ];
266 if (!wiphy->bands[NL80211_BAND_5GHZ]) in _rtw_reg_apply_radar_flags()
269 sband = wiphy->bands[NL80211_BAND_5GHZ]; in _rtw_reg_apply_radar_flags()
327 sband = wiphy->bands[i]; in _rtw_reg_apply_flags()
375 sband = wiphy->bands[i]; in _rtw_reg_apply_flags()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723bu/os_dep/linux/
H A Dwifi_regd.c157 if (!wiphy->bands[band])
160 sband = wiphy->bands[band];
209 if (!wiphy->bands[IEEE80211_BAND_2GHZ])
211 sband = wiphy->bands[IEEE80211_BAND_2GHZ];
262 if (!wiphy->bands[IEEE80211_BAND_5GHZ]) in _rtw_reg_apply_radar_flags()
265 sband = wiphy->bands[IEEE80211_BAND_5GHZ]; in _rtw_reg_apply_radar_flags()
321 sband = wiphy->bands[i]; in _rtw_reg_apply_flags()
369 sband = wiphy->bands[i]; in _rtw_reg_apply_flags()
/OK3568_Linux_fs/kernel/drivers/net/wireless/ralink/rt2x00/
H A Drt2x00dev.c710 sband = &rt2x00dev->bands[rt2x00dev->curr_band]; in rt2x00lib_rxdone_read_signal()
1050 rt2x00dev->bands[NL80211_BAND_2GHZ].n_channels = 14; in rt2x00lib_probe_hw_modes()
1051 rt2x00dev->bands[NL80211_BAND_2GHZ].n_bitrates = num_rates; in rt2x00lib_probe_hw_modes()
1052 rt2x00dev->bands[NL80211_BAND_2GHZ].channels = channels; in rt2x00lib_probe_hw_modes()
1053 rt2x00dev->bands[NL80211_BAND_2GHZ].bitrates = rates; in rt2x00lib_probe_hw_modes()
1054 hw->wiphy->bands[NL80211_BAND_2GHZ] = in rt2x00lib_probe_hw_modes()
1055 &rt2x00dev->bands[NL80211_BAND_2GHZ]; in rt2x00lib_probe_hw_modes()
1056 memcpy(&rt2x00dev->bands[NL80211_BAND_2GHZ].ht_cap, in rt2x00lib_probe_hw_modes()
1066 rt2x00dev->bands[NL80211_BAND_5GHZ].n_channels = in rt2x00lib_probe_hw_modes()
1068 rt2x00dev->bands[NL80211_BAND_5GHZ].n_bitrates = in rt2x00lib_probe_hw_modes()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/nxp/mlan/
H A Dmlan_11ac.h32 t_u16 wlan_convert_mcsmap_to_maxrate(mlan_private *priv, t_u16 bands,
35 t_u16 bands, t_u8 flag, t_u8 bw_80p80);
37 t_u16 bands);
/OK3568_Linux_fs/kernel/drivers/net/wireless/realtek/rtlwifi/
H A Dregd.c142 if (!wiphy->bands[band]) in _rtl_reg_apply_beaconing_flags()
145 sband = wiphy->bands[band]; in _rtl_reg_apply_beaconing_flags()
190 if (!wiphy->bands[NL80211_BAND_2GHZ]) in _rtl_reg_apply_active_scan_flags()
192 sband = wiphy->bands[NL80211_BAND_2GHZ]; in _rtl_reg_apply_active_scan_flags()
242 if (!wiphy->bands[NL80211_BAND_5GHZ]) in _rtl_reg_apply_radar_flags()
245 sband = wiphy->bands[NL80211_BAND_5GHZ]; in _rtl_reg_apply_radar_flags()
/OK3568_Linux_fs/kernel/drivers/net/wireless/quantenna/qtnfmac/
H A Dcore.c231 wiphy->bands[band] = kzalloc(sizeof(*wiphy->bands[band]), GFP_KERNEL); in qtnf_mac_init_single_band()
232 if (!wiphy->bands[band]) in qtnf_mac_init_single_band()
235 wiphy->bands[band]->band = band; in qtnf_mac_init_single_band()
237 ret = qtnf_cmd_band_info_get(mac, wiphy->bands[band]); in qtnf_mac_init_single_band()
244 qtnf_band_init_rates(wiphy->bands[band]); in qtnf_mac_init_single_band()
541 if (!wiphy->bands[band]) in qtnf_core_mac_detach()
544 kfree(wiphy->bands[band]->iftype_data); in qtnf_core_mac_detach()
545 wiphy->bands[band]->n_iftype_data = 0; in qtnf_core_mac_detach()
547 kfree(wiphy->bands[band]->channels); in qtnf_core_mac_detach()
548 wiphy->bands[band]->n_channels = 0; in qtnf_core_mac_detach()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/nxp/mlinux/
H A Dmoal_cfg80211.c4764 if (!wiphy->bands[band]) in woal_cfg80211_free_bands()
4767 if (wiphy->bands[band]->iftype_data) { in woal_cfg80211_free_bands()
4768 kfree(wiphy->bands[band]->iftype_data); in woal_cfg80211_free_bands()
4769 wiphy->bands[band]->n_iftype_data = 0; in woal_cfg80211_free_bands()
4772 kfree(wiphy->bands[band]->channels); in woal_cfg80211_free_bands()
4773 kfree(wiphy->bands[band]); in woal_cfg80211_free_bands()
4774 wiphy->bands[band] = NULL; in woal_cfg80211_free_bands()
5000 if (wiphy->bands[IEEE80211_BAND_2GHZ]) { in woal_cfg80211_notify_antcfg()
5001 struct ieee80211_supported_band *bands = in woal_cfg80211_notify_antcfg() local
5002 wiphy->bands[IEEE80211_BAND_2GHZ]; in woal_cfg80211_notify_antcfg()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8188eu/os_dep/linux/
H A Dwifi_regd.c161 if (!wiphy->bands[band])
164 sband = wiphy->bands[band];
213 if (!wiphy->bands[NL80211_BAND_2GHZ])
215 sband = wiphy->bands[NL80211_BAND_2GHZ];
271 sband = wiphy->bands[i]; in rtw_regd_apply_flags()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8189fs/os_dep/linux/
H A Dwifi_regd.c161 if (!wiphy->bands[band])
164 sband = wiphy->bands[band];
213 if (!wiphy->bands[NL80211_BAND_2GHZ])
215 sband = wiphy->bands[NL80211_BAND_2GHZ];
271 sband = wiphy->bands[i]; in rtw_regd_apply_flags()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8188fu/os_dep/linux/
H A Dwifi_regd.c161 if (!wiphy->bands[band])
164 sband = wiphy->bands[band];
213 if (!wiphy->bands[NL80211_BAND_2GHZ])
215 sband = wiphy->bands[NL80211_BAND_2GHZ];
271 sband = wiphy->bands[i]; in rtw_regd_apply_flags()
/OK3568_Linux_fs/kernel/drivers/net/wireless/ath/ath11k/
H A Dreg.c93 struct ieee80211_supported_band **bands; in ath11k_reg_update_chan_list() local
103 bands = hw->wiphy->bands; in ath11k_reg_update_chan_list()
105 if (!bands[band]) in ath11k_reg_update_chan_list()
108 for (i = 0; i < bands[band]->n_channels; i++) { in ath11k_reg_update_chan_list()
109 if (bands[band]->channels[i].flags & in ath11k_reg_update_chan_list()
133 if (!bands[band]) in ath11k_reg_update_chan_list()
136 for (i = 0; i < bands[band]->n_channels; i++) { in ath11k_reg_update_chan_list()
137 channel = &bands[band]->channels[i]; in ath11k_reg_update_chan_list()

1234567891011