| /linux/net/sched/ |
| A D | sch_prio.c | 22 int bands; member 62 if (band >= q->bands) in prio_classify() 155 opt.replace_params.bands = qopt->bands; in prio_offload() 183 int oldbands = q->bands, i; in prio_tune() 190 if (qopt->bands > TCQ_PRIO_BANDS || qopt->bands < 2) in prio_tune() 194 if (qopt->priomap[i] >= qopt->bands) in prio_tune() 212 q->bands = qopt->bands; in prio_tune() 215 for (i = q->bands; i < oldbands; i++) in prio_tune() 226 for (i = q->bands; i < oldbands; i++) in prio_tune() 271 opt.bands = q->bands; in prio_dump() [all …]
|
| A D | sch_multiq.c | 20 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() 129 if (curband >= q->bands) in multiq_peek() 153 for (band = 0; band < q->bands; band++) in multiq_reset() 166 for (band = 0; band < q->bands; band++) in multiq_destroy() 195 q->bands = qopt->bands; in multiq_tune() 212 for (i = 0; i < q->bands; i++) { in multiq_tune() 268 opt.bands = q->bands; in multiq_dump() [all …]
|
| /linux/drivers/media/radio/ |
| A D | radio-tea5777.c | 138 static const struct v4l2_frequency_band bands[] = { variable 179 bands[tea->band].rangehigh); in radio_tea5777_set_freq() 275 *band = bands[band->index]; in vidioc_enum_freq_bands() 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() 390 bands[i].rangehigh <= rangehigh) in vidioc_s_hw_freq_seek() 393 if (i == ARRAY_SIZE(bands)) in vidioc_s_hw_freq_seek() 405 rangelow = bands[tea->band].rangelow; in vidioc_s_hw_freq_seek() [all …]
|
| A D | radio-cadet.c | 94 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() 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() 574 if (cadet_getfreq(dev) == bands[1].rangelow) { in cadet_probe() [all …]
|
| A D | tea575x.c | 49 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() 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() 380 if (i == ARRAY_SIZE(bands)) in snd_tea575x_s_hw_freq_seek() 384 tea->freq = clamp(tea->freq, bands[i].rangelow, in snd_tea575x_s_hw_freq_seek() [all …]
|
| A D | radio-raremono.c | 73 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()
|
| /linux/drivers/media/radio/si470x/ |
| A D | radio-si470x-common.c | 133 static const struct v4l2_frequency_band bands[] = { variable 281 freq = clamp(freq, bands[radio->band].rangelow, in si470x_set_freq() 282 bands[radio->band].rangehigh); 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() 712 freq->frequency > bands[radio->band].rangehigh) { in si470x_vidioc_s_frequency() 747 if (band->index >= ARRAY_SIZE(bands)) in si470x_vidioc_enum_freq_bands() [all …]
|
| /linux/drivers/net/wireless/intel/iwlwifi/fw/ |
| A D | acpi.c | 716 u8 bands; in iwl_sar_get_wgds_table() member 722 .bands = ACPI_GEO_NUM_BANDS_REV2, in iwl_sar_get_wgds_table() 728 .bands = ACPI_GEO_NUM_BANDS_REV2, in iwl_sar_get_wgds_table() 733 .bands = ACPI_GEO_NUM_BANDS_REV0, in iwl_sar_get_wgds_table() 753 rev_data[idx].bands; in iwl_sar_get_wgds_table() 770 num_bands = rev_data[idx].bands; in iwl_sar_get_wgds_table() 819 fwrt->geo_profiles[i].bands[j].max = in iwl_sar_get_wgds_table() 820 fwrt->geo_profiles[i].bands[1].max; in iwl_sar_get_wgds_table() 830 fwrt->geo_profiles[i].bands[j].max = in iwl_sar_get_wgds_table() 904 fwrt->geo_profiles[i].bands[j].chains[0], in iwl_sar_geo_init() [all …]
|
| /linux/drivers/net/wireless/marvell/mwifiex/ |
| A D | 11ac.c | 56 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()
|
| A D | cfp.c | 323 sband = priv->wdev.wiphy->bands[NL80211_BAND_2GHZ]; in mwifiex_get_cfp() 325 sband = priv->wdev.wiphy->bands[NL80211_BAND_5GHZ]; in mwifiex_get_cfp() 400 sband = wiphy->bands[NL80211_BAND_5GHZ]; in mwifiex_get_rates_from_cfg80211() 405 sband = wiphy->bands[NL80211_BAND_2GHZ]; in mwifiex_get_rates_from_cfg80211()
|
| /linux/drivers/media/tuners/ |
| A D | msi001.c | 14 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()
|
| A D | fc2580.c | 361 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()
|
| A D | e4000.c | 261 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()
|
| /linux/drivers/net/wireless/ralink/rt2x00/ |
| A D | rt2x00dev.c | 709 sband = &rt2x00dev->bands[rt2x00dev->curr_band]; in rt2x00lib_rxdone_read_signal() 1045 rt2x00dev->bands[NL80211_BAND_2GHZ].n_channels = 14; in rt2x00lib_probe_hw_modes() 1048 rt2x00dev->bands[NL80211_BAND_2GHZ].bitrates = rates; in rt2x00lib_probe_hw_modes() 1049 hw->wiphy->bands[NL80211_BAND_2GHZ] = in rt2x00lib_probe_hw_modes() 1050 &rt2x00dev->bands[NL80211_BAND_2GHZ]; in rt2x00lib_probe_hw_modes() 1051 memcpy(&rt2x00dev->bands[NL80211_BAND_2GHZ].ht_cap, in rt2x00lib_probe_hw_modes() 1061 rt2x00dev->bands[NL80211_BAND_5GHZ].n_channels = in rt2x00lib_probe_hw_modes() 1063 rt2x00dev->bands[NL80211_BAND_5GHZ].n_bitrates = in rt2x00lib_probe_hw_modes() 1067 hw->wiphy->bands[NL80211_BAND_5GHZ] = in rt2x00lib_probe_hw_modes() 1068 &rt2x00dev->bands[NL80211_BAND_5GHZ]; in rt2x00lib_probe_hw_modes() [all …]
|
| /linux/drivers/net/wireless/quantenna/qtnfmac/ |
| A D | core.c | 230 wiphy->bands[band] = kzalloc(sizeof(*wiphy->bands[band]), GFP_KERNEL); in qtnf_mac_init_single_band() 231 if (!wiphy->bands[band]) in qtnf_mac_init_single_band() 234 wiphy->bands[band]->band = band; in qtnf_mac_init_single_band() 243 qtnf_band_init_rates(wiphy->bands[band]); in qtnf_mac_init_single_band() 535 if (!wiphy->bands[band]) in qtnf_core_mac_detach() 538 kfree(wiphy->bands[band]->iftype_data); in qtnf_core_mac_detach() 539 wiphy->bands[band]->n_iftype_data = 0; in qtnf_core_mac_detach() 541 kfree(wiphy->bands[band]->channels); in qtnf_core_mac_detach() 542 wiphy->bands[band]->n_channels = 0; in qtnf_core_mac_detach() 544 kfree(wiphy->bands[band]); in qtnf_core_mac_detach() [all …]
|
| /linux/drivers/net/wireless/realtek/rtlwifi/ |
| A D | regd.c | 142 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()
|
| /linux/drivers/net/wireless/ath/ath11k/ |
| A D | reg.c | 93 struct ieee80211_supported_band **bands; in ath11k_reg_update_chan_list() local 102 bands = hw->wiphy->bands; in ath11k_reg_update_chan_list() 104 if (!bands[band]) in ath11k_reg_update_chan_list() 107 for (i = 0; i < bands[band]->n_channels; i++) { in ath11k_reg_update_chan_list() 108 if (bands[band]->channels[i].flags & in ath11k_reg_update_chan_list() 130 if (!bands[band]) in ath11k_reg_update_chan_list() 133 for (i = 0; i < bands[band]->n_channels; i++) { in ath11k_reg_update_chan_list() 134 channel = &bands[band]->channels[i]; in ath11k_reg_update_chan_list()
|
| /linux/Documentation/networking/ |
| A D | multiqueue.rst | 35 bands and queues based on the value in skb->queue_mapping. Use this field in 39 blocking. It will cycle though the bands and verify that the hardware queue 42 On qdisc load, the number of bands is based on the number of queues on the 56 The qdisc will allocate the number of bands to equal the number of queues that
|
| /linux/Documentation/userspace-api/media/v4l/ |
| A D | vidioc-enum-freq-bands.rst | 13 VIDIOC_ENUM_FREQ_BANDS - Enumerate supported frequency bands 34 Enumerates the frequency bands that a tuner or modulator supports. To do 76 be the same for all frequency bands of the selected 77 tuner/modulator. So either all bands have that capability set, or
|
| /linux/tools/testing/selftests/drivers/net/mlxsw/ |
| A D | qos_pfc.sh | 173 ets bands 8 strict 8 priomap 7 6 189 ets bands 8 strict 8 priomap 7 6 206 ets bands 8 strict 8 priomap 7 6 228 ets bands 8 strict 8 priomap 7 6
|
| /linux/drivers/staging/wfx/ |
| A D | main.c | 309 hw->wiphy->bands[NL80211_BAND_2GHZ] = devm_kmalloc(dev, sizeof(wfx_band_2ghz), GFP_KERNEL); in wfx_init_common() 311 memcpy(hw->wiphy->bands[NL80211_BAND_2GHZ], &wfx_band_2ghz, in wfx_init_common() 405 wdev->hw->wiphy->bands[NL80211_BAND_2GHZ]->channels[11].flags |= IEEE80211_CHAN_NO_IR; in wfx_probe() 406 wdev->hw->wiphy->bands[NL80211_BAND_2GHZ]->channels[12].flags |= IEEE80211_CHAN_NO_IR; in wfx_probe() 407 wdev->hw->wiphy->bands[NL80211_BAND_2GHZ]->channels[13].flags |= IEEE80211_CHAN_DISABLED; in wfx_probe()
|
| /linux/drivers/net/wireless/ath/ |
| A D | regd.c | 349 if (!wiphy->bands[band]) in ath_reg_apply_beaconing_flags() 351 sband = wiphy->bands[band]; in ath_reg_apply_beaconing_flags() 382 sband = wiphy->bands[NL80211_BAND_2GHZ]; in ath_reg_apply_ir_flags() 411 if (!wiphy->bands[NL80211_BAND_5GHZ]) in ath_reg_apply_radar_flags() 414 sband = wiphy->bands[NL80211_BAND_5GHZ]; in ath_reg_apply_radar_flags()
|
| /linux/drivers/media/usb/airspy/ |
| A D | airspy.c | 50 static const struct v4l2_frequency_band bands[] = { variable 710 v->rangelow = bands[0].rangelow; in airspy_g_tuner() 711 v->rangehigh = bands[0].rangehigh; in airspy_g_tuner() 759 bands[0].rangelow, in airspy_s_frequency() 760 bands[0].rangehigh); in airspy_s_frequency() 786 if (band->index >= ARRAY_SIZE(bands)) { in airspy_enum_freq_bands() 789 *band = bands[band->index]; in airspy_enum_freq_bands() 980 s->f_adc = bands[0].rangelow; in airspy_probe()
|
| /linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac/ |
| A D | channel.c | 637 sband = wiphy->bands[NL80211_BAND_5GHZ]; in brcms_reg_apply_radar_flags() 667 sband = wiphy->bands[band]; in brcms_reg_apply_beaconing_flags() 711 sband = wiphy->bands[band]; in brcms_reg_notifier() 755 sband = wiphy->bands[NL80211_BAND_2GHZ]; in brcms_c_regd_init() 757 sband = wiphy->bands[NL80211_BAND_5GHZ]; in brcms_c_regd_init()
|
| /linux/drivers/staging/vt6656/ |
| A D | channel.c | 144 priv->hw->wiphy->bands[NL80211_BAND_5GHZ] = in vnt_init_bands() 158 priv->hw->wiphy->bands[NL80211_BAND_2GHZ] = in vnt_init_bands()
|