Lines Matching refs:band_idx
471 u8 remove_pad, amsdu_info, band_idx; in mt7996_mac_fill_rx() local
481 band_idx = FIELD_GET(MT_RXD1_NORMAL_BAND_IDX, rxd1); in mt7996_mac_fill_rx()
482 mphy = dev->mt76.phys[band_idx]; in mt7996_mac_fill_rx()
484 status->phy_idx = mphy->band_idx; in mt7996_mac_fill_rx()
837 u8 band_idx = (info->hw_queue & MT_TX_HW_QUEUE_PHY) >> 2; in mt7996_mac_write_txwi() local
852 band_idx = mvif->band_idx; in mt7996_mac_write_txwi()
878 if (band_idx) in mt7996_mac_write_txwi()
879 val |= FIELD_PREP(MT_TXD1_TGID, band_idx); in mt7996_mac_write_txwi()
1416 u32 reg = MT_WF_PHYRX_BAND_RX_CTRL1(phy->mt76->band_idx); in mt7996_mac_cca_stats_reset()
1425 u8 band_idx = phy->mt76->band_idx; in mt7996_mac_reset_counters() local
1429 mt76_rr(dev, MT_TX_AGG_CNT(band_idx, i)); in mt7996_mac_reset_counters()
1436 mt76_set(dev, MT_WF_RMAC_MIB_AIRTIME0(band_idx), in mt7996_mac_reset_counters()
1453 u8 band_idx = phy->mt76->band_idx; in mt7996_mac_set_coverage_class() local
1471 mt76_wr(dev, MT_TMAC_CDTR(band_idx), cck + reg_offset); in mt7996_mac_set_coverage_class()
1472 mt76_wr(dev, MT_TMAC_ODTR(band_idx), ofdm + reg_offset); in mt7996_mac_set_coverage_class()
1486 mt7996_phy_get_nf(struct mt7996_phy *phy, u8 band_idx) in mt7996_phy_get_nf() argument
1494 u32 reg = MT_WF_PHYRX_CSD_IRPI(band_idx, ant); in mt7996_phy_get_nf()
1514 nf = mt7996_phy_get_nf(phy, mphy->band_idx); in mt7996_update_channel()
2006 u8 band_idx = phy->mt76->band_idx; in mt7996_mac_update_stats() local
2010 cnt = mt76_rr(dev, MT_MIB_RSCR1(band_idx)); in mt7996_mac_update_stats()
2013 cnt = mt76_rr(dev, MT_MIB_RSCR33(band_idx)); in mt7996_mac_update_stats()
2016 cnt = mt76_rr(dev, MT_MIB_RSCR31(band_idx)); in mt7996_mac_update_stats()
2019 cnt = mt76_rr(dev, MT_MIB_SDR6(band_idx)); in mt7996_mac_update_stats()
2022 cnt = mt76_rr(dev, MT_MIB_RVSR0(band_idx)); in mt7996_mac_update_stats()
2025 cnt = mt76_rr(dev, MT_MIB_RSCR35(band_idx)); in mt7996_mac_update_stats()
2028 cnt = mt76_rr(dev, MT_MIB_RSCR36(band_idx)); in mt7996_mac_update_stats()
2031 cnt = mt76_rr(dev, MT_MIB_TSCR0(band_idx)); in mt7996_mac_update_stats()
2034 cnt = mt76_rr(dev, MT_MIB_TSCR2(band_idx)); in mt7996_mac_update_stats()
2037 cnt = mt76_rr(dev, MT_MIB_TSCR3(band_idx)); in mt7996_mac_update_stats()
2040 cnt = mt76_rr(dev, MT_MIB_TSCR4(band_idx)); in mt7996_mac_update_stats()
2043 cnt = mt76_rr(dev, MT_MIB_RSCR27(band_idx)); in mt7996_mac_update_stats()
2046 cnt = mt76_rr(dev, MT_MIB_RSCR28(band_idx)); in mt7996_mac_update_stats()
2049 cnt = mt76_rr(dev, MT_MIB_RSCR29(band_idx)); in mt7996_mac_update_stats()
2052 cnt = mt76_rr(dev, MT_MIB_RSCR30(band_idx)); in mt7996_mac_update_stats()
2055 cnt = mt76_rr(dev, MT_MIB_SDR27(band_idx)); in mt7996_mac_update_stats()
2058 cnt = mt76_rr(dev, MT_MIB_SDR28(band_idx)); in mt7996_mac_update_stats()
2061 cnt = mt76_rr(dev, MT_UMIB_RPDCR(band_idx)); in mt7996_mac_update_stats()
2064 cnt = mt76_rr(dev, MT_MIB_RVSR1(band_idx)); in mt7996_mac_update_stats()
2067 cnt = mt76_rr(dev, MT_MIB_TSCR1(band_idx)); in mt7996_mac_update_stats()
2070 cnt = mt76_rr(dev, MT_MIB_BSCR0(band_idx)); in mt7996_mac_update_stats()
2073 cnt = mt76_rr(dev, MT_MIB_BSCR1(band_idx)); in mt7996_mac_update_stats()
2076 cnt = mt76_rr(dev, MT_MIB_BSCR2(band_idx)); in mt7996_mac_update_stats()
2079 cnt = mt76_rr(dev, MT_MIB_TSCR5(band_idx)); in mt7996_mac_update_stats()
2082 cnt = mt76_rr(dev, MT_MIB_TSCR6(band_idx)); in mt7996_mac_update_stats()
2085 cnt = mt76_rr(dev, MT_MIB_TSCR7(band_idx)); in mt7996_mac_update_stats()
2088 cnt = mt76_rr(dev, MT_MIB_BSCR3(band_idx)); in mt7996_mac_update_stats()
2092 cnt = mt76_rr(dev, MT_MIB_BSCR4(band_idx)); in mt7996_mac_update_stats()
2096 cnt = mt76_rr(dev, MT_MIB_BSCR5(band_idx)); in mt7996_mac_update_stats()
2100 cnt = mt76_rr(dev, MT_MIB_BSCR6(band_idx)); in mt7996_mac_update_stats()
2104 cnt = mt76_rr(dev, MT_ETBF_RX_FB_CONT(band_idx)); in mt7996_mac_update_stats()
2109 cnt = mt76_rr(dev, MT_MIB_BSCR7(band_idx)); in mt7996_mac_update_stats()
2112 cnt = mt76_rr(dev, MT_MIB_BSCR17(band_idx)); in mt7996_mac_update_stats()
2122 cnt = mt76_rr(dev, MT_MIB_BTSCR5(band_idx)); in mt7996_mac_update_stats()
2126 cnt = mt76_rr(dev, MT_MIB_BTSCR6(band_idx)); in mt7996_mac_update_stats()
2130 cnt = mt76_rr(dev, MT_MIB_BTSCR0(band_idx)); in mt7996_mac_update_stats()
2134 cnt = mt76_rr(dev, MT_MIB_BFTFCR(band_idx)); in mt7996_mac_update_stats()
2138 cnt = mt76_rr(dev, MT_TX_AGG_CNT(band_idx, i)); in mt7996_mac_update_stats()
2246 u8 band_idx = phy->mt76->band_idx; in mt7996_dfs_start_radar_detector() local
2250 err = mt7996_mcu_rdd_cmd(dev, RDD_CAC_START, band_idx, in mt7996_dfs_start_radar_detector()
2255 err = mt7996_dfs_start_rdd(dev, band_idx); in mt7996_dfs_start_radar_detector()
2259 phy->rdd_state |= BIT(band_idx); in mt7996_dfs_start_radar_detector()
2341 phy->mt76->band_idx, MT_RX_SEL0, 0); in mt7996_dfs_init_radar_detector()
2352 phy->mt76->band_idx, MT_RX_SEL0, 0); in mt7996_dfs_init_radar_detector()