Home
last modified time | relevance | path

Searched refs:is_2ghz (Results 1 – 5 of 5) sorted by relevance

/Linux-v6.1/drivers/net/wireless/ath/carl9170/
Dphy.c406 static u32 carl9170_def_val(u32 reg, bool is_2ghz, bool is_40mhz) in carl9170_def_val() argument
413 if (is_2ghz) { in carl9170_def_val()
433 bool is_2ghz, bool is_40mhz) in carl9170_init_phy_from_eeprom() argument
440 struct ar9170_eeprom_modal *m = &ar->eeprom.modal_header[is_2ghz]; in carl9170_init_phy_from_eeprom()
460 is_2ghz, is_40mhz); in carl9170_init_phy_from_eeprom()
466 val = carl9170_def_val(AR9170_PHY_REG_DESIRED_SZ, is_2ghz, is_40mhz); in carl9170_init_phy_from_eeprom()
472 val = carl9170_def_val(AR9170_PHY_REG_RF_CTL4, is_2ghz, is_40mhz); in carl9170_init_phy_from_eeprom()
480 val = carl9170_def_val(AR9170_PHY_REG_RF_CTL3, is_2ghz, is_40mhz); in carl9170_init_phy_from_eeprom()
485 val = carl9170_def_val(0x1c8864, is_2ghz, is_40mhz); in carl9170_init_phy_from_eeprom()
490 val = carl9170_def_val(AR9170_PHY_REG_RXGAIN, is_2ghz, is_40mhz); in carl9170_init_phy_from_eeprom()
[all …]
/Linux-v6.1/drivers/net/wireless/mediatek/mt76/mt76x0/
Deeprom.c156 bool is_2ghz = chan->band == NL80211_BAND_2GHZ; in mt76x0_get_tx_power_per_rate() local
168 addr = is_2ghz ? MT_EE_TX_POWER_BYRATE_BASE + 2 : 0x120; in mt76x0_get_tx_power_per_rate()
174 addr = is_2ghz ? MT_EE_TX_POWER_BYRATE_BASE + 4 : 0x122; in mt76x0_get_tx_power_per_rate()
180 addr = is_2ghz ? MT_EE_TX_POWER_BYRATE_BASE + 6 : 0x124; in mt76x0_get_tx_power_per_rate()
186 addr = is_2ghz ? MT_EE_TX_POWER_BYRATE_BASE + 8 : 0x126; in mt76x0_get_tx_power_per_rate()
192 addr = is_2ghz ? MT_EE_TX_POWER_BYRATE_BASE + 14 : 0xec; in mt76x0_get_tx_power_per_rate()
198 addr = is_2ghz ? MT_EE_TX_POWER_BYRATE_BASE + 16 : 0xee; in mt76x0_get_tx_power_per_rate()
/Linux-v6.1/drivers/net/wireless/ath/ath9k/
Dar9003_eeprom.h364 u8 *ar9003_get_spur_chan_ptr(struct ath_hw *ah, bool is_2ghz);
Dxmit.c1196 bool is_2ghz; in ath_get_rate_txpower() local
1199 is_2ghz = info->band == NL80211_BAND_2GHZ; in ath_get_rate_txpower()
1200 pmodal = &eep->modalHeader[is_2ghz]; in ath_get_rate_txpower()
/Linux-v6.1/drivers/net/wireless/mediatek/mt76/mt7921/
Dmac.c758 bool is_2ghz = phy->mt76->chandef.chan->band == NL80211_BAND_2GHZ; in mt7921_mac_set_timing() local
759 int sifs = is_2ghz ? 10 : 16, offset; in mt7921_mac_set_timing()
780 if (phy->slottime < 20 || !is_2ghz) in mt7921_mac_set_timing()