Home
last modified time | relevance | path

Searched full:band (Results 1 – 25 of 819) sorted by relevance

12345678910>>...33

/linux/drivers/mfd/
H A Dwm8994-regmap.c140 { 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 …]
/linux/net/sched/
H A Dsch_multiq.c33 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 …]
H A Dsch_ets.c20 * 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.
107 int band = cl - q->classes; in ets_class_id() local
109 return TC_H_MAKE(sch->handle, band + 1); in ets_class_id()
181 qopt.graft_params.band = arg - 1; in ets_offload_graft()
203 unsigned int band = cl - q->classes; in ets_class_is_strict() local
[all …]
H A Dsch_prio.c3 * 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()
291 unsigned long band = arg - 1; in prio_graft() local
[all …]
/linux/drivers/net/wireless/realtek/rtw89/
H A Dphy_be.c1265 void __phy_set_txpwr_byrate_be(struct rtw89_dev *rtwdev, u8 band, u8 bw, in __phy_set_txpwr_byrate_be() argument
1286 v[pos] = rtw89_phy_read_txpwr_byrate(rtwdev, band, bw, in __phy_set_txpwr_byrate_be()
1308 u8 band = chan->band_type; in rtw89_phy_set_txpwr_byrate_be() local
1312 "[TXPWR] set txpwr byrate on band %d\n", band); in rtw89_phy_set_txpwr_byrate_be()
1316 __phy_set_txpwr_byrate_be(rtwdev, band, bw, nss, in rtw89_phy_set_txpwr_byrate_be()
1328 u8 band = chan->band_type; in rtw89_phy_set_txpwr_offset_be() local
1333 "[TXPWR] set txpwr offset on band %d\n", band); in rtw89_phy_set_txpwr_offset_be()
1336 v[desc.idx] = rtw89_phy_read_txpwr_byrate(rtwdev, band, 0, &desc); in rtw89_phy_set_txpwr_offset_be()
1352 u8 band, u8 bw, u8 ntx, u8 rs, u8 ch) in fill_limit_nonbf_bf() argument
1357 (*ptr)[bf] = rtw89_phy_read_txpwr_limit(rtwdev, band, bw, ntx, in fill_limit_nonbf_bf()
[all …]
/linux/drivers/net/ethernet/netronome/nfp/abm/
H A Dctrl.c49 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 …]
H A Dqdisc.c57 &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 …]
H A Dmain.h61 * @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 …]
/linux/drivers/net/wireless/ti/wl12xx/
H A Dscan.c16 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 …]
/linux/drivers/net/wireless/mediatek/mt76/mt7915/
H A Dtestmode.c23 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); \
31 _list.band[1] = MT_##_reg(1, _idx); }
80 .param.freq.band = phy->mt76->band_idx, in mt7915_tm_set_freq_offset()
114 .param.trx.band = phy->mt76->band_idx, in mt7915_tm_set_trx()
129 .param.clean.band = phy->mt76->band_idx, in mt7915_tm_clean_hwq()
147 .param.slot.band = phy->mt76->band_idx, in mt7915_tm_set_slot_time()
201 u8 band = phy->mt76->band_idx; in mt7915_tm_set_ipg_params() local
[all …]
H A Deeprom.c163 u8 band = phy->mt76->band_idx; in mt7915_eeprom_parse_band_config() local
166 val = eeprom[MT_EE_WIFI_CONF + band]; in mt7915_eeprom_parse_band_config()
180 u8p_replace_bits(&eeprom[MT_EE_WIFI_CONF + band], in mt7915_eeprom_parse_band_config()
185 u8p_replace_bits(&eeprom[MT_EE_WIFI_CONF + band], in mt7915_eeprom_parse_band_config()
198 val = band ? MT_EE_BAND_SEL_5GHZ : MT_EE_BAND_SEL_2GHZ; in mt7915_eeprom_parse_band_config()
220 u8 band = phy->mt76->band_idx; in mt7915_eeprom_parse_hw_cap() local
230 eeprom[MT_EE_WIFI_CONF + band]); in mt7915_eeprom_parse_hw_cap()
243 if (band) in mt7915_eeprom_parse_hw_cap()
248 eeprom[MT_EE_WIFI_CONF + 2 + band]); in mt7915_eeprom_parse_hw_cap()
260 if (band && dev->dbdc_support) in mt7915_eeprom_parse_hw_cap()
[all …]
H A Dmac.c324 status->band = mphy->chandef.chan->band; in mt7915_mac_fill_rx()
325 if (status->band == NL80211_BAND_5GHZ) in mt7915_mac_fill_rx()
327 else if (status->band == NL80211_BAND_6GHZ) in mt7915_mac_fill_rx()
607 int band; in mt7915_mac_write_txwi_tm() local
636 band = phy->mt76->chandef.chan->band; in mt7915_mac_write_txwi_tm()
637 if (band == NL80211_BAND_2GHZ && !cck) in mt7915_mac_write_txwi_tm()
640 r = &phy->mt76->hw->wiphy->bands[band]->bitrates[rate_idx]; in mt7915_mac_write_txwi_tm()
1135 u8 band = phy->mt76->band_idx; in mt7915_mac_set_timing() local
1137 bool a_band = !(phy->mt76->chandef.chan->band == NL80211_BAND_2GHZ); in mt7915_mac_set_timing()
1146 mt76_set(dev, MT_ARB_SCR(band), in mt7915_mac_set_timing()
[all …]
/linux/net/openvswitch/
H A Dmeter.c241 struct dp_meter_band *band; in ovs_meter_cmd_reply_stats() local
259 band = meter->bands; in ovs_meter_cmd_reply_stats()
261 for (i = 0; i < meter->n_bands; ++i, ++band) { in ovs_meter_cmd_reply_stats()
267 &band->stats)) in ovs_meter_cmd_reply_stats()
315 /* Currently only DROP band type is supported. */ in ovs_meter_cmd_features()
337 struct dp_meter_band *band; in dp_meter_create() local
365 band = meter->bands; in dp_meter_create()
383 band->type = nla_get_u32(attr[OVS_BAND_ATTR_TYPE]); in dp_meter_create()
384 band->rate = nla_get_u32(attr[OVS_BAND_ATTR_RATE]); in dp_meter_create()
385 if (band->rate == 0) { in dp_meter_create()
[all …]
/linux/drivers/media/radio/si470x/
H A Dradio-si470x-common.c35 * - 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 …]
/linux/sound/soc/codecs/
H A Dmax98090.c99 { 0x46, 0x00 }, /* 46 Equalizer Band 1 Coefficient B0 */
100 { 0x47, 0x00 }, /* 47 Equalizer Band 1 Coefficient B0 */
101 { 0x48, 0x00 }, /* 48 Equalizer Band 1 Coefficient B0 */
102 { 0x49, 0x00 }, /* 49 Equalizer Band 1 Coefficient B1 */
103 { 0x4A, 0x00 }, /* 4A Equalizer Band 1 Coefficient B1 */
104 { 0x4B, 0x00 }, /* 4B Equalizer Band 1 Coefficient B1 */
105 { 0x4C, 0x00 }, /* 4C Equalizer Band 1 Coefficient B2 */
106 { 0x4D, 0x00 }, /* 4D Equalizer Band 1 Coefficient B2 */
107 { 0x4E, 0x00 }, /* 4E Equalizer Band 1 Coefficient B2 */
108 { 0x4F, 0x00 }, /* 4F Equalizer Band 1 Coefficient A1 */
[all …]
/linux/drivers/media/radio/
H A Dradio-raremono.c74 /* 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 …]
H A Dtea575x.c149 switch (tea->band) { in snd_tea575x_val_to_freq()
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()
182 u32 band = 0; in snd_tea575x_set_freq() local
184 switch (tea->band) { in snd_tea575x_set_freq()
186 band = TEA575X_BIT_BAND_FM; in snd_tea575x_set_freq()
194 band = TEA575X_BIT_BAND_FM; in snd_tea575x_set_freq()
202 band = TEA575X_BIT_BAND_MW; in snd_tea575x_set_freq()
209 tea->val |= band; in snd_tea575x_set_freq()
233 struct v4l2_frequency_band *band) in snd_tea575x_enum_freq_bands() argument
[all …]
/linux/drivers/media/v4l2-core/
H A Dv4l2-vp9.c185 { /* Coeff Band 0 */
193 { /* Coeff Band 1 */
201 { /* Coeff Band 2 */
209 { /* Coeff Band 3 */
217 { /* Coeff Band 4 */
225 { /* Coeff Band 5 */
235 { /* Coeff Band 0 */
243 { /* Coeff Band 1 */
251 { /* Coeff Band 2 */
259 { /* Coeff Band 3 */
[all …]
/linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac/
H A Dstf.c31 #define BRCMS_STF_SS_STBC_RX(wlc) (BRCMS_ISNPHY(wlc->band) && \
32 NREV_GT(wlc->band->phyrev, 3) && NREV_LE(wlc->band->phyrev, 6))
67 struct brcms_phy_pub *pi = wlc->band->pi; in brcms_c_tempsense_upd()
101 wlc_phy_txpower_get_current(wlc->band->pi, &power, in brcms_c_stf_ss_algo_channel_get()
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()
239 && NREV_LT(wlc->band->phyrev, 7)) 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()
[all …]
H A Dchannel.c40 /* maxpwr mapping to 5GHz band channels:
90 * by sub-band for 5 GHz limits using CHANNEL_POWER_IDX_5G(channel)
408 struct brcms_band *band; in brcms_c_channel_reg_limits() local
423 band = wlc->bandstate[chspec_bandunit(chanspec)]; in brcms_c_channel_reg_limits()
424 li_mimo = (band->bandtype == BRCM_BAND_5G) ? in brcms_c_channel_reg_limits()
428 delta = band->antgain; in brcms_c_channel_reg_limits()
430 if (band->bandtype == BRCM_BAND_2G) in brcms_c_channel_reg_limits()
437 /* CCK txpwr limits for 2.4G band */ in brcms_c_channel_reg_limits()
438 if (band->bandtype == BRCM_BAND_2G) { in brcms_c_channel_reg_limits()
461 if (band->antgain > QDB(6)) in brcms_c_channel_reg_limits()
[all …]
/linux/drivers/media/tuners/
H A Dmt2266.c33 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()
205 dprintk("set_parms: tune=%d band=%d %s", in mt2266_set_params()
207 (band == MT2266_UHF) ? "UHF" : "VHF"); in mt2266_set_params()
211 if (band == MT2266_UHF) { in mt2266_set_params()
213 b[1] = (priv->band == MT2266_VHF) ? 0x52 : 0x62; in mt2266_set_params()
[all …]
/linux/drivers/platform/x86/amd/
H A Dwbrf.c3 * Wifi Frequency Band Manage Interface
68 * Every input frequency band comes with two end points(start/end) in wbrf_record()
121 * acpi_amd_wbrf_add_remove - add or remove the frequency band the device is using
124 * @action: remove or add the frequency band into bios
125 * @in: input structure containing the frequency band the device is using
127 * Broadcast to other consumers the frequency band the device starts
136 * 0 for success add/remove wifi frequency band.
216 * proper actions if any of the frequency band may cause RFI with its
217 * own frequency band used.
220 * 0 for getting wifi freq band successfully.
[all …]
/linux/Documentation/devicetree/bindings/net/dsa/
H A Dmscc,ocelot.yaml114 managed = "in-band-status";
121 managed = "in-band-status";
128 managed = "in-band-status";
135 managed = "in-band-status";
183 managed = "in-band-status";
190 managed = "in-band-status";
197 managed = "in-band-status";
204 managed = "in-band-status";
211 managed = "in-band-status";
218 managed = "in-band-status";
[all …]
/linux/sound/soc/tegra/
H A Dtegra210_mbdrc.c65 .band = MBDRC_LOW_BAND,
87 /* Band-0 */
90 /* Band-1 */
93 /* Band-2 */
96 /* Band-3 */
99 /* Band-4 */
102 /* Band-5 */
105 /* Band-6 */
108 /* Band-7 */
115 .band
[all...]
/linux/drivers/net/wireless/mediatek/mt76/mt7996/
H A Dregs.h176 /* TMAC: band 0(0x820e4000), band 1(0x820f4000), band 2(0x830e4000) */
197 /* WF DMA TOP: band 0(0x820e7000), band 1(0x820f7000), band 2(0x830e7000) */
207 /* WTBLOFF TOP: band 0(0x820e9000), band 1(0x820f9000), band 2(0x830e9000) */
218 /* ETBF: band 0(0x820ea000), band 1(0x820fa000), band 2(0x830ea000) */
227 /* LPON: band 0(0x820eb000), band 1(0x820fb000), band 2(0x830eb000) */
241 /* MIB: band 0(0x820ed000), band 1(0x820fd000), band 2(0x830ed000)*/
354 /* AGG: band 0(0x820e2000), band 1(0x820f2000), band 2(0x830e2000) */
361 /* ARB: band 0(0x820e3000), band 1(0x820f3000), band 2(0x830e3000) */
369 /* RMAC: band 0(0x820e5000), band 1(0x820f5000), band 2(0x830e5000), */
419 /* RATE: band 0(0x820ee000), band 1(0x820fe000), band 2(0x830ee000) */
[all …]

12345678910>>...33