/Linux-v4.19/net/sched/ |
D | sch_prio.c | 26 int bands; member 66 if (band >= q->bands) in prio_classify() 105 for (prio = 0; prio < q->bands; prio++) { in prio_peek() 119 for (prio = 0; prio < q->bands; prio++) { in prio_dequeue() 139 for (prio = 0; prio < q->bands; prio++) in prio_reset() 158 opt.replace_params.bands = qopt->bands; in prio_offload() 177 for (prio = 0; prio < q->bands; prio++) in prio_destroy() 186 int oldbands = q->bands, i; in prio_tune() 193 if (qopt->bands > TCQ_PRIO_BANDS || qopt->bands < 2) in prio_tune() 197 if (qopt->priomap[i] >= qopt->bands) in prio_tune() [all …]
|
D | sch_multiq.c | 31 u16 bands; member 64 if (band >= q->bands) in multiq_classify() 105 for (band = 0; band < q->bands; band++) { in multiq_dequeue() 108 if (q->curband >= q->bands) in multiq_dequeue() 137 for (band = 0; band < q->bands; band++) { in multiq_peek() 140 if (curband >= q->bands) in multiq_peek() 164 for (band = 0; band < q->bands; band++) in multiq_reset() 177 for (band = 0; band < q->bands; band++) in multiq_destroy() 197 qopt->bands = qdisc_dev(sch)->real_num_tx_queues; in multiq_tune() 200 q->bands = qopt->bands; in multiq_tune() [all …]
|
/Linux-v4.19/drivers/media/radio/ |
D | radio-tea5777.c | 148 static const struct v4l2_frequency_band bands[] = { variable 188 freq = clamp(tea->freq, bands[tea->band].rangelow, in radio_tea5777_set_freq() 189 bands[tea->band].rangehigh); in radio_tea5777_set_freq() 284 if (band->tuner != 0 || band->index >= ARRAY_SIZE(bands) || in vidioc_enum_freq_bands() 288 *band = bands[band->index]; in vidioc_enum_freq_bands() 315 v->rangelow = tea->has_am ? bands[BAND_AM].rangelow : in vidioc_g_tuner() 316 bands[BAND_FM].rangelow; in vidioc_g_tuner() 317 v->rangehigh = bands[BAND_FM].rangehigh; in vidioc_g_tuner() 399 for (i = 0; i < ARRAY_SIZE(bands); i++) { in vidioc_s_hw_freq_seek() 402 if (bands[i].rangelow >= rangelow && in vidioc_s_hw_freq_seek() [all …]
|
D | radio-cadet.c | 93 static const struct v4l2_frequency_band bands[] = { variable 219 freq = clamp(freq, bands[dev->is_fm_band].rangelow, in cadet_setfreq() 220 bands[dev->is_fm_band].rangehigh); in cadet_setfreq() 374 v->capability = bands[0].capability | bands[1].capability; in vidioc_g_tuner() 375 v->rangelow = bands[0].rangelow; /* 520 kHz (start of AM band) */ in vidioc_g_tuner() 376 v->rangehigh = bands[1].rangehigh; /* 108.0 MHz (end of FM band) */ in vidioc_g_tuner() 406 if (band->index >= ARRAY_SIZE(bands)) in vidioc_enum_freq_bands() 408 *band = bands[band->index]; in vidioc_enum_freq_bands() 433 f->frequency >= (bands[0].rangehigh + bands[1].rangelow) / 2; in vidioc_s_frequency() 575 cadet_setfreq(dev, bands[1].rangelow); in cadet_probe() [all …]
|
D | tea575x.c | 60 static const struct v4l2_frequency_band bands[] = { variable 181 return clamp(freq * 16, bands[tea->band].rangelow, in snd_tea575x_val_to_freq() 182 bands[tea->band].rangehigh); /* from kHz */ in snd_tea575x_val_to_freq() 272 *band = bands[index]; in snd_tea575x_enum_freq_bands() 302 v->rangelow = tea->has_am ? bands[BAND_AM].rangelow : band_fm.rangelow; in snd_tea575x_g_tuner() 365 tea->freq = clamp_t(u32, f->frequency, bands[tea->band].rangelow, in vidioc_s_frequency() 366 bands[tea->band].rangehigh); in vidioc_s_frequency() 386 for (i = 0; i < ARRAY_SIZE(bands); i++) { in snd_tea575x_s_hw_freq_seek() 391 if (bands[i].rangelow == a->rangelow && in snd_tea575x_s_hw_freq_seek() 392 bands[i].rangehigh == a->rangehigh) in snd_tea575x_s_hw_freq_seek() [all …]
|
D | radio-raremono.c | 73 static const struct v4l2_frequency_band bands[] = { variable 198 if (band->index >= ARRAY_SIZE(bands)) in vidioc_enum_freq_bands() 201 *band = bands[band->index]; in vidioc_enum_freq_bands() 258 freq = clamp_t(u32, f->frequency, bands[band].rangelow, bands[band].rangehigh); in vidioc_s_frequency()
|
/Linux-v4.19/drivers/media/radio/si470x/ |
D | radio-si470x-common.c | 142 static const struct v4l2_frequency_band bands[] = { variable 277 *freq = chan * si470x_get_step(radio) + bands[radio->band].rangelow; in si470x_get_freq() 290 freq = clamp(freq, bands[radio->band].rangelow, in si470x_set_freq() 291 bands[radio->band].rangehigh); in si470x_set_freq() 293 chan = (freq - bands[radio->band].rangelow) / si470x_get_step(radio); in si470x_set_freq() 313 for (band = 0; band < ARRAY_SIZE(bands); band++) { in si470x_set_seek() 314 if (bands[band].rangelow == seek->rangelow && in si470x_set_seek() 315 bands[band].rangehigh == seek->rangehigh) in si470x_set_seek() 318 if (band == ARRAY_SIZE(bands)) in si470x_set_seek() 720 if (freq->frequency < bands[radio->band].rangelow || in si470x_vidioc_s_frequency() [all …]
|
/Linux-v4.19/drivers/net/wireless/marvell/mwifiex/ |
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()
|
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()
|
D | 11ac.h | 44 struct ieee80211_vht_cap *vht_cap, u8 bands);
|
/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/ |
D | regd.c | 165 if (!wiphy->bands[band]) in _rtl_reg_apply_beaconing_flags() 168 sband = wiphy->bands[band]; in _rtl_reg_apply_beaconing_flags() 213 if (!wiphy->bands[NL80211_BAND_2GHZ]) in _rtl_reg_apply_active_scan_flags() 215 sband = wiphy->bands[NL80211_BAND_2GHZ]; in _rtl_reg_apply_active_scan_flags() 265 if (!wiphy->bands[NL80211_BAND_5GHZ]) in _rtl_reg_apply_radar_flags() 268 sband = wiphy->bands[NL80211_BAND_5GHZ]; in _rtl_reg_apply_radar_flags() 310 if (!wiphy->bands[band]) in _rtl_dump_channel_map() 312 sband = wiphy->bands[band]; in _rtl_dump_channel_map()
|
/Linux-v4.19/drivers/staging/rtlwifi/ |
D | regd.c | 150 if (!wiphy->bands[band]) in _rtl_reg_apply_beaconing_flags() 153 sband = wiphy->bands[band]; in _rtl_reg_apply_beaconing_flags() 198 if (!wiphy->bands[NL80211_BAND_2GHZ]) in _rtl_reg_apply_active_scan_flags() 200 sband = wiphy->bands[NL80211_BAND_2GHZ]; in _rtl_reg_apply_active_scan_flags() 249 if (!wiphy->bands[NL80211_BAND_5GHZ]) in _rtl_reg_apply_radar_flags() 252 sband = wiphy->bands[NL80211_BAND_5GHZ]; in _rtl_reg_apply_radar_flags() 293 if (!wiphy->bands[band]) in _rtl_dump_channel_map() 295 sband = wiphy->bands[band]; in _rtl_dump_channel_map()
|
/Linux-v4.19/drivers/media/tuners/ |
D | msi001.c | 23 static const struct v4l2_frequency_band bands[] = { variable 346 if (f->frequency < ((bands[0].rangehigh + bands[1].rangelow) / 2)) in msi001_s_frequency() 351 bands[band].rangelow, bands[band].rangehigh); in msi001_s_frequency() 365 if (band->index >= ARRAY_SIZE(bands)) in msi001_enum_freq_bands() 368 band->capability = bands[band->index].capability; in msi001_enum_freq_bands() 369 band->rangelow = bands[band->index].rangelow; in msi001_enum_freq_bands() 370 band->rangehigh = bands[band->index].rangehigh; in msi001_enum_freq_bands() 445 dev->f_tuner = bands[0].rangelow; in msi001_probe()
|
D | fc2580.c | 374 static const struct v4l2_frequency_band bands[] = { variable 411 v->rangelow = bands[0].rangelow; in fc2580_g_tuner() 412 v->rangehigh = bands[0].rangehigh; in fc2580_g_tuner() 445 bands[0].rangelow, bands[0].rangehigh); in fc2580_s_frequency() 458 if (band->index >= ARRAY_SIZE(bands)) in fc2580_enum_freq_bands() 461 band->capability = bands[band->index].capability; in fc2580_enum_freq_bands() 462 band->rangelow = bands[band->index].rangelow; in fc2580_enum_freq_bands() 463 band->rangehigh = bands[band->index].rangehigh; in fc2580_enum_freq_bands() 585 dev->f_frequency = bands[0].rangelow; in fc2580_probe()
|
D | e4000.c | 274 static const struct v4l2_frequency_band bands[] = { variable 318 v->rangelow = bands[0].rangelow; in e4000_g_tuner() 319 v->rangehigh = bands[1].rangehigh; in e4000_g_tuner() 352 bands[0].rangelow, bands[1].rangehigh); in e4000_s_frequency() 365 if (band->index >= ARRAY_SIZE(bands)) in e4000_enum_freq_bands() 368 band->capability = bands[band->index].capability; in e4000_enum_freq_bands() 369 band->rangelow = bands[band->index].rangelow; in e4000_enum_freq_bands() 370 band->rangehigh = bands[band->index].rangehigh; in e4000_enum_freq_bands() 703 dev->f_frequency = bands[0].rangelow; in e4000_probe()
|
/Linux-v4.19/drivers/net/wireless/ralink/rt2x00/ |
D | rt2x00dev.c | 724 sband = &rt2x00dev->bands[rt2x00dev->curr_band]; in rt2x00lib_rxdone_read_signal() 1064 rt2x00dev->bands[NL80211_BAND_2GHZ].n_channels = 14; in rt2x00lib_probe_hw_modes() 1065 rt2x00dev->bands[NL80211_BAND_2GHZ].n_bitrates = num_rates; in rt2x00lib_probe_hw_modes() 1066 rt2x00dev->bands[NL80211_BAND_2GHZ].channels = channels; in rt2x00lib_probe_hw_modes() 1067 rt2x00dev->bands[NL80211_BAND_2GHZ].bitrates = rates; in rt2x00lib_probe_hw_modes() 1068 hw->wiphy->bands[NL80211_BAND_2GHZ] = in rt2x00lib_probe_hw_modes() 1069 &rt2x00dev->bands[NL80211_BAND_2GHZ]; in rt2x00lib_probe_hw_modes() 1070 memcpy(&rt2x00dev->bands[NL80211_BAND_2GHZ].ht_cap, in rt2x00lib_probe_hw_modes() 1080 rt2x00dev->bands[NL80211_BAND_5GHZ].n_channels = in rt2x00lib_probe_hw_modes() 1082 rt2x00dev->bands[NL80211_BAND_5GHZ].n_bitrates = in rt2x00lib_probe_hw_modes() [all …]
|
/Linux-v4.19/drivers/net/wireless/quantenna/qtnfmac/ |
D | core.c | 222 wiphy->bands[band] = kzalloc(sizeof(*wiphy->bands[band]), GFP_KERNEL); in qtnf_mac_init_single_band() 223 if (!wiphy->bands[band]) in qtnf_mac_init_single_band() 226 wiphy->bands[band]->band = band; in qtnf_mac_init_single_band() 228 ret = qtnf_cmd_band_info_get(mac, wiphy->bands[band]); in qtnf_mac_init_single_band() 235 qtnf_band_init_rates(wiphy->bands[band]); in qtnf_mac_init_single_band() 485 if (!wiphy->bands[band]) in qtnf_core_mac_detach() 488 kfree(wiphy->bands[band]->channels); in qtnf_core_mac_detach() 489 wiphy->bands[band]->n_channels = 0; in qtnf_core_mac_detach() 491 kfree(wiphy->bands[band]); in qtnf_core_mac_detach() 492 wiphy->bands[band] = NULL; in qtnf_core_mac_detach()
|
/Linux-v4.19/Documentation/networking/ |
D | multiqueue.txt | 36 bands and queues based on the value in skb->queue_mapping. Use this field in 40 blocking. It will cycle though the bands and verify that the hardware queue 43 On qdisc load, the number of bands is based on the number of queues on the 57 The qdisc will allocate the number of bands to equal the number of queues that
|
/Linux-v4.19/Documentation/media/uapi/v4l/ |
D | vidioc-enum-freq-bands.rst | 12 VIDIOC_ENUM_FREQ_BANDS - Enumerate supported frequency bands 35 Enumerates the frequency bands that a tuner or modulator supports. To do 78 be the same for all frequency bands of the selected 79 tuner/modulator. So either all bands have that capability set, or
|
/Linux-v4.19/drivers/net/wireless/ath/ |
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() 381 sband = wiphy->bands[NL80211_BAND_2GHZ]; in ath_reg_apply_ir_flags() 410 if (!wiphy->bands[NL80211_BAND_5GHZ]) in ath_reg_apply_radar_flags() 413 sband = wiphy->bands[NL80211_BAND_5GHZ]; in ath_reg_apply_radar_flags()
|
/Linux-v4.19/drivers/staging/vt6656/ |
D | channel.c | 146 priv->hw->wiphy->bands[NL80211_BAND_5GHZ] = in vnt_init_bands() 160 priv->hw->wiphy->bands[NL80211_BAND_2GHZ] = in vnt_init_bands()
|
/Linux-v4.19/drivers/net/wireless/broadcom/brcm80211/brcmsmac/ |
D | phy_shim.c | 111 u16 val, int bands) in wlapi_bmac_mhf() argument 113 brcms_b_mhf(physhim->wlc_hw, idx, mask, val, bands); in wlapi_bmac_mhf()
|
/Linux-v4.19/drivers/media/dvb-frontends/ |
D | cx24110.c | 246 static const u32 bands[]={5000000UL,15000000UL,90999000UL/2}; in cx24110_set_symbolrate() local 255 for(i = 0; (i < ARRAY_SIZE(bands)) && (srate>bands[i]); i++) in cx24110_set_symbolrate() 300 dprintk("srate= %d (range %d, up to %d)\n", srate,i,bands[i]); in cx24110_set_symbolrate()
|
/Linux-v4.19/drivers/media/usb/airspy/ |
D | airspy.c | 59 static const struct v4l2_frequency_band bands[] = { variable 726 v->rangelow = bands[0].rangelow; in airspy_g_tuner() 727 v->rangehigh = bands[0].rangehigh; in airspy_g_tuner() 775 bands[0].rangelow, in airspy_s_frequency() 776 bands[0].rangehigh); in airspy_s_frequency() 802 if (band->index >= ARRAY_SIZE(bands)) { in airspy_enum_freq_bands() 805 *band = bands[band->index]; in airspy_enum_freq_bands() 996 s->f_adc = bands[0].rangelow; in airspy_probe()
|
/Linux-v4.19/net/openvswitch/ |
D | meter.h | 45 struct dp_meter_band bands[]; member
|