Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath9k/
Dar9003_eeprom.h364 u8 *ar9003_get_spur_chan_ptr(struct ath_hw *ah, bool is_2ghz);
Dxmit.c1155 bool is_2ghz; in ath_get_rate_txpower() local
1158 is_2ghz = info->band == NL80211_BAND_2GHZ; in ath_get_rate_txpower()
1159 pmodal = &eep->modalHeader[is_2ghz]; in ath_get_rate_txpower()