Home
last modified time | relevance | path

Searched refs:thermalvalue (Results 1 – 17 of 17) sorted by relevance

/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8192d/
Ddm_common.c187 bool *internal_pa, u8 thermalvalue, u8 delta, in rtl92d_bandtype_5G() argument
219 if (thermalvalue > rtlefuse->eeprom_thermalmeter) in rtl92d_bandtype_5G()
237 if (thermalvalue > rtlefuse->eeprom_thermalmeter) { in rtl92d_bandtype_5G()
238 if (*internal_pa && thermalvalue > 0x12) { in rtl92d_bandtype_5G()
288 u8 thermalvalue, delta, delta_lck, delta_iqk, delta_rxgain; in rtl92d_dm_txpower_tracking_callback_thermalmeter() local
310 thermalvalue = (u8)rtl_get_rfreg(hw, RF90_PATH_A, RF_T_METER, 0xf800); in rtl92d_dm_txpower_tracking_callback_thermalmeter()
314 thermalvalue, in rtl92d_dm_txpower_tracking_callback_thermalmeter()
315 dm->thermalvalue, rtlefuse->eeprom_thermalmeter); in rtl92d_dm_txpower_tracking_callback_thermalmeter()
317 if (!thermalvalue) in rtl92d_dm_txpower_tracking_callback_thermalmeter()
325 if (dm->thermalvalue && !rtlhal->reloadtxpowerindex) in rtl92d_dm_txpower_tracking_callback_thermalmeter()
[all …]
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8723be/
Ddm.c216 rtlpriv->dm.thermalvalue = 0; in rtl8723be_dm_init_txpower_tracking()
731 u8 thermalvalue = 0, delta, delta_lck, delta_iqk; in rtl8723be_dm_txpower_tracking_callback_thermalmeter() local
753 thermalvalue = (u8)rtl_get_rfreg(hw, in rtl8723be_dm_txpower_tracking_callback_thermalmeter()
755 if (!rtlpriv->dm.txpower_track_control || thermalvalue == 0 || in rtl8723be_dm_txpower_tracking_callback_thermalmeter()
760 thermalvalue, rtldm->thermalvalue, in rtl8723be_dm_txpower_tracking_callback_thermalmeter()
763 if (!rtldm->thermalvalue) { in rtl8723be_dm_txpower_tracking_callback_thermalmeter()
764 rtlpriv->dm.thermalvalue_lck = thermalvalue; in rtl8723be_dm_txpower_tracking_callback_thermalmeter()
765 rtlpriv->dm.thermalvalue_iqk = thermalvalue; in rtl8723be_dm_txpower_tracking_callback_thermalmeter()
769 rtldm->thermalvalue_avg[rtldm->thermalvalue_avg_index] = thermalvalue; in rtl8723be_dm_txpower_tracking_callback_thermalmeter()
782 thermalvalue = (u8)(thermalvalue_avg / thermalvalue_avg_count); in rtl8723be_dm_txpower_tracking_callback_thermalmeter()
[all …]
Dsw.c77 rtlpriv->dm.thermalvalue = 0; in rtl8723be_init_sw_vars()
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8192c/
Ddm_common.c705 u8 thermalvalue, delta, delta_lck, delta_iqk; in rtl92c_dm_txpower_tracking_callback_thermalmeter() local
719 thermalvalue = (u8) rtl_get_rfreg(hw, RF90_PATH_A, RF_T_METER, 0x1f); in rtl92c_dm_txpower_tracking_callback_thermalmeter()
723 thermalvalue, rtlpriv->dm.thermalvalue, in rtl92c_dm_txpower_tracking_callback_thermalmeter()
726 rtl92c_phy_ap_calibrate(hw, (thermalvalue - in rtl92c_dm_txpower_tracking_callback_thermalmeter()
733 if (thermalvalue) { in rtl92c_dm_txpower_tracking_callback_thermalmeter()
803 if (!rtlpriv->dm.thermalvalue) { in rtl92c_dm_txpower_tracking_callback_thermalmeter()
804 rtlpriv->dm.thermalvalue = in rtl92c_dm_txpower_tracking_callback_thermalmeter()
806 rtlpriv->dm.thermalvalue_lck = thermalvalue; in rtl92c_dm_txpower_tracking_callback_thermalmeter()
807 rtlpriv->dm.thermalvalue_iqk = thermalvalue; in rtl92c_dm_txpower_tracking_callback_thermalmeter()
814 delta = (thermalvalue > rtlpriv->dm.thermalvalue) ? in rtl92c_dm_txpower_tracking_callback_thermalmeter()
[all …]
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/
Ddm.c857 u8 thermalvalue = 0, delta, delta_lck, delta_iqk, offset; in dm_txpower_track_cb_therm() local
887 thermalvalue = (u8)rtl_get_rfreg(hw, RF90_PATH_A, RF_T_METER, in dm_txpower_track_cb_therm()
889 if (!thermalvalue) in dm_txpower_track_cb_therm()
893 thermalvalue, rtlpriv->dm.thermalvalue, in dm_txpower_track_cb_therm()
942 if (!rtldm->thermalvalue) { in dm_txpower_track_cb_therm()
943 rtlpriv->dm.thermalvalue = rtlefuse->eeprom_thermalmeter; in dm_txpower_track_cb_therm()
944 rtlpriv->dm.thermalvalue_lck = thermalvalue; in dm_txpower_track_cb_therm()
945 rtlpriv->dm.thermalvalue_iqk = thermalvalue; in dm_txpower_track_cb_therm()
952 rtldm->thermalvalue_avg[rtldm->thermalvalue_avg_index] = thermalvalue; in dm_txpower_track_cb_therm()
965 thermalvalue = (u8)(thermalvalue_avg / thermalvalue_avg_count); in dm_txpower_track_cb_therm()
[all …]
Dsw.c70 rtlpriv->dm.thermalvalue = 0; in rtl88e_init_sw_vars()
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8192se/
Ddm.c140 u8 thermalvalue = 0; in _rtl92s_dm_txpowertracking_callback_thermalmeter() local
145 thermalvalue = (u8)rtl_get_rfreg(hw, RF90_PATH_A, RF_T_METER, 0x1f); in _rtl92s_dm_txpowertracking_callback_thermalmeter()
149 thermalvalue, in _rtl92s_dm_txpowertracking_callback_thermalmeter()
150 rtlpriv->dm.thermalvalue, rtlefuse->eeprom_thermalmeter); in _rtl92s_dm_txpowertracking_callback_thermalmeter()
152 if (thermalvalue) { in _rtl92s_dm_txpowertracking_callback_thermalmeter()
153 rtlpriv->dm.thermalvalue = thermalvalue; in _rtl92s_dm_txpowertracking_callback_thermalmeter()
159 (thermalvalue << 16)); in _rtl92s_dm_txpowertracking_callback_thermalmeter()
Dsw.c96 rtlpriv->dm.thermalvalue = 0; in rtl92s_init_sw_vars()
Dphy.c1404 thermalval = rtlpriv->dm.thermalvalue; in rtl92s_phy_set_fw_cmd()
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/
Ddm.c295 rtldm->thermalvalue = rtlefuse->eeprom_thermalmeter; in rtl8821ae_dm_clear_txpower_tracking_state()
326 rtldm->thermalvalue = rtlefuse->eeprom_thermalmeter; in rtl8821ae_dm_initialize_txpower_tracking_thermalmeter()
1523 delta = (thermal_value > rtldm->thermalvalue) ? in rtl8812ae_dm_txpower_tracking_callback_thermalmeter()
1524 (thermal_value - rtldm->thermalvalue) : in rtl8812ae_dm_txpower_tracking_callback_thermalmeter()
1525 (rtldm->thermalvalue - thermal_value); in rtl8812ae_dm_txpower_tracking_callback_thermalmeter()
1696 rtldm->thermalvalue); in rtl8812ae_dm_txpower_tracking_callback_thermalmeter()
1726 if (thermal_value > rtldm->thermalvalue) { in rtl8812ae_dm_txpower_tracking_callback_thermalmeter()
1732 rtldm->thermalvalue); in rtl8812ae_dm_txpower_tracking_callback_thermalmeter()
1739 rtldm->thermalvalue); in rtl8812ae_dm_txpower_tracking_callback_thermalmeter()
1740 } else if (thermal_value < rtldm->thermalvalue) { /*Low temperature*/ in rtl8812ae_dm_txpower_tracking_callback_thermalmeter()
[all …]
Dsw.c79 rtlpriv->dm.thermalvalue = 0; in rtl8821ae_init_sw_vars()
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/
Dsw.c40 rtlpriv->dm.thermalvalue = 0; in rtl92cu_init_sw_vars()
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8192de/
Dsw.c76 rtlpriv->dm.thermalvalue = 0; in rtl92d_init_sw_vars()
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/
Dsw.c81 rtlpriv->dm.thermalvalue = 0; in rtl8723e_init_sw_vars()
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/
Dsw.c77 rtlpriv->dm.thermalvalue = 0; in rtl92c_init_sw_vars()
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8192du/
Dsw.c128 rtlpriv->dm.thermalvalue = 0; in rtl92du_init_sw_vars()
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/
Dwifi.h1758 u8 thermalvalue; member