Lines Matching refs:band_idx
40 mt7996_mac_enable_nf(dev, phy->mt76->band_idx); in mt7996_run()
170 u8 band_idx = phy->mt76->band_idx; in mt7996_add_interface() local
192 mvif->mt76.band_idx = band_idx; in mt7996_add_interface()
207 mvif->sta.wcid.phy_idx = band_idx; in mt7996_add_interface()
401 mt76_rmw_field(dev, MT_DMA_DCR0(phy->mt76->band_idx), in mt7996_config()
403 mt76_wr(dev, MT_WF_RFCR(phy->mt76->band_idx), phy->rxfilter); in mt7996_config()
477 mt76_wr(dev, MT_WF_RFCR(phy->mt76->band_idx), phy->rxfilter); in mt7996_configure_filter()
480 mt76_clear(dev, MT_WF_RFCR1(phy->mt76->band_idx), ctl_flags); in mt7996_configure_filter()
482 mt76_set(dev, MT_WF_RFCR1(phy->mt76->band_idx), ctl_flags); in mt7996_configure_filter()
545 u8 band = mvif->mt76.band_idx; in mt7996_update_mu_group()
655 u8 band_idx = mvif->phy->mt76->band_idx; in mt7996_mac_sta_add() local
667 msta->wcid.phy_idx = band_idx; in mt7996_mac_sta_add()
853 mt76_rmw(dev, MT_LPON_TCR(phy->mt76->band_idx, n), MT_LPON_TCR_SW_MODE, in __mt7996_get_tsf()
855 tsf.t32[0] = mt76_rr(dev, MT_LPON_UTTR0(phy->mt76->band_idx)); in __mt7996_get_tsf()
856 tsf.t32[1] = mt76_rr(dev, MT_LPON_UTTR1(phy->mt76->band_idx)); in __mt7996_get_tsf()
892 mt76_wr(dev, MT_LPON_UTTR0(phy->mt76->band_idx), tsf.t32[0]); in mt7996_set_tsf()
893 mt76_wr(dev, MT_LPON_UTTR1(phy->mt76->band_idx), tsf.t32[1]); in mt7996_set_tsf()
895 mt76_rmw(dev, MT_LPON_TCR(phy->mt76->band_idx, n), MT_LPON_TCR_SW_MODE, in mt7996_set_tsf()
918 mt76_wr(dev, MT_LPON_UTTR0(phy->mt76->band_idx), tsf.t32[0]); in mt7996_offset_tsf()
919 mt76_wr(dev, MT_LPON_UTTR1(phy->mt76->band_idx), tsf.t32[1]); in mt7996_offset_tsf()
921 mt76_rmw(dev, MT_LPON_TCR(phy->mt76->band_idx, n), MT_LPON_TCR_SW_MODE, in mt7996_offset_tsf()
945 u8 band_idx = phy->mt76->band_idx, shift = dev->chainshift[band_idx]; in mt7996_set_antenna() local
958 if (hweight8(tx_ant) == max_nss && band_idx < MT_BAND2) in mt7996_set_antenna()
960 (BIT(dev->chainshift[band_idx + 1] - shift) - 1)) << shift; in mt7996_set_antenna()