/openbmc/linux/net/sched/ |
H A D | sch_multiq.c | 33 u32 band; in multiq_classify() local 92 int band; in multiq_dequeue() local 94 for (band = 0; band < q->bands; band++) { in multiq_dequeue() 124 int band; in multiq_peek() local 126 for (band = 0; band < q->bands; band++) { in multiq_peek() 150 u16 band; in multiq_reset() local 153 for (band = 0; band < q->bands; band++) in multiq_reset() 161 int band; in multiq_destroy() local 165 for (band = 0; band < q->bands; band++) in multiq_destroy() 350 int band; in multiq_walk() local [all …]
|
H A D | sch_ets.c | 281 return band; in ets_class_find() 404 band = TC_H_MIN(band) - 1; in ets_classify() 465 for (band = 0; band < q->nstrict; band++) { in ets_qdisc_dequeue() 506 u8 band; in ets_qdisc_priomap_parse() local 710 int band; in ets_qdisc_reset() local 712 for (band = q->nstrict; band < q->nbands; band++) { in ets_qdisc_reset() 716 for (band = 0; band < q->nbands; band++) in ets_qdisc_reset() 723 int band; in ets_qdisc_destroy() local 727 for (band = 0; band < q->nbands; band++) in ets_qdisc_destroy() 736 int band; in ets_qdisc_dump() local [all …]
|
H A D | sch_prio.c | 34 u32 band = skb->priority; in prio_classify() local 55 if (TC_H_MAJ(band)) in prio_classify() 56 band = 0; in prio_classify() 59 band = res.classid; in prio_classify() 61 band = TC_H_MIN(band) - 1; in prio_classify() 62 if (band >= q->bands) in prio_classify() 65 return q->queues[band]; in prio_classify() 306 graft_offload.graft_params.band = band; in prio_graft() 322 return q->queues[band]; in prio_leaf() 330 if (band - 1 >= q->bands) in prio_find() [all …]
|
/openbmc/linux/drivers/media/test-drivers/vivid/ |
H A D | vivid-radio-rx.c | 138 if (band->tuner != 0) in vivid_radio_rx_enum_freq_bands() 141 if (band->index >= TOT_BANDS) in vivid_radio_rx_enum_freq_bands() 144 *band = vivid_radio_bands[band->index]; in vivid_radio_rx_enum_freq_bands() 154 unsigned band; in vivid_radio_rx_s_hw_freq_seek() local 170 for (band = 0; band < TOT_BANDS; band++) in vivid_radio_rx_s_hw_freq_seek() 174 if (band == TOT_BANDS) in vivid_radio_rx_s_hw_freq_seek() 183 for (band = 0; band < TOT_BANDS; band++) in vivid_radio_rx_s_hw_freq_seek() 187 if (band == TOT_BANDS) in vivid_radio_rx_s_hw_freq_seek() 189 low = vivid_radio_bands[band].rangelow; in vivid_radio_rx_s_hw_freq_seek() 190 high = vivid_radio_bands[band].rangehigh; in vivid_radio_rx_s_hw_freq_seek() [all …]
|
/openbmc/linux/drivers/net/ethernet/netronome/nfp/abm/ |
H A D | ctrl.c | 67 alink->id, band, queue, alink->queue_base); in nfp_abm_ctrl_stat() 143 unsigned int band; in nfp_abm_ctrl_stat_non_sto() local 146 for (band = 0; band < alink->abm->num_bands; band++) { in nfp_abm_ctrl_stat_non_sto() 149 band, queue, true, &val)) in nfp_abm_ctrl_stat_non_sto() 159 unsigned int band; in nfp_abm_ctrl_stat_sto() local 162 for (band = 0; band < alink->abm->num_bands; band++) { in nfp_abm_ctrl_stat_sto() 165 band, queue, true, &val)) in nfp_abm_ctrl_stat_sto() 178 if (!band) { in nfp_abm_ctrl_stat_basic() 190 NFP_Q_STAT_STRIDE, off, band, queue, in nfp_abm_ctrl_stat_basic() 224 band, queue, true, &stats->drops); in nfp_abm_ctrl_read_q_stats() [all …]
|
H A D | qdisc.c | 57 &qdisc->red.band[i].stats); in nfp_abm_stats_update_red() 155 band, queue, err); in __nfp_abm_stats_init() 163 band, queue, err); in __nfp_abm_stats_init() 504 qdisc->red.band[i].prev_stats = qdisc->red.band[i].stats; in nfp_abm_gred_stats() 509 qdisc->red.band[i].prev_xstats = qdisc->red.band[i].xstats; in nfp_abm_gred_stats() 542 if (!band->present) in nfp_abm_gred_check_params() 554 if (band->is_harddrop) { in nfp_abm_gred_check_params() 559 if (band->min != band->max) { in nfp_abm_gred_check_params() 564 if (band->min > S32_MAX) { in nfp_abm_gred_check_params() 633 qdisc->red.band[0].prev_xstats = qdisc->red.band[0].xstats; in nfp_abm_red_xstats() [all …]
|
/openbmc/linux/drivers/net/wireless/ti/wl12xx/ |
H A D | scan.c | 29 (req->channels[i]->band == band) && in wl1271_get_scan_channels() 122 band, passive); in wl1271_scan_send() 207 enum nl80211_band band; in wl1271_scan_stm() local 215 band = NL80211_BAND_2GHZ; in wl1271_scan_stm() 232 band = NL80211_BAND_2GHZ; in wl1271_scan_stm() 252 band = NL80211_BAND_5GHZ; in wl1271_scan_stm() 263 band = NL80211_BAND_5GHZ; in wl1271_scan_stm() 372 ies->ies[band], in wl1271_scan_sched_scan_config() 373 ies->len[band], in wl1271_scan_sched_scan_config() 389 ies->ies[band], in wl1271_scan_sched_scan_config() [all …]
|
/openbmc/linux/drivers/media/radio/si470x/ |
H A D | radio-si470x-common.c | 181 if (radio->band == band) in si470x_set_band() 184 radio->band = band; in si470x_set_band() 282 bands[radio->band].rangehigh); in si470x_set_freq() 297 int band, retval; in si470x_set_seek() local 304 for (band = 0; band < ARRAY_SIZE(bands); band++) { in si470x_set_seek() 309 if (band == ARRAY_SIZE(bands)) in si470x_set_seek() 314 if (radio->band != band) { in si470x_set_seek() 318 retval = si470x_set_band(radio, band); in si470x_set_seek() 745 if (band->tuner != 0) in si470x_vidioc_enum_freq_bands() 747 if (band->index >= ARRAY_SIZE(bands)) in si470x_vidioc_enum_freq_bands() [all …]
|
/openbmc/linux/drivers/media/tuners/ |
H A D | mt2266.c | 33 u8 band; member 126 u8 band; in mt2266_set_params() local 136 band = (freq < 300000) ? MT2266_VHF : MT2266_UHF; in mt2266_set_params() 137 if (band == MT2266_VHF) in mt2266_set_params() 157 if (band == MT2266_VHF && priv->band == MT2266_UHF) { in mt2266_set_params() 162 } else if (band == MT2266_UHF && priv->band == MT2266_VHF) { in mt2266_set_params() 207 (band == MT2266_UHF) ? "UHF" : "VHF"); in mt2266_set_params() 211 if (band == MT2266_UHF) { in mt2266_set_params() 229 if (band == MT2266_UHF && priv->band == MT2266_VHF) in mt2266_set_params() 232 priv->band = band; in mt2266_set_params() [all …]
|
H A D | msi001.c | 332 unsigned int band; in msi001_s_frequency() local 338 band = 0; in msi001_s_frequency() 340 band = 1; in msi001_s_frequency() 342 bands[band].rangelow, bands[band].rangehigh); in msi001_s_frequency() 348 struct v4l2_frequency_band *band) in msi001_enum_freq_bands() argument 354 band->tuner, band->type, band->index); in msi001_enum_freq_bands() 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()
|
/openbmc/linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac/ |
H A D | stf.c | 32 NREV_GT(wlc->band->phyrev, 3) && NREV_LE(wlc->band->phyrev, 6)) 231 if (BRCMS_PHY_11N_CAP(wlc->band)) { in _brcms_c_stf_phy_txant_upd() 237 if (BRCMS_ISNPHY(wlc->band) && in _brcms_c_stf_phy_txant_upd() 238 NREV_GE(wlc->band->phyrev, 3) in _brcms_c_stf_phy_txant_upd() 242 if (BRCMS_ISLCNPHY(wlc->band) || in _brcms_c_stf_phy_txant_upd() 243 BRCMS_ISSSLPNPHY(wlc->band)) in _brcms_c_stf_phy_txant_upd() 326 if (wlc->band != band) in brcms_c_stf_ss_update() 342 if (BRCMS_ISNPHY(wlc->band) && in brcms_c_stf_attach() 380 if (BRCMS_ISNPHY(wlc->band)) in brcms_c_stf_phy_chain_calc() 390 if (BRCMS_ISNPHY(wlc->band)) in brcms_c_stf_phy_chain_calc() [all …]
|
H A D | main.c | 1339 band = wlc_hw->band; in brcms_b_mhf() 1359 && (band == wlc_hw->band)) in brcms_b_mhf() 1922 if (wlc_hw->band && wlc_hw->band->pi) in brcms_b_xtal() 2048 if (wlc_hw->band && wlc_hw->band->pi) in brcms_b_corereset() 4627 wlc->band->pi = wlc_hw->band->pi; in brcms_b_attach() 4628 wlc->band->phytype = wlc_hw->band->phytype; in brcms_b_attach() 4629 wlc->band->phyrev = wlc_hw->band->phyrev; in brcms_b_attach() 4745 band = wlc->band; in brcms_c_bss_default_init() 4821 band = wlc_hw->band; in brcms_b_detach() 5229 band = wlc->band; in brcms_c_set_gmode() [all …]
|
H A D | channel.c | 408 struct brcms_band *band; in brcms_c_channel_reg_limits() local 428 delta = band->antgain; in brcms_c_channel_reg_limits() 461 if (band->antgain > QDB(6)) in brcms_c_channel_reg_limits() 664 int band, i; in brcms_reg_apply_beaconing_flags() local 666 for (band = 0; band < NUM_NL80211_BANDS; band++) { in brcms_reg_apply_beaconing_flags() 667 sband = wiphy->bands[band]; in brcms_reg_apply_beaconing_flags() 701 int band, i; in brcms_reg_notifier() local 710 for (band = 0; !ch_found && band < NUM_NL80211_BANDS; band++) { in brcms_reg_notifier() 711 sband = wiphy->bands[band]; in brcms_reg_notifier() 744 struct brcms_band *band; in brcms_c_regd_init() local [all …]
|
/openbmc/linux/drivers/media/radio/ |
H A D | tea575x.c | 149 switch (tea->band) { in snd_tea575x_val_to_freq() 182 u32 band = 0; in snd_tea575x_set_freq() local 184 switch (tea->band) { in snd_tea575x_set_freq() 209 tea->val |= band; in snd_tea575x_set_freq() 237 if (band->tuner != 0) in snd_tea575x_enum_freq_bands() 240 switch (band->index) { in snd_tea575x_enum_freq_bands() 257 *band = bands[index]; in snd_tea575x_enum_freq_bands() 344 tea->band = BAND_AM; in vidioc_s_frequency() 348 tea->band = BAND_FM; in vidioc_s_frequency() 382 if (i != tea->band) { in snd_tea575x_s_hw_freq_seek() [all …]
|
H A D | radio-raremono.c | 112 u32 band; member 127 switch (band) { in raremono_cmd_main() 191 struct v4l2_frequency_band *band) in vidioc_enum_freq_bands() argument 193 if (band->tuner != 0) in vidioc_enum_freq_bands() 196 if (band->index >= ARRAY_SIZE(bands)) in vidioc_enum_freq_bands() 199 *band = bands[band->index]; in vidioc_enum_freq_bands() 244 unsigned band; in vidioc_s_frequency() local 250 band = BAND_FM; in vidioc_s_frequency() 252 band = BAND_AM; in vidioc_s_frequency() 254 band = BAND_SW; in vidioc_s_frequency() [all …]
|
H A D | radio-tea5777.c | 164 switch (tea->band) { in tea5777_freq_to_v4l2_freq() 179 bands[tea->band].rangehigh); in radio_tea5777_set_freq() 182 switch (tea->band) { in radio_tea5777_set_freq() 267 struct v4l2_frequency_band *band) in vidioc_enum_freq_bands() argument 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() 305 if (tea->band == BAND_FM && in vidioc_g_tuner() 361 tea->band = BAND_AM; in vidioc_s_frequency() 363 tea->band = BAND_FM; in vidioc_s_frequency() 396 tea->band = i; in vidioc_s_hw_freq_seek() [all …]
|
/openbmc/linux/net/openvswitch/ |
H A D | meter.c | 236 struct dp_meter_band *band; in ovs_meter_cmd_reply_stats() local 254 band = meter->bands; in ovs_meter_cmd_reply_stats() 262 &band->stats)) in ovs_meter_cmd_reply_stats() 360 band = meter->bands; in dp_meter_create() 380 if (band->rate == 0) { in dp_meter_create() 392 band->bucket = band->burst_size * 1000ULL; in dp_meter_create() 393 band_max_delta_t = div_u64(band->bucket, band->rate); in dp_meter_create() 396 band++; in dp_meter_create() 650 band = &meter->bands[i]; in ovs_meter_execute() 653 band->bucket += delta_ms * band->rate; in ovs_meter_execute() [all …]
|
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/ |
H A D | iwl-eeprom-parse.c | 336 enum nl80211_band band; in iwl_eeprom_enh_txp_read_element() local 349 if (band != chan->band) in iwl_eeprom_enh_txp_read_element() 480 if (data->channels[i].band != band) in iwl_mod_ht40_chan_info() 517 int band, ch_idx; in iwl_init_channel_map() local 526 for (band = 1; band <= 5; band++) { in iwl_init_channel_map() 552 channel->band = (band == 1) ? NL80211_BAND_2GHZ in iwl_init_channel_map() 622 for (band = 6; band <= 7; band++) { in iwl_init_channel_map() 660 while (idx < n_channels && chan->band != band) in iwl_init_sband_channels() 665 while (idx < n_channels && chan->band == band) { in iwl_init_sband_channels() 681 enum nl80211_band band, in iwl_init_ht_hw_capab() argument [all …]
|
/openbmc/linux/drivers/net/wireless/mediatek/mt76/mt7915/ |
H A D | testmode.c | 23 u32 band[2]; member 27 { _list.band[0] = MT_##_reg(0); \ 28 _list.band[1] = MT_##_reg(1); } 30 { _list.band[0] = MT_##_reg(0, _idx); \ 201 u8 band = phy->mt76->band_idx; in mt7915_tm_set_ipg_params() local 243 mt76_set(dev, MT_TMAC_TRCR0(band), in mt7915_tm_set_ipg_params() 340 u8 band = phy->mt76->band_idx; in mt7915_tm_reg_backup_restore() local 363 mt76_wr(dev, reg_backup_list[i].band[band], b[i]); in mt7915_tm_reg_backup_restore() 374 b[i] = mt76_rr(dev, reg_backup_list[i].band[band]); in mt7915_tm_reg_backup_restore() 520 u8 band = phy->mt76->band_idx; in mt7915_tm_set_tx_cont() local [all …]
|
H A D | eeprom.c | 147 u8 band = phy->mt76->band_idx; in mt7915_eeprom_parse_band_config() local 150 val = eeprom[MT_EE_WIFI_CONF + band]; in mt7915_eeprom_parse_band_config() 192 u8 band = phy->mt76->band_idx; in mt7915_eeprom_parse_hw_cap() local 202 eeprom[MT_EE_WIFI_CONF + band]); in mt7915_eeprom_parse_hw_cap() 215 if (band) in mt7915_eeprom_parse_hw_cap() 220 eeprom[MT_EE_WIFI_CONF + 2 + band]); in mt7915_eeprom_parse_hw_cap() 232 if (band) in mt7915_eeprom_parse_hw_cap() 281 if (chan->band == NL80211_BAND_2GHZ) { in mt7915_eeprom_get_target_power() 292 } else if (chan->band == NL80211_BAND_5GHZ) { in mt7915_eeprom_get_target_power() 322 if (band == NL80211_BAND_2GHZ) in mt7915_eeprom_get_power_delta() [all …]
|
H A D | testmode.h | 10 u8 band; member 15 u8 band; member 25 u8 band; member 32 u8 band; member 65 u8 band; member
|
/openbmc/openbmc/meta-openembedded/meta-multimedia/recipes-multimedia/dvb-apps/files/dvb-scan-table/dvb-t/ |
H A D | hk-HongKong | 3 # TVB (band 35) 16 # ATV (band 37) 30 # Simulcast (band 22) 43 # Simulcast (band 30) 56 # Simulcast (band 32) 69 # Simulcast (band 40) 82 # Simulcast (band 43)
|
/openbmc/linux/drivers/net/wireless/mediatek/mt76/mt7996/ |
H A D | init.c | 333 enum mt76_band_id band) in mt7996_register_phy() argument 339 if (band != MT_BAND1 && band != MT_BAND2) in mt7996_register_phy() 359 mphy->dev->phys[band] = mphy; in mt7996_register_phy() 377 if (band == MT_BAND2) in mt7996_register_phy() 385 MT_TXQ_ID(band), in mt7996_register_phy() 403 mphy->dev->phys[band] = NULL; in mt7996_register_phy() 610 if (band == NL80211_BAND_2GHZ) in mt7996_init_he_caps() 643 if (band == NL80211_BAND_2GHZ) in mt7996_init_he_caps() 801 if (band == NL80211_BAND_6GHZ) in mt7996_init_eht_caps() 818 if (band != NL80211_BAND_6GHZ) in mt7996_init_eht_caps() [all …]
|
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/dvm/ |
H A D | scan.c | 349 if (band == NL80211_BAND_5GHZ) in iwl_get_active_dwell_time() 427 enum nl80211_band band) in iwl_get_single_channel_number() argument 455 enum nl80211_band band, in iwl_get_channel_for_reset_scan() argument 477 if (band == NL80211_BAND_5GHZ) in iwl_get_channel_for_reset_scan() 490 enum nl80211_band band, in iwl_get_channels_for_scan() argument 514 if (chan->band != band) in iwl_get_channels_for_scan() 538 if (band == NL80211_BAND_5GHZ) in iwl_get_channels_for_scan() 620 enum nl80211_band band; in iwlagn_request_scan() local 797 band = priv->scan_band; in iwlagn_request_scan() 924 enum nl80211_band band) in iwl_scan_initiate() argument [all …]
|
/openbmc/linux/drivers/net/wireless/ti/wl18xx/ |
H A D | scan.c | 99 u8 band = NL80211_BAND_2GHZ; in wl18xx_scan_send() local 101 cmd->role_id, band, in wl18xx_scan_send() 116 u8 band = NL80211_BAND_5GHZ; in wl18xx_scan_send() local 118 cmd->role_id, band, in wl18xx_scan_send() 242 u8 band = NL80211_BAND_2GHZ; in wl18xx_scan_sched_scan_config() local 244 cmd->role_id, band, in wl18xx_scan_sched_scan_config() 247 ies->ies[band], in wl18xx_scan_sched_scan_config() 248 ies->len[band], in wl18xx_scan_sched_scan_config() 261 cmd->role_id, band, in wl18xx_scan_sched_scan_config() 264 ies->ies[band], in wl18xx_scan_sched_scan_config() [all …]
|