Searched refs:chainshift (Results 1 – 9 of 9) sorted by relevance
205 mphy->chainmask = (BIT(path) - 1) << dev->chainshift[band_idx]; in mt7996_eeprom_parse_hw_cap()208 dev->chainshift[band_idx + 1] = dev->chainshift[band_idx] + in mt7996_eeprom_parse_hw_cap()
262 u8 chainshift[__MT_MAX_BAND]; member
963 u8 band_idx = phy->mt76->band_idx, shift = dev->chainshift[band_idx]; in mt7996_set_antenna()978 (BIT(dev->chainshift[band_idx + 1] - shift) - 1)) << shift; in mt7996_set_antenna()
3461 .rx_path = mt7996_rx_chainmask(phy) >> dev->chainshift[band_idx], in mt7996_mcu_set_chan_info()
244 mphy->chainmask <<= dev->chainshift; in mt7915_eeprom_parse_hw_cap()247 dev->chainshift = hweight8(dev->mphy.chainmask); in mt7915_eeprom_parse_hw_cap()
1061 u8 chainshift = dev->chainshift; in mt7915_set_antenna() local1074 phy->mt76->chainmask = (dev->chainmask >> chainshift) << chainshift; in mt7915_set_antenna()1076 phy->mt76->chainmask = tx_ant << (chainshift * band); in mt7915_set_antenna()
262 u16 chainshift; member
708 chainmask = ext_phy ? chainmask >> dev->chainshift : chainmask; in mt7915_tm_set_params()
2746 .rx_path = phy->mt76->chainmask >> (dev->chainshift * band), in mt7915_mcu_set_chan_info()