Home
last modified time | relevance | path

Searched refs:temp_pwrlmt (Results 1 – 2 of 2) sorted by relevance

/Linux-v4.19/drivers/staging/rtlwifi/rtl8822be/
Dphy.c432 s8 temp_pwrlmt; in __rtl8822be_txpwr_limit_to_index_2g() local
443 temp_pwrlmt = in __rtl8822be_txpwr_limit_to_index_2g()
448 if (temp_pwrlmt == MAX_POWER_INDEX) in __rtl8822be_txpwr_limit_to_index_2g()
458 temp_value = temp_pwrlmt - bw40_pwr_base_dbm2_4G; in __rtl8822be_txpwr_limit_to_index_2g()
469 (temp_pwrlmt == 63) ? 0 : temp_pwrlmt / 2, in __rtl8822be_txpwr_limit_to_index_2g()
483 s8 temp_pwrlmt; in __rtl8822be_txpwr_limit_to_index_5g() local
495 temp_pwrlmt = in __rtl8822be_txpwr_limit_to_index_5g()
500 if (temp_pwrlmt == MAX_POWER_INDEX) in __rtl8822be_txpwr_limit_to_index_5g()
510 temp_value = temp_pwrlmt - bw40_pwr_base_dbm5G; in __rtl8822be_txpwr_limit_to_index_5g()
521 temp_pwrlmt, channel, rf_path, in __rtl8822be_txpwr_limit_to_index_5g()
/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/
Dphy.c1160 s8 temp_pwrlmt = 0; in _rtl8812ae_phy_cross_reference_ht_and_vht_txpower_limit() local
1166 temp_pwrlmt = rtlphy->txpwr_limit_5g[regulation] in _rtl8812ae_phy_cross_reference_ht_and_vht_txpower_limit()
1168 if (temp_pwrlmt == MAX_POWER_INDEX) { in _rtl8812ae_phy_cross_reference_ht_and_vht_txpower_limit()
1187 RT_TRACE(rtlpriv, COMP_INIT, DBG_TRACE, "use other value %d\n", temp_pwrlmt); in _rtl8812ae_phy_cross_reference_ht_and_vht_txpower_limit()
1329 s8 temp_value = 0, temp_pwrlmt = 0; in _rtl8812ae_phy_convert_txpower_limit_to_power_index() local
1361 temp_pwrlmt = rtlphy->txpwr_limit_2_4g[regulation] in _rtl8812ae_phy_convert_txpower_limit_to_power_index()
1374 if (temp_pwrlmt != MAX_POWER_INDEX) { in _rtl8812ae_phy_convert_txpower_limit_to_power_index()
1375 temp_value = temp_pwrlmt - bw40_pwr_base_dbm2_4G; in _rtl8812ae_phy_convert_txpower_limit_to_power_index()
1385 [rate_section][channel][rf_path], (temp_pwrlmt == 63) in _rtl8812ae_phy_convert_txpower_limit_to_power_index()
1386 ? 0 : temp_pwrlmt/2, channel, rf_path, in _rtl8812ae_phy_convert_txpower_limit_to_power_index()
[all …]