Home
last modified time | relevance | path

Searched refs:band_idx (Results 1 – 25 of 48) sorted by relevance

12

/linux/drivers/net/wireless/mediatek/mt76/mt7925/
H A Ddebugfs.c70 s8 val[][2], int len, u8 band_idx) in mt7925_seq_puts_array() argument
76 if (val[i][band_idx] == 127) in mt7925_seq_puts_array()
79 seq_printf(file, " %6d", val[i][band_idx]); in mt7925_seq_puts_array()
92 mt7925_eht_txpwr(struct seq_file *s, struct mt7925_txpwr *txpwr, u8 band_idx) in mt7925_eht_txpwr() argument
98 mt7925_print_txpwr_entry(EHT26, eht26, band_idx); in mt7925_eht_txpwr()
99 mt7925_print_txpwr_entry(EHT52, eht52, band_idx); in mt7925_eht_txpwr()
100 mt7925_print_txpwr_entry(EHT106, eht106, band_idx); in mt7925_eht_txpwr()
101 mt7925_print_txpwr_entry(EHT242, eht242, band_idx); in mt7925_eht_txpwr()
102 mt7925_print_txpwr_entry(EHT484, eht484, band_idx); in mt7925_eht_txpwr()
104 mt7925_print_txpwr_entry(EHT996, eht996, band_idx); in mt7925_eht_txpwr()
[all …]
H A Dmcu.c318 mvif->band_idx = grant->dbdcband; in mt7925_mcu_roc_iter()
1949 int mt7925_get_txpwr_info(struct mt792x_dev *dev, u8 band_idx, struct mt7925_txpwr *txpwr) in mt7925_get_txpwr_info() argument
1958 .band_idx = band_idx, in mt7925_get_txpwr_info()
1983 u8 band_idx; in mt7925_mcu_set_sniffer() member
1994 .band_idx = mvif->bss_conf.mt76.band_idx, in mt7925_mcu_set_sniffer()
2035 u8 band_idx; in mt7925_mcu_config_sniffer() member
2053 .band_idx = vif->bss_conf.mt76.band_idx, in mt7925_mcu_config_sniffer()
2354 basic_req->band_idx = mconf->mt76.band_idx; in mt7925_mcu_bss_basic_tlv()
2681 hdr->seq_num = mvif->scan_seq_num | mvif->band_idx << 7; in mt7925_mcu_hw_scan()
2796 hdr->seq_num = mvif->scan_seq_num | mvif->band_idx << 7; in mt7925_mcu_sched_scan_req()
[all …]
/linux/sound/soc/codecs/
H A Dmsm8916-wcd-digital.c216 .band_idx = bidx, \
223 unsigned int band_idx; member
379 int iir_idx, int band_idx, in get_iir_band_coeff() argument
387 ((band_idx * BAND_MAX + coeff_idx) in get_iir_band_coeff()
395 ((band_idx * BAND_MAX + coeff_idx) in get_iir_band_coeff()
403 ((band_idx * BAND_MAX + coeff_idx) in get_iir_band_coeff()
411 ((band_idx * BAND_MAX + coeff_idx) in get_iir_band_coeff()
432 int band_idx = ctl->band_idx; in msm8x16_wcd_get_iir_band_audio_mixer() local
435 coeff[0] = get_iir_band_coeff(component, iir_idx, band_idx, in msm8x16_wcd_get_iir_band_audio_mixer()
447 set_iir_band_coeff(struct snd_soc_component * component,int iir_idx,int band_idx,uint32_t value) set_iir_band_coeff() argument
478 int band_idx = ctl->band_idx; msm8x16_wcd_put_iir_band_audio_mixer() local
[all...]
H A Dlpass-rx-macro.c603 .band_idx = bidx, \
671 unsigned int band_idx; member
2880 int iir_idx, int band_idx, int coeff_idx) in get_iir_band_coeff() argument
2890 ((band_idx * BAND_MAX + coeff_idx) * in get_iir_band_coeff()
2895 ((band_idx * BAND_MAX + coeff_idx) in get_iir_band_coeff()
2900 ((band_idx * BAND_MAX + coeff_idx) in get_iir_band_coeff()
2905 ((band_idx * BAND_MAX + coeff_idx) in get_iir_band_coeff()
2914 int iir_idx, int band_idx, uint32_t value) in set_iir_band_coeff() argument
2935 int band_idx = ctl->band_idx; in rx_macro_put_iir_band_audio_mixer() local
2964 int band_idx = ctl->band_idx; rx_macro_get_iir_band_audio_mixer() local
[all...]
H A Dwcd934x.c130 .band_idx = bidx, \
577 unsigned int band_idx; member
3107 int iir_idx, int band_idx, int coeff_idx) in get_iir_band_coeff() argument
3117 ((band_idx * BAND_MAX + coeff_idx) * in get_iir_band_coeff()
3122 ((band_idx * BAND_MAX + coeff_idx) in get_iir_band_coeff()
3127 ((band_idx * BAND_MAX + coeff_idx) in get_iir_band_coeff()
3132 ((band_idx * BAND_MAX + coeff_idx) in get_iir_band_coeff()
3141 int iir_idx, int band_idx, uint32_t value) in set_iir_band_coeff() argument
3162 int band_idx = ctl->band_idx; in wcd934x_put_iir_band_audio_mixer() local
3191 int band_idx = ctl->band_idx; wcd934x_get_iir_band_audio_mixer() local
[all...]
/linux/drivers/net/wireless/mediatek/mt76/mt7996/
H A Dmac.c443 u8 remove_pad, amsdu_info, band_idx; in mt7996_mac_fill_rx() local
456 band_idx = FIELD_GET(MT_RXD1_NORMAL_BAND_IDX, rxd1); in mt7996_mac_fill_rx()
457 mphy = dev->mt76.phys[band_idx]; in mt7996_mac_fill_rx()
459 status->phy_idx = mphy->band_idx; in mt7996_mac_fill_rx()
824 u8 band_idx = (info->hw_queue & MT_TX_HW_QUEUE_PHY) >> 2; in mt7996_mac_write_txwi() local
839 band_idx = mvif->band_idx; in mt7996_mac_write_txwi()
865 if (band_idx) in mt7996_mac_write_txwi()
866 val |= FIELD_PREP(MT_TXD1_TGID, band_idx); in mt7996_mac_write_txwi()
1467 u32 reg = MT_WF_PHYRX_BAND_RX_CTRL1(phy->mt76->band_idx); in mt7996_mac_cca_stats_reset()
1476 u8 band_idx = phy->mt76->band_idx; in mt7996_mac_reset_counters() local
[all …]
H A Deeprom.c127 switch (phy->mt76->band_idx) { in mt7996_eeprom_parse_band_config()
160 u8 path, rx_path, nss, band_idx = phy->mt76->band_idx; in mt7996_eeprom_parse_hw_cap() local
166 switch (band_idx) { in mt7996_eeprom_parse_hw_cap()
205 mphy->chainmask = (BIT(path) - 1) << dev->chainshift[band_idx]; in mt7996_eeprom_parse_hw_cap()
207 if (band_idx < MT_BAND2) in mt7996_eeprom_parse_hw_cap()
208 dev->chainshift[band_idx + 1] = dev->chainshift[band_idx] + in mt7996_eeprom_parse_hw_cap()
H A Dmain.c48 mt7996_mac_enable_nf(dev, phy->mt76->band_idx); in mt7996_run()
186 u8 band_idx = phy->mt76->band_idx; in mt7996_add_interface() local
208 mvif->mt76.band_idx = band_idx; in mt7996_add_interface()
223 mvif->sta.wcid.phy_idx = band_idx; in mt7996_add_interface()
427 mt76_rmw_field(dev, MT_DMA_DCR0(phy->mt76->band_idx), in mt7996_config()
429 mt76_wr(dev, MT_WF_RFCR(phy->mt76->band_idx), phy->rxfilter); in mt7996_config()
503 mt76_wr(dev, MT_WF_RFCR(phy->mt76->band_idx), phy->rxfilter); in mt7996_configure_filter()
506 mt76_clear(dev, MT_WF_RFCR1(phy->mt76->band_idx), ctl_flags); in mt7996_configure_filter()
508 mt76_set(dev, MT_WF_RFCR1(phy->mt76->band_idx), ctl_flags); in mt7996_configure_filter()
551 idx = MT7996_BEACON_RATES_TBL + 2 * phy->mt76->band_idx; in mt7996_get_rates_table()
[all …]
H A Dmcu.c355 if (r->band_idx >= ARRAY_SIZE(dev->mt76.phys)) in mt7996_mcu_rx_radar_detected()
358 if (r->band_idx == MT_RX_SEL2 && !dev->rdd2_phy) in mt7996_mcu_rx_radar_detected()
361 if (r->band_idx == MT_RX_SEL2) in mt7996_mcu_rx_radar_detected()
364 mphy = dev->mt76.phys[r->band_idx]; in mt7996_mcu_rx_radar_detected()
369 if (r->band_idx == MT_RX_SEL2) in mt7996_mcu_rx_radar_detected()
581 if (n->band_idx > MT_BAND2) in mt7996_mcu_rx_thermal_notify()
584 mphy = dev->mt76.phys[n->band_idx]; in mt7996_mcu_rx_thermal_notify()
926 .hdr.band = phy->mt76->band_idx, in mt7996_mcu_muar_config()
1026 bss->band_idx = mvif->band_idx; in mt7996_mcu_bss_basic_tlv()
2386 u8 band_idx; in mt7996_mcu_add_dev_info() member
[all …]
H A Dmcu.h35 u8 band_idx; member
60 u8 band_idx; member
72 u8 band_idx; member
144 u8 band_idx; /* DBDC */ member
270 u8 band_idx; member
H A Ddebugfs.c56 bool band = phy->mt76->band_idx; in mt7996_sys_recovery_set()
454 u8 band_idx = phy->mt76->band_idx; in mt7996_ampdu_stat_read_phy() local
458 range[i] = mt76_rr(dev, MT_MIB_ARNG(band_idx, i)); in mt7996_ampdu_stat_read_phy()
464 wiphy_name(phy->mt76->hw->wiphy), band_idx); in mt7996_ampdu_stat_read_phy()
H A Dinit.c237 mt76_rmw_field(dev, MT_TMAC_TCR0(mphy->band_idx), MT_TMAC_TCR0_TX_BLINK, 2); in mt7996_led_set_config()
240 mt76_wr(dev, MT_LED_EN(mphy->band_idx), 1); in mt7996_led_set_config()
245 mt76_wr(dev, MT_LED_TX_BLINK(mphy->band_idx), val); in mt7996_led_set_config()
253 if (mphy->band_idx == MT_BAND1) in mt7996_led_set_config()
260 mt76_wr(dev, MT_LED_CTRL(mphy->band_idx), val); in mt7996_led_set_config()
261 mt76_clear(dev, MT_LED_CTRL(mphy->band_idx), MT_LED_CTRL_KICK); in mt7996_led_set_config()
/linux/drivers/net/wireless/mediatek/mt76/mt7915/
H A Dmcu.c246 if (c->band_idx > MT_BAND1) in mt7915_mcu_rx_csa_notify()
249 if ((c->band_idx && !dev->phy.mt76->band_idx) && in mt7915_mcu_rx_csa_notify()
269 if (t->ctrl.band_idx > MT_BAND1) in mt7915_mcu_rx_thermal_notify()
272 if ((t->ctrl.band_idx && !dev->phy.mt76->band_idx) && in mt7915_mcu_rx_thermal_notify()
288 if (r->band_idx > MT_RX_SEL2) in mt7915_mcu_rx_radar_detected()
291 if ((r->band_idx && !dev->phy.mt76->band_idx) && in mt7915_mcu_rx_radar_detected()
295 if (r->band_idx == MT_RX_SEL2) in mt7915_mcu_rx_radar_detected()
349 if (b->band_idx > MT_BAND1) in mt7915_mcu_rx_bcc_notify()
352 if ((b->band_idx && !dev->phy.mt76->band_idx) && in mt7915_mcu_rx_bcc_notify()
631 .band = phy->mt76->band_idx, in mt7915_mcu_muar_config()
[all …]
H A Dtestmode.c47 u8 band_idx; in mt7915_tm_set_tx_power() member
54 .band_idx = phy->mt76->band_idx, in mt7915_tm_set_tx_power()
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()
340 u8 band = phy->mt76->band_idx; in mt7915_tm_reg_backup_restore()
495 mt76_rr(dev, MT_MIB_SDR3(phy->mt76->band_idx)); in mt7915_tm_set_rx_frames()
522 u8 band = phy->mt76->band_idx; in mt7915_tm_set_tx_cont()
[all …]
H A Dmcu.h18 u8 band_idx; member
44 u8 band_idx; member
51 u8 band_idx; member
60 u8 band_idx; member
126 u8 band_idx; /* DBDC */ member
135 u8 band_idx; member
190 u8 band_idx; member
H A Dmain.c34 dev->phy.mt76->band_idx, 0); in mt7915_run()
38 ret = mt7915_mcu_set_mac(dev, dev->phy.mt76->band_idx, in mt7915_run()
43 mt7915_mac_enable_nf(dev, dev->phy.mt76->band_idx); in mt7915_run()
48 phy->mt76->band_idx, 0); in mt7915_run()
52 ret = mt7915_mcu_set_mac(dev, phy->mt76->band_idx, in mt7915_run()
57 mt7915_mac_enable_nf(dev, phy->mt76->band_idx); in mt7915_run()
72 phy->mt76->band_idx); in mt7915_run()
125 mt76_connac_mcu_set_pm(&dev->mt76, phy->mt76->band_idx, 1); in mt7915_stop()
126 mt7915_mcu_set_mac(dev, phy->mt76->band_idx, false, false); in mt7915_stop()
130 mt76_connac_mcu_set_pm(&dev->mt76, dev->phy.mt76->band_idx, 1); in mt7915_stop()
[all …]
H A Ddma.c303 if (!dev->phy.mt76->band_idx) in mt7915_dma_start()
306 if (dev->dbdc_support || dev->phy.mt76->band_idx) in mt7915_dma_start()
445 MT_TXQ_ID(dev->phy.mt76->band_idx), in mt7915_dma_init()
453 MT_TXQ_ID(phy2->mt76->band_idx), in mt7915_dma_init()
510 if (!dev->phy.mt76->band_idx) { in mt7915_dma_init()
549 if (dev->dbdc_support || dev->phy.mt76->band_idx) { in mt7915_dma_init()
H A Dmac.c307 if ((rxd1 & MT_RXD1_NORMAL_BAND_IDX) && !phy->mt76->band_idx) { in mt7915_mac_fill_rx()
575 u8 band_idx; in mt7915_mac_fill_rx_vector() local
580 band_idx = le32_get_bits(rxv_hdr[1], MT_RXV_HDR_BAND_IDX); in mt7915_mac_fill_rx_vector()
581 if (band_idx && !phy->mt76->band_idx) { in mt7915_mac_fill_rx_vector()
1129 u32 reg = MT_WF_PHY_RX_CTRL1(phy->mt76->band_idx); in mt7915_mac_cca_stats_reset()
1141 mt76_rr(dev, MT_TX_AGG_CNT(phy->mt76->band_idx, i)); in mt7915_mac_reset_counters()
1142 mt76_rr(dev, MT_TX_AGG_CNT2(phy->mt76->band_idx, i)); in mt7915_mac_reset_counters()
1149 mt76_set(dev, MT_WF_RMAC_MIB_AIRTIME0(phy->mt76->band_idx), in mt7915_mac_reset_counters()
1165 u8 band = phy->mt76->band_idx; in mt7915_mac_set_timing()
1263 nf = mt7915_phy_get_nf(phy, phy->mt76->band_idx); in mt7915_update_channel()
[all …]
H A Dinit.c235 mt76_wr(dev, MT_LED_STATUS_0(mphy->band_idx), val); in mt7915_led_set_config()
236 mt76_wr(dev, MT_LED_STATUS_1(mphy->band_idx), val); in mt7915_led_set_config()
239 mt76_wr(dev, MT_LED_EN(mphy->band_idx), 1); in mt7915_led_set_config()
245 if (mphy->band_idx) in mt7915_led_set_config()
248 mt76_wr(dev, MT_LED_CTRL(mphy->band_idx), val); in mt7915_led_set_config()
249 mt76_clear(dev, MT_LED_CTRL(mphy->band_idx), MT_LED_CTRL_KICK); in mt7915_led_set_config()
666 phy->mt76->band_idx = 1; in mt7915_alloc_ext_phy()
783 dev->phy.mt76->band_idx = 0; in mt7915_band_config()
794 dev->phy.mt76->band_idx = 1; in mt7915_band_config()
H A Deeprom.c158 u8 band = phy->mt76->band_idx; in mt7915_eeprom_parse_band_config()
203 u8 band = phy->mt76->band_idx; in mt7915_eeprom_parse_hw_cap()
H A Ddebugfs.c54 bool band = phy->mt76->band_idx; in mt7915_sys_recovery_set()
688 u8 band = phy->mt76->band_idx; in mt7915_ampdu_stat_read_phy()
980 u8 band = phy->mt76->band_idx; in mt7915_rate_txpower_get()
1059 .band_idx = phy->mt76->band_idx, in mt7915_rate_txpower_set()
1241 if (!dev->dbdc_support || phy->mt76->band_idx) { in mt7915_init_debugfs()
/linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac/
H A Dchannel.c745 int band_idx, i; in brcms_c_regd_init() local
748 for (band_idx = 0; band_idx < wlc->pub->_nbands; band_idx++) { in brcms_c_regd_init()
749 band = wlc->bandstate[band_idx]; in brcms_c_regd_init()
754 if (band_idx == BAND_2G_INDEX) in brcms_c_regd_init()
/linux/drivers/net/wireless/mediatek/mt76/mt7615/
H A Dmcu.c391 if (r->band_idx && dev->mt76.phys[MT_BAND1]) in mt7615_mcu_rx_radar_detected()
498 u8 band_idx = 0; /* DBDC support */ in mt7615_mcu_beacon_loss_event() local
502 if (band_idx && dev->mt76.phys[MT_BAND1]) in mt7615_mcu_beacon_loss_event()
518 u8 band_idx = 0; /* DBDC support */ in mt7615_mcu_bss_event() local
523 if (band_idx && dev->mt76.phys[MT_BAND1]) in mt7615_mcu_bss_event()
631 u8 band_idx; in mt7615_mcu_add_dev() member
640 u8 band_idx; in mt7615_mcu_add_dev() member
646 .band_idx = mvif->mt76.band_idx, in mt7615_mcu_add_dev()
654 .band_idx = mvif->mt76.band_idx, in mt7615_mcu_add_dev()
679 u8 band_idx; in mt7615_mcu_add_beacon_offload() member
[all …]
/linux/drivers/net/wireless/mediatek/mt76/mt7921/
H A Dmcu.c866 u8 band_idx; in mt7921_mcu_set_chan_info() member
882 .band_idx = phy != &dev->phy, in mt7921_mcu_set_chan_info()
1128 u8 band_idx; in mt7921_mcu_set_sniffer() member
1139 .band_idx = mvif->band_idx, in mt7921_mcu_set_sniffer()
1175 u8 band_idx; in mt7921_mcu_config_sniffer() member
1193 .band_idx = vif->bss_conf.mt76.band_idx, in mt7921_mcu_config_sniffer()
1416 u8 band_idx; in mt7921_mcu_get_temperature() member
1420 .band_idx = phy->mt76->band_idx, in mt7921_mcu_get_temperature()
/linux/drivers/net/wireless/mediatek/mt76/
H A Dmac80211.c485 const struct ieee80211_ops *ops, u8 band_idx) in mt76_alloc_phy() argument
500 phy->band_idx = band_idx; in mt76_alloc_phy()
560 phy->dev->phys[phy->band_idx] = phy; in mt76_register_phy()
577 dev->phys[phy->band_idx] = NULL; in mt76_unregister_phy()
653 phy->band_idx = MT_BAND0; in mt76_alloc_device()
654 dev->phys[phy->band_idx] = phy; in mt76_alloc_device()
1465 if (phy->band_idx == MT_BAND1) in mt76_sta_add()
1467 wcid->phy_idx = phy->band_idx; in mt76_sta_add()

12