Lines Matching full:band
23 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
236 txv_time = mt76_get_field(dev, MT_TMAC_ATCR(band), in mt7915_tm_set_ipg_params()
243 mt76_set(dev, MT_TMAC_TRCR0(band), in mt7915_tm_set_ipg_params()
274 if (mphy->chandef.chan->band == NL80211_BAND_5GHZ) in mt7915_tm_set_tx_len()
276 else if (mphy->chandef.chan->band == NL80211_BAND_6GHZ) in mt7915_tm_set_tx_len()
340 u8 band = phy->mt76->band_idx; in mt7915_tm_reg_backup_restore() local
363 mt76_wr(dev, reg_backup_list[i].band[band], b[i]); in mt7915_tm_reg_backup_restore()
374 b[i] = mt76_rr(dev, reg_backup_list[i].band[band]); in mt7915_tm_reg_backup_restore()
377 mt76_clear(dev, MT_AGG_PCR0(band, 0), MT_AGG_PCR0_MM_PROT | in mt7915_tm_reg_backup_restore()
381 mt76_set(dev, MT_AGG_PCR0(band, 0), MT_AGG_PCR0_PTA_WIN_DIS); in mt7915_tm_reg_backup_restore()
383 mt76_wr(dev, MT_AGG_PCR0(band, 1), MT_AGG_PCR1_RTS0_NUM_THRES | in mt7915_tm_reg_backup_restore()
386 mt76_clear(dev, MT_AGG_MRCR(band), MT_AGG_MRCR_BAR_CNT_LIMIT | in mt7915_tm_reg_backup_restore()
390 mt76_rmw(dev, MT_AGG_MRCR(band), MT_AGG_MRCR_RTS_FAIL_LIMIT | in mt7915_tm_reg_backup_restore()
395 mt76_wr(dev, MT_TMAC_TFCR0(band), 0); in mt7915_tm_reg_backup_restore()
396 mt76_clear(dev, MT_TMAC_TCR0(band), MT_TMAC_TCR0_TBTT_STOP_CTRL); in mt7915_tm_reg_backup_restore()
399 mt76_wr(dev, MT_WF_RFCR(band), 0xcf70a); in mt7915_tm_reg_backup_restore()
400 mt76_wr(dev, MT_WF_RFCR1(band), 0); in mt7915_tm_reg_backup_restore()
522 u8 band = phy->mt76->band_idx; in mt7915_tm_set_tx_cont() local
534 tx_cont->band = band; in mt7915_tm_set_tx_cont()
566 req.op.rf.param.func_data = cpu_to_le32(band); in mt7915_tm_set_tx_cont()
574 if (chandef->chan->band == NL80211_BAND_5GHZ) in mt7915_tm_set_tx_cont()
576 else if (chandef->chan->band == NL80211_BAND_6GHZ) in mt7915_tm_set_tx_cont()