Home
last modified time | relevance | path

Searched refs:pwr_idx (Results 1 – 7 of 7) sorted by relevance

/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/
Dphy.c1266 static void _rtl92ee_set_txpower_index(struct ieee80211_hw *hw, u8 pwr_idx, in _rtl92ee_set_txpower_index() argument
1275 pwr_idx); in _rtl92ee_set_txpower_index()
1279 pwr_idx); in _rtl92ee_set_txpower_index()
1283 pwr_idx); in _rtl92ee_set_txpower_index()
1287 pwr_idx); in _rtl92ee_set_txpower_index()
1291 pwr_idx); in _rtl92ee_set_txpower_index()
1295 pwr_idx); in _rtl92ee_set_txpower_index()
1299 pwr_idx); in _rtl92ee_set_txpower_index()
1303 pwr_idx); in _rtl92ee_set_txpower_index()
1307 pwr_idx); in _rtl92ee_set_txpower_index()
[all …]
/drivers/net/wireless/intel/iwlegacy/
D3945.c2065 u8 pwr_idx, base_pwr_idx, a_band; in il3945_txpower_set_from_eeprom() local
2143 pwr_idx = pwr_info->power_table_idx + IL_CCK_FROM_OFDM_IDX_DIFF; in il3945_txpower_set_from_eeprom()
2148 pwr_idx = il3945_hw_reg_fix_power_idx(pwr_idx); in il3945_txpower_set_from_eeprom()
2149 gain = power_gain_table[a_band][pwr_idx].tx_gain; in il3945_txpower_set_from_eeprom()
2150 dsp_atten = power_gain_table[a_band][pwr_idx].dsp_atten; in il3945_txpower_set_from_eeprom()
2159 pwr_info->power_table_idx = pwr_idx; in il3945_txpower_set_from_eeprom()
/drivers/net/wireless/realtek/rtw88/
Dphy.c2100 struct rtw_txpwr_idx *pwr_idx; in rtw_get_tx_power_params() local
2108 pwr_idx = &rtwdev->efuse.txpwr_idx_table[path]; in rtw_get_tx_power_params()
2115 &pwr_idx->pwr_idx_2g, in rtw_get_tx_power_params()
2121 &pwr_idx->pwr_idx_5g, in rtw_get_tx_power_params()
2169 u8 pwr_idx; in rtw_phy_set_tx_power_index_by_rs() local
2181 pwr_idx = rtw_phy_get_tx_power_index(rtwdev, path, rate, in rtw_phy_set_tx_power_index_by_rs()
2183 hal->tx_pwr_tbl[path][rate] = pwr_idx; in rtw_phy_set_tx_power_index_by_rs()
Drtw8822c.c2757 u8 pwr_idx[4]; in rtw8822c_set_tx_power_diff() local
2762 pwr_idx[i] = diff_idx[i] & 0x7f; in rtw8822c_set_tx_power_diff()
2764 phy_pwr_idx = pwr_idx[0] | in rtw8822c_set_tx_power_diff()
2765 (pwr_idx[1] << 8) | in rtw8822c_set_tx_power_diff()
2766 (pwr_idx[2] << 16) | in rtw8822c_set_tx_power_diff()
2767 (pwr_idx[3] << 24); in rtw8822c_set_tx_power_diff()
/drivers/net/wireless/ath/ath5k/
Dphy.c2879 u8 pcdac_0, pcdac_n, pcdac_i, pwr_idx, i; in ath5k_fill_pwr_to_pcdac_table() local
2895 pwr_idx = min_pwr; in ath5k_fill_pwr_to_pcdac_table()
2896 for (i = 0; pwr_idx <= max_pwr && in ath5k_fill_pwr_to_pcdac_table()
2899 pwr_idx++; in ath5k_fill_pwr_to_pcdac_table()
/drivers/net/wireless/ath/ath9k/
Dar9003_eeprom.c5452 u8 pwr_idx, min_pwridx = 0; in ath9k_hw_ar9300_set_txpower() local
5478 pwr_idx = mcsidx_to_tgtpwridx(i, min_pwridx); in ath9k_hw_ar9300_set_txpower()
5480 if (targetPowerValT2[pwr_idx] && in ath9k_hw_ar9300_set_txpower()
5481 targetPowerValT2[pwr_idx] == in ath9k_hw_ar9300_set_txpower()
5482 target_power_val_t2_eep[pwr_idx]) in ath9k_hw_ar9300_set_txpower()
5483 targetPowerValT2[pwr_idx] -= in ath9k_hw_ar9300_set_txpower()
/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/
Dphy_n.c28128 u16 pwr_idx[2]; in wlc_phy_txpwr_idx_get_nphy() local
28131 pwr_idx[0] = wlc_phy_txpwr_idx_cur_get_nphy(pi, PHY_CORE_0); in wlc_phy_txpwr_idx_get_nphy()
28132 pwr_idx[1] = wlc_phy_txpwr_idx_cur_get_nphy(pi, PHY_CORE_1); in wlc_phy_txpwr_idx_get_nphy()
28134 tmp = (pwr_idx[0] << 8) | pwr_idx[1]; in wlc_phy_txpwr_idx_get_nphy()