/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()
|
/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 | 81 rtlpriv->dm.thermalvalue = 0; in rtl8723be_init_sw_vars()
|
/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 …]
|
/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/ |
D | dm.c | 863 u8 thermalvalue = 0, delta, delta_lck, delta_iqk, offset; in dm_txpower_track_cb_therm() local 893 thermalvalue = (u8)rtl_get_rfreg(hw, RF90_PATH_A, RF_T_METER, in dm_txpower_track_cb_therm() 895 if (!thermalvalue) in dm_txpower_track_cb_therm() 899 thermalvalue, rtlpriv->dm.thermalvalue, in dm_txpower_track_cb_therm() 948 if (!rtldm->thermalvalue) { in dm_txpower_track_cb_therm() 949 rtlpriv->dm.thermalvalue = rtlefuse->eeprom_thermalmeter; in dm_txpower_track_cb_therm() 950 rtlpriv->dm.thermalvalue_lck = thermalvalue; in dm_txpower_track_cb_therm() 951 rtlpriv->dm.thermalvalue_iqk = thermalvalue; in dm_txpower_track_cb_therm() 958 rtldm->thermalvalue_avg[rtldm->thermalvalue_avg_index] = thermalvalue; in dm_txpower_track_cb_therm() 971 thermalvalue = (u8)(thermalvalue_avg / thermalvalue_avg_count); in dm_txpower_track_cb_therm() [all …]
|
D | sw.c | 74 rtlpriv->dm.thermalvalue = 0; in rtl88e_init_sw_vars()
|
/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 | 100 rtlpriv->dm.thermalvalue = 0; in rtl92s_init_sw_vars()
|
D | phy.c | 1420 thermalval = rtlpriv->dm.thermalvalue; in rtl92s_phy_set_fw_cmd()
|
/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/ |
D | dm.c | 447 rtldm->thermalvalue = rtlefuse->eeprom_thermalmeter; in rtl8821ae_dm_clear_txpower_tracking_state() 478 rtldm->thermalvalue = rtlefuse->eeprom_thermalmeter; in rtl8821ae_dm_initialize_txpower_tracking_thermalmeter() 1676 delta = (thermal_value > rtldm->thermalvalue) ? in rtl8812ae_dm_txpower_tracking_callback_thermalmeter() 1677 (thermal_value - rtldm->thermalvalue) : in rtl8812ae_dm_txpower_tracking_callback_thermalmeter() 1678 (rtldm->thermalvalue - thermal_value); in rtl8812ae_dm_txpower_tracking_callback_thermalmeter() 1849 rtldm->thermalvalue); in rtl8812ae_dm_txpower_tracking_callback_thermalmeter() 1879 if (thermal_value > rtldm->thermalvalue) { in rtl8812ae_dm_txpower_tracking_callback_thermalmeter() 1885 rtldm->thermalvalue); in rtl8812ae_dm_txpower_tracking_callback_thermalmeter() 1892 rtldm->thermalvalue); in rtl8812ae_dm_txpower_tracking_callback_thermalmeter() 1893 } else if (thermal_value < rtldm->thermalvalue) { /*Low temperature*/ in rtl8812ae_dm_txpower_tracking_callback_thermalmeter() [all …]
|
D | sw.c | 83 rtlpriv->dm.thermalvalue = 0; in rtl8821ae_init_sw_vars()
|
/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/ |
D | sw.c | 85 rtlpriv->dm.thermalvalue = 0; in rtl8723e_init_sw_vars()
|
/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/ |
D | sw.c | 41 rtlpriv->dm.thermalvalue = 0; in rtl92cu_init_sw_vars()
|
/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/ |
D | sw.c | 81 rtlpriv->dm.thermalvalue = 0; in rtl92c_init_sw_vars()
|
/drivers/net/wireless/realtek/rtlwifi/ |
D | wifi.h | 1809 u8 thermalvalue; member
|