/linux-6.6.21/drivers/net/wireless/realtek/rtlwifi/rtl8192de/ |
D | dm.c | 710 bool *internal_pa, u8 thermalvalue, u8 delta, in rtl92d_bandtype_5G() argument 740 if (thermalvalue > rtlefuse->eeprom_thermalmeter) in rtl92d_bandtype_5G() 756 if (thermalvalue > rtlefuse->eeprom_thermalmeter) { in rtl92d_bandtype_5G() 757 if (*internal_pa && thermalvalue > 0x12) { in rtl92d_bandtype_5G() 776 u8 thermalvalue, delta, delta_lck, delta_iqk, delta_rxgain; in rtl92d_dm_txpower_tracking_callback_thermalmeter() local 825 thermalvalue = (u8) rtl_get_rfreg(hw, RF90_PATH_A, RF_T_METER, 0xf800); in rtl92d_dm_txpower_tracking_callback_thermalmeter() 828 thermalvalue, in rtl92d_dm_txpower_tracking_callback_thermalmeter() 829 rtlpriv->dm.thermalvalue, rtlefuse->eeprom_thermalmeter); in rtl92d_dm_txpower_tracking_callback_thermalmeter() 830 rtl92d_phy_ap_calibrate(hw, (thermalvalue - in rtl92d_dm_txpower_tracking_callback_thermalmeter() 833 if (!thermalvalue) in rtl92d_dm_txpower_tracking_callback_thermalmeter() [all …]
|
D | sw.c | 75 rtlpriv->dm.thermalvalue = 0; in rtl92d_init_sw_vars()
|
/linux-6.6.21/drivers/net/wireless/realtek/rtlwifi/rtl8723be/ |
D | dm.c | 216 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 …]
|
D | sw.c | 80 rtlpriv->dm.thermalvalue = 0; in rtl8723be_init_sw_vars()
|
/linux-6.6.21/drivers/net/wireless/realtek/rtlwifi/rtl8192c/ |
D | dm_common.c | 705 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.6.21/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/ |
D | dm.c | 857 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 …]
|
D | sw.c | 73 rtlpriv->dm.thermalvalue = 0; in rtl88e_init_sw_vars()
|
/linux-6.6.21/drivers/net/wireless/realtek/rtlwifi/rtl8192se/ |
D | dm.c | 140 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()
|
D | sw.c | 99 rtlpriv->dm.thermalvalue = 0; in rtl92s_init_sw_vars()
|
D | phy.c | 1404 thermalval = rtlpriv->dm.thermalvalue; in rtl92s_phy_set_fw_cmd()
|
/linux-6.6.21/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/ |
D | dm.c | 295 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() 1525 delta = (thermal_value > rtldm->thermalvalue) ? in rtl8812ae_dm_txpower_tracking_callback_thermalmeter() 1526 (thermal_value - rtldm->thermalvalue) : in rtl8812ae_dm_txpower_tracking_callback_thermalmeter() 1527 (rtldm->thermalvalue - thermal_value); in rtl8812ae_dm_txpower_tracking_callback_thermalmeter() 1698 rtldm->thermalvalue); in rtl8812ae_dm_txpower_tracking_callback_thermalmeter() 1728 if (thermal_value > rtldm->thermalvalue) { in rtl8812ae_dm_txpower_tracking_callback_thermalmeter() 1734 rtldm->thermalvalue); in rtl8812ae_dm_txpower_tracking_callback_thermalmeter() 1741 rtldm->thermalvalue); in rtl8812ae_dm_txpower_tracking_callback_thermalmeter() 1742 } else if (thermal_value < rtldm->thermalvalue) { /*Low temperature*/ in rtl8812ae_dm_txpower_tracking_callback_thermalmeter() [all …]
|
D | sw.c | 82 rtlpriv->dm.thermalvalue = 0; in rtl8821ae_init_sw_vars()
|
/linux-6.6.21/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/ |
D | sw.c | 40 rtlpriv->dm.thermalvalue = 0; in rtl92cu_init_sw_vars()
|
/linux-6.6.21/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/ |
D | sw.c | 84 rtlpriv->dm.thermalvalue = 0; in rtl8723e_init_sw_vars()
|
/linux-6.6.21/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/ |
D | sw.c | 80 rtlpriv->dm.thermalvalue = 0; in rtl92c_init_sw_vars()
|
/linux-6.6.21/drivers/net/wireless/realtek/rtlwifi/ |
D | wifi.h | 1796 u8 thermalvalue; member
|