| /kernel/linux/linux-4.19/drivers/mfd/ |
| D | wm8994-regmap.c | 145 { 0x0482, 0x0FCA }, /* R1154 - AIF1 DAC1 EQ Band 1 A */ 146 { 0x0483, 0x0400 }, /* R1155 - AIF1 DAC1 EQ Band 1 B */ 147 { 0x0484, 0x00D8 }, /* R1156 - AIF1 DAC1 EQ Band 1 PG */ 148 { 0x0485, 0x1EB5 }, /* R1157 - AIF1 DAC1 EQ Band 2 A */ 149 { 0x0486, 0xF145 }, /* R1158 - AIF1 DAC1 EQ Band 2 B */ 150 { 0x0487, 0x0B75 }, /* R1159 - AIF1 DAC1 EQ Band 2 C */ 151 { 0x0488, 0x01C5 }, /* R1160 - AIF1 DAC1 EQ Band 2 PG */ 152 { 0x0489, 0x1C58 }, /* R1161 - AIF1 DAC1 EQ Band 3 A */ 153 { 0x048A, 0xF373 }, /* R1162 - AIF1 DAC1 EQ Band 3 B */ 154 { 0x048B, 0x0A54 }, /* R1163 - AIF1 DAC1 EQ Band 3 C */ [all …]
|
| /kernel/linux/linux-5.10/drivers/mfd/ |
| D | wm8994-regmap.c | 140 { 0x0482, 0x0FCA }, /* R1154 - AIF1 DAC1 EQ Band 1 A */ 141 { 0x0483, 0x0400 }, /* R1155 - AIF1 DAC1 EQ Band 1 B */ 142 { 0x0484, 0x00D8 }, /* R1156 - AIF1 DAC1 EQ Band 1 PG */ 143 { 0x0485, 0x1EB5 }, /* R1157 - AIF1 DAC1 EQ Band 2 A */ 144 { 0x0486, 0xF145 }, /* R1158 - AIF1 DAC1 EQ Band 2 B */ 145 { 0x0487, 0x0B75 }, /* R1159 - AIF1 DAC1 EQ Band 2 C */ 146 { 0x0488, 0x01C5 }, /* R1160 - AIF1 DAC1 EQ Band 2 PG */ 147 { 0x0489, 0x1C58 }, /* R1161 - AIF1 DAC1 EQ Band 3 A */ 148 { 0x048A, 0xF373 }, /* R1162 - AIF1 DAC1 EQ Band 3 B */ 149 { 0x048B, 0x0A54 }, /* R1163 - AIF1 DAC1 EQ Band 3 C */ [all …]
|
| /kernel/linux/linux-5.10/net/sched/ |
| D | sch_multiq.c | 33 u32 band; in multiq_classify() local 51 band = skb_get_queue_mapping(skb); in multiq_classify() 53 if (band >= q->bands) in multiq_classify() 56 return q->queues[band]; in multiq_classify() 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() [all …]
|
| D | sch_ets.c | 20 * The strict classes, if any, are tried for traffic first: first band 0, if it 21 * has no traffic then band 1, etc. 24 * ones are tried next. Each band is assigned a deficit counter, initialized to 25 * "quantum" of that band. ETS maintains a list of active bandwidth-sharing 26 * bands whose qdiscs are non-empty. A packet is dequeued from the band at the 29 * scheduler moves on to the next band in the active list. 100 int band = cl - q->classes; in ets_class_id() local 102 return TC_H_MAKE(sch->handle, band + 1); in ets_class_id() 170 qopt.graft_params.band = arg - 1; in ets_offload_graft() 192 unsigned int band = cl - q->classes; in ets_class_is_strict() local [all …]
|
| D | sch_prio.c | 3 * net/sched/sch_prio.c Simple 3-band priority "scheduler". 34 u32 band = skb->priority; in prio_classify() local 55 if (TC_H_MAJ(band)) in prio_classify() 56 band = 0; in prio_classify() 57 return q->queues[q->prio2band[band & TC_PRIO_MAX]]; 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() 293 unsigned long band = arg - 1; in prio_graft() local [all …]
|
| /kernel/linux/linux-4.19/net/sched/ |
| D | sch_multiq.c | 44 u32 band; in multiq_classify() local 62 band = skb_get_queue_mapping(skb); in multiq_classify() 64 if (band >= q->bands) in multiq_classify() 67 return q->queues[band]; in multiq_classify() 103 int band; in multiq_dequeue() local 105 for (band = 0; band < q->bands; band++) { in multiq_dequeue() 135 int band; in multiq_peek() local 137 for (band = 0; band < q->bands; band++) { in multiq_peek() 161 u16 band; in multiq_reset() local 164 for (band = 0; band < q->bands; band++) in multiq_reset() [all …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/abm/ |
| D | ctrl.c | 49 unsigned int stride, unsigned int offset, unsigned int band, in nfp_abm_ctrl_stat() argument 58 qid = band * NFP_NET_MAX_RX_RINGS + alink->queue_base + queue; in nfp_abm_ctrl_stat() 66 nfp_err(cpp, "RED offload reading stat failed on vNIC %d band %d queue %d (+ %d)\n", in nfp_abm_ctrl_stat() 67 alink->id, band, queue, alink->queue_base); in nfp_abm_ctrl_stat() 98 int nfp_abm_ctrl_set_q_lvl(struct nfp_abm_link *alink, unsigned int band, in nfp_abm_ctrl_set_q_lvl() argument 103 threshold = band * NFP_NET_MAX_RX_RINGS + alink->queue_base + queue; in nfp_abm_ctrl_set_q_lvl() 131 int nfp_abm_ctrl_set_q_act(struct nfp_abm_link *alink, unsigned int band, in nfp_abm_ctrl_set_q_act() argument 136 qid = band * NFP_NET_MAX_RX_RINGS + alink->queue_base + queue; in nfp_abm_ctrl_set_q_act() 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() [all …]
|
| D | qdisc.c | 57 &qdisc->red.band[i].stats); in nfp_abm_stats_update_red() 63 &qdisc->red.band[i].xstats); in nfp_abm_stats_update_red() 132 qdisc->red.band[i].stats.backlog_pkts = 0; in nfp_abm_qdisc_offload_stop() 133 qdisc->red.band[i].stats.backlog_bytes = 0; in nfp_abm_qdisc_offload_stop() 138 __nfp_abm_stats_init(struct nfp_abm_link *alink, unsigned int band, in __nfp_abm_stats_init() argument 151 err = nfp_abm_ctrl_read_q_stats(alink, band, queue, prev_stats); in __nfp_abm_stats_init() 155 band, queue, err); in __nfp_abm_stats_init() 159 err = nfp_abm_ctrl_read_q_xstats(alink, band, queue, prev_xstats); in __nfp_abm_stats_init() 163 band, queue, err); in __nfp_abm_stats_init() 181 &qdisc->red.band[i].prev_stats, in nfp_abm_stats_init() [all …]
|
| D | main.h | 61 * @q_stats: basic queue statistics (only in per-band case) 143 * @red.num_bands: Number of valid entries in the @red.band table 144 * @red.band: Per-band array of RED instances 145 * @red.band.ecn: ECN marking is enabled (rather than drop) 146 * @red.band.threshold: ECN marking threshold 147 * @red.band.stats: current stats of the RED Qdisc 148 * @red.band.prev_stats: previously reported @red.stats 149 * @red.band.xstats: extended stats for RED - current 150 * @red.band.prev_xstats: extended stats for RED - previously reported 182 } band[MAX_DPs]; member [all …]
|
| /kernel/linux/linux-5.10/drivers/net/wireless/ti/wl12xx/ |
| D | scan.c | 16 enum nl80211_band band, bool passive) in wl1271_get_scan_channels() argument 29 (req->channels[i]->band == band) && in wl1271_get_scan_channels() 37 wl1271_debug(DEBUG_SCAN, "band %d, center_freq %d ", in wl1271_get_scan_channels() 38 req->channels[i]->band, in wl1271_get_scan_channels() 81 enum nl80211_band band, in wl1271_scan_send() argument 122 band, passive); in wl1271_scan_send() 133 if (band == NL80211_BAND_2GHZ) in wl1271_scan_send() 134 cmd->params.band = WL1271_SCAN_BAND_2_4_GHZ; in wl1271_scan_send() 136 cmd->params.band = WL1271_SCAN_BAND_5_GHZ; in wl1271_scan_send() 146 cmd->params.role_id, band, in wl1271_scan_send() [all …]
|
| /kernel/linux/linux-4.19/drivers/media/platform/vivid/ |
| D | vivid-radio-rx.c | 136 int vivid_radio_rx_enum_freq_bands(struct file *file, void *fh, struct v4l2_frequency_band *band) in vivid_radio_rx_enum_freq_bands() argument 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() 171 if (a->rangelow >= vivid_radio_bands[band].rangelow && in vivid_radio_rx_s_hw_freq_seek() 172 a->rangehigh <= vivid_radio_bands[band].rangehigh) in vivid_radio_rx_s_hw_freq_seek() 174 if (band == TOT_BANDS) in vivid_radio_rx_s_hw_freq_seek() 177 (a->rangelow != vivid_radio_bands[band].rangelow || in vivid_radio_rx_s_hw_freq_seek() [all …]
|
| /kernel/linux/linux-5.10/drivers/media/test-drivers/vivid/ |
| D | vivid-radio-rx.c | 136 int vivid_radio_rx_enum_freq_bands(struct file *file, void *fh, struct v4l2_frequency_band *band) in vivid_radio_rx_enum_freq_bands() argument 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() 171 if (a->rangelow >= vivid_radio_bands[band].rangelow && in vivid_radio_rx_s_hw_freq_seek() 172 a->rangehigh <= vivid_radio_bands[band].rangehigh) in vivid_radio_rx_s_hw_freq_seek() 174 if (band == TOT_BANDS) in vivid_radio_rx_s_hw_freq_seek() 177 (a->rangelow != vivid_radio_bands[band].rangelow || in vivid_radio_rx_s_hw_freq_seek() [all …]
|
| /kernel/linux/linux-4.19/net/openvswitch/ |
| D | meter.c | 115 struct dp_meter_band *band; in ovs_meter_cmd_reply_stats() local 134 band = meter->bands; in ovs_meter_cmd_reply_stats() 136 for (i = 0; i < meter->n_bands; ++i, ++band) { in ovs_meter_cmd_reply_stats() 142 &band->stats)) in ovs_meter_cmd_reply_stats() 176 /* Currently only DROP band type is supported. */ in ovs_meter_cmd_features() 197 struct dp_meter_band *band; in dp_meter_create() local 226 band = meter->bands; in dp_meter_create() 244 band->type = nla_get_u32(attr[OVS_BAND_ATTR_TYPE]); in dp_meter_create() 245 band->rate = nla_get_u32(attr[OVS_BAND_ATTR_RATE]); in dp_meter_create() 246 if (band->rate == 0) { in dp_meter_create() [all …]
|
| /kernel/linux/linux-4.19/drivers/net/wireless/ti/wl12xx/ |
| D | scan.c | 30 enum nl80211_band band, bool passive) in wl1271_get_scan_channels() argument 43 (req->channels[i]->band == band) && in wl1271_get_scan_channels() 51 wl1271_debug(DEBUG_SCAN, "band %d, center_freq %d ", in wl1271_get_scan_channels() 52 req->channels[i]->band, in wl1271_get_scan_channels() 95 enum nl80211_band band, in wl1271_scan_send() argument 136 band, passive); in wl1271_scan_send() 147 if (band == NL80211_BAND_2GHZ) in wl1271_scan_send() 148 cmd->params.band = WL1271_SCAN_BAND_2_4_GHZ; in wl1271_scan_send() 150 cmd->params.band = WL1271_SCAN_BAND_5_GHZ; in wl1271_scan_send() 160 cmd->params.role_id, band, in wl1271_scan_send() [all …]
|
| /kernel/linux/linux-5.10/net/openvswitch/ |
| D | meter.c | 239 struct dp_meter_band *band; in ovs_meter_cmd_reply_stats() local 257 band = meter->bands; in ovs_meter_cmd_reply_stats() 259 for (i = 0; i < meter->n_bands; ++i, ++band) { in ovs_meter_cmd_reply_stats() 265 &band->stats)) in ovs_meter_cmd_reply_stats() 313 /* Currently only DROP band type is supported. */ in ovs_meter_cmd_features() 335 struct dp_meter_band *band; in dp_meter_create() local 363 band = meter->bands; in dp_meter_create() 381 band->type = nla_get_u32(attr[OVS_BAND_ATTR_TYPE]); in dp_meter_create() 382 band->rate = nla_get_u32(attr[OVS_BAND_ATTR_RATE]); in dp_meter_create() 383 if (band->rate == 0) { in dp_meter_create() [all …]
|
| /kernel/linux/linux-4.19/drivers/staging/rtlwifi/rtl8822be/ |
| D | phy.c | 233 u8 band, rfpath, txnum, rate; in _rtl8822be_phy_init_tx_power_by_rate() local 235 for (band = BAND_ON_2_4G; band <= BAND_ON_5G; ++band) in _rtl8822be_phy_init_tx_power_by_rate() 241 [band][rfpath][txnum][rate] = 0; in _rtl8822be_phy_init_tx_power_by_rate() 245 u8 band, u8 path, in _rtl8822be_phy_set_txpower_by_rate_base() argument 259 if (band != BAND_ON_2_4G && band != BAND_ON_5G) { in _rtl8822be_phy_set_txpower_by_rate_base() 261 "Invalid band %d in phy_SetTxPowerByRatBase()\n", in _rtl8822be_phy_set_txpower_by_rate_base() 262 band); in _rtl8822be_phy_set_txpower_by_rate_base() 267 (band == BAND_ON_5G && rate_section == CCK)) { in _rtl8822be_phy_set_txpower_by_rate_base() 275 if (band == BAND_ON_2_4G) in _rtl8822be_phy_set_txpower_by_rate_base() 284 u8 band, u8 path, u8 txnum, in _rtl8822be_phy_get_txpower_by_rate_base() argument [all …]
|
| /kernel/linux/linux-4.19/drivers/media/radio/si470x/ |
| D | radio-si470x-common.c | 44 * - spacing and bottom of band codes remain the same 186 * si470x_set_band - set the band 188 static int si470x_set_band(struct si470x_device *radio, int band) in si470x_set_band() argument 190 if (radio->band == band) in si470x_set_band() 193 radio->band = band; in si470x_set_band() 195 radio->registers[SYSCONFIG2] |= radio->band << 6; in si470x_set_band() 276 /* Frequency (MHz) = Spacing (kHz) x Channel + Bottom of Band (MHz) */ in si470x_get_freq() 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() [all …]
|
| /kernel/linux/linux-5.10/drivers/media/radio/si470x/ |
| D | radio-si470x-common.c | 35 * - spacing and bottom of band codes remain the same 177 * si470x_set_band - set the band 179 static int si470x_set_band(struct si470x_device *radio, int band) in si470x_set_band() argument 181 if (radio->band == band) in si470x_set_band() 184 radio->band = band; in si470x_set_band() 186 radio->registers[SYSCONFIG2] |= radio->band << 6; in si470x_set_band() 267 /* Frequency (MHz) = Spacing (kHz) x Channel + Bottom of Band (MHz) */ in si470x_get_freq() 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() [all …]
|
| /kernel/linux/linux-4.19/drivers/net/wireless/intel/iwlwifi/ |
| D | iwl-eeprom-parse.c | 142 * These are the channel numbers from each band in the order 143 * that they are stored in the EEPROM band information. Note 393 enum nl80211_band band; in iwl_eeprom_enh_txp_read_element() local 395 band = txp->flags & IWL_EEPROM_ENH_TXP_FL_BAND_52G ? in iwl_eeprom_enh_txp_read_element() 405 /* update matching band only */ in iwl_eeprom_enh_txp_read_element() 406 if (band != chan->band) in iwl_eeprom_enh_txp_read_element() 489 case 1: /* 2.4GHz band */ in iwl_init_band_reference() 493 case 2: /* 4.9GHz band */ in iwl_init_band_reference() 497 case 3: /* 5.2GHz band */ in iwl_init_band_reference() 501 case 4: /* 5.5GHz band */ in iwl_init_band_reference() [all …]
|
| /kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/ |
| D | iwl-eeprom-parse.c | 139 * These are the channel numbers from each band in the order 140 * that they are stored in the EEPROM band information. Note 390 enum nl80211_band band; in iwl_eeprom_enh_txp_read_element() local 392 band = txp->flags & IWL_EEPROM_ENH_TXP_FL_BAND_52G ? in iwl_eeprom_enh_txp_read_element() 402 /* update matching band only */ in iwl_eeprom_enh_txp_read_element() 403 if (band != chan->band) in iwl_eeprom_enh_txp_read_element() 486 case 1: /* 2.4GHz band */ in iwl_init_band_reference() 490 case 2: /* 4.9GHz band */ in iwl_init_band_reference() 494 case 3: /* 5.2GHz band */ in iwl_init_band_reference() 498 case 4: /* 5.5GHz band */ in iwl_init_band_reference() [all …]
|
| /kernel/linux/linux-4.19/sound/soc/codecs/ |
| D | max98090.c | 103 { 0x46, 0x00 }, /* 46 Equalizer Band 1 Coefficient B0 */ 104 { 0x47, 0x00 }, /* 47 Equalizer Band 1 Coefficient B0 */ 105 { 0x48, 0x00 }, /* 48 Equalizer Band 1 Coefficient B0 */ 106 { 0x49, 0x00 }, /* 49 Equalizer Band 1 Coefficient B1 */ 107 { 0x4A, 0x00 }, /* 4A Equalizer Band 1 Coefficient B1 */ 108 { 0x4B, 0x00 }, /* 4B Equalizer Band 1 Coefficient B1 */ 109 { 0x4C, 0x00 }, /* 4C Equalizer Band 1 Coefficient B2 */ 110 { 0x4D, 0x00 }, /* 4D Equalizer Band 1 Coefficient B2 */ 111 { 0x4E, 0x00 }, /* 4E Equalizer Band 1 Coefficient B2 */ 112 { 0x4F, 0x00 }, /* 4F Equalizer Band 1 Coefficient A1 */ [all …]
|
| /kernel/linux/linux-5.10/sound/soc/codecs/ |
| D | max98090.c | 100 { 0x46, 0x00 }, /* 46 Equalizer Band 1 Coefficient B0 */ 101 { 0x47, 0x00 }, /* 47 Equalizer Band 1 Coefficient B0 */ 102 { 0x48, 0x00 }, /* 48 Equalizer Band 1 Coefficient B0 */ 103 { 0x49, 0x00 }, /* 49 Equalizer Band 1 Coefficient B1 */ 104 { 0x4A, 0x00 }, /* 4A Equalizer Band 1 Coefficient B1 */ 105 { 0x4B, 0x00 }, /* 4B Equalizer Band 1 Coefficient B1 */ 106 { 0x4C, 0x00 }, /* 4C Equalizer Band 1 Coefficient B2 */ 107 { 0x4D, 0x00 }, /* 4D Equalizer Band 1 Coefficient B2 */ 108 { 0x4E, 0x00 }, /* 4E Equalizer Band 1 Coefficient B2 */ 109 { 0x4F, 0x00 }, /* 4F Equalizer Band 1 Coefficient A1 */ [all …]
|
| /kernel/linux/linux-4.19/drivers/media/radio/ |
| D | radio-raremono.c | 74 /* Band FM */ 84 /* Band AM */ 93 /* Band SW */ 112 u32 band; member 122 static int raremono_cmd_main(struct raremono_device *radio, unsigned band, unsigned freq) in raremono_cmd_main() argument 127 switch (band) { in raremono_cmd_main() 153 radio->curfreq = (band == BAND_FM) ? freq * 10 : freq; in raremono_cmd_main() 193 struct v4l2_frequency_band *band) in vidioc_enum_freq_bands() argument 195 if (band->tuner != 0) in vidioc_enum_freq_bands() 198 if (band->index >= ARRAY_SIZE(bands)) in vidioc_enum_freq_bands() [all …]
|
| /kernel/linux/linux-5.10/drivers/media/radio/ |
| D | radio-raremono.c | 74 /* Band FM */ 84 /* Band AM */ 93 /* Band SW */ 112 u32 band; member 122 static int raremono_cmd_main(struct raremono_device *radio, unsigned band, unsigned freq) in raremono_cmd_main() argument 127 switch (band) { in raremono_cmd_main() 153 radio->curfreq = (band == BAND_FM) ? freq * 10 : freq; 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() [all …]
|
| /kernel/linux/linux-5.10/drivers/net/wireless/broadcom/brcm80211/brcmsmac/ |
| D | main.c | 189 /* values for band specific 40MHz capabilities */ 361 return wlc->band->basic_rate[mcs_table[rspec & RSPEC_RATE_MASK] in brcms_basic_rate() 363 return wlc->band->basic_rate[rspec & RSPEC_RATE_MASK]; in brcms_basic_rate() 373 /* currently the best mechanism for determining SIFS is the band in use */ 374 static u16 get_sifs(struct brcms_band *band) in get_sifs() argument 376 return band->bandtype == BRCM_BAND_5G ? APHY_SIFS_TIME : in get_sifs() 650 if (wlc->band->bandtype == BRCM_BAND_2G) in brcms_c_calc_frame_time() 662 if (wlc->band->bandtype == BRCM_BAND_2G) in brcms_c_calc_frame_time() 721 brcms_c_write_mhf(wlc_hw, wlc_hw->band->mhfs); in brcms_c_ucode_bsinit() 723 /* do band-specific ucode IHR, SHM, and SCR inits */ in brcms_c_ucode_bsinit() [all …]
|