/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/rtl8192de/ |
D | dm.c | 667 u4tmp = (index_mapping[(rtlpriv->efuse.eeprom_thermalmeter - in rtl92d_dm_rxgain_tracking_thermalmeter() 740 if (thermalvalue > rtlefuse->eeprom_thermalmeter) in rtl92d_bandtype_5G() 756 if (thermalvalue > rtlefuse->eeprom_thermalmeter) { in rtl92d_bandtype_5G() 829 rtlpriv->dm.thermalvalue, rtlefuse->eeprom_thermalmeter); in rtl92d_dm_txpower_tracking_callback_thermalmeter() 831 rtlefuse->eeprom_thermalmeter)); in rtl92d_dm_txpower_tracking_callback_thermalmeter() 880 rtlpriv->dm.thermalvalue = rtlefuse->eeprom_thermalmeter; in rtl92d_dm_txpower_tracking_callback_thermalmeter() 883 rtlpriv->dm.thermalvalue_rxgain = rtlefuse->eeprom_thermalmeter; in rtl92d_dm_txpower_tracking_callback_thermalmeter() 913 delta = (thermalvalue > rtlefuse->eeprom_thermalmeter) ? in rtl92d_dm_txpower_tracking_callback_thermalmeter() 914 (thermalvalue - rtlefuse->eeprom_thermalmeter) : in rtl92d_dm_txpower_tracking_callback_thermalmeter() 915 (rtlefuse->eeprom_thermalmeter - thermalvalue); in rtl92d_dm_txpower_tracking_callback_thermalmeter() [all …]
|
D | hw.c | 1551 rtlefuse->eeprom_thermalmeter = in _rtl92de_read_txpower_info() 1572 rtlefuse->eeprom_thermalmeter = EEPROM_DEFAULT_THERMALMETER; in _rtl92de_read_txpower_info() 1581 if (rtlefuse->eeprom_thermalmeter < 0x06 || in _rtl92de_read_txpower_info() 1582 rtlefuse->eeprom_thermalmeter > 0x1c) in _rtl92de_read_txpower_info() 1583 rtlefuse->eeprom_thermalmeter = 0x12; in _rtl92de_read_txpower_info() 1584 rtlefuse->thermalmeter[0] = rtlefuse->eeprom_thermalmeter; in _rtl92de_read_txpower_info() 1618 "ThermalMeter = 0x%x\n", rtlefuse->eeprom_thermalmeter); in _rtl92de_read_txpower_info()
|
/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/ |
D | dm.c | 295 rtldm->thermalvalue = rtlefuse->eeprom_thermalmeter; in rtl8821ae_dm_clear_txpower_tracking_state() 296 rtldm->thermalvalue_iqk = rtlefuse->eeprom_thermalmeter; in rtl8821ae_dm_clear_txpower_tracking_state() 297 rtldm->thermalvalue_lck = rtlefuse->eeprom_thermalmeter; in rtl8821ae_dm_clear_txpower_tracking_state() 326 rtldm->thermalvalue = rtlefuse->eeprom_thermalmeter; in rtl8821ae_dm_initialize_txpower_tracking_thermalmeter() 327 rtldm->thermalvalue_iqk = rtlefuse->eeprom_thermalmeter; in rtl8821ae_dm_initialize_txpower_tracking_thermalmeter() 328 rtldm->thermalvalue_lck = rtlefuse->eeprom_thermalmeter; in rtl8821ae_dm_initialize_txpower_tracking_thermalmeter() 1487 thermal_value, rtlefuse->eeprom_thermalmeter); in rtl8812ae_dm_txpower_tracking_callback_thermalmeter() 1489 rtlefuse->eeprom_thermalmeter == 0 || in rtl8812ae_dm_txpower_tracking_callback_thermalmeter() 1490 rtlefuse->eeprom_thermalmeter == 0xFF) in rtl8812ae_dm_txpower_tracking_callback_thermalmeter() 1518 thermal_value, rtlefuse->eeprom_thermalmeter); in rtl8812ae_dm_txpower_tracking_callback_thermalmeter() [all …]
|
D | hw.c | 3170 rtlefuse->eeprom_thermalmeter = *(u8 *)&hwinfo[EEPROM_THERMAL_METER]; in _rtl8821ae_read_adapter_info() 3171 if ((rtlefuse->eeprom_thermalmeter == 0xff) || in _rtl8821ae_read_adapter_info() 3174 rtlefuse->eeprom_thermalmeter = 0xff; in _rtl8821ae_read_adapter_info() 3177 rtlefuse->thermalmeter[0] = rtlefuse->eeprom_thermalmeter; in _rtl8821ae_read_adapter_info() 3179 "thermalmeter = 0x%x\n", rtlefuse->eeprom_thermalmeter); in _rtl8821ae_read_adapter_info()
|
/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/rtl8192c/ |
D | dm_common.c | 724 rtlefuse->eeprom_thermalmeter); in rtl92c_dm_txpower_tracking_callback_thermalmeter() 727 rtlefuse->eeprom_thermalmeter)); in rtl92c_dm_txpower_tracking_callback_thermalmeter() 805 rtlefuse->eeprom_thermalmeter; in rtl92c_dm_txpower_tracking_callback_thermalmeter() 829 rtlefuse->eeprom_thermalmeter, delta, delta_lck, in rtl92c_dm_txpower_tracking_callback_thermalmeter() 861 if (thermalvalue > rtlefuse->eeprom_thermalmeter) { in rtl92c_dm_txpower_tracking_callback_thermalmeter() 878 rtlefuse->eeprom_thermalmeter) { in rtl92c_dm_txpower_tracking_callback_thermalmeter() 886 eeprom_thermalmeter) { in rtl92c_dm_txpower_tracking_callback_thermalmeter() 892 rtlefuse->eeprom_thermalmeter) { in rtl92c_dm_txpower_tracking_callback_thermalmeter() 901 rtlefuse->eeprom_thermalmeter in rtl92c_dm_txpower_tracking_callback_thermalmeter() 909 rtlefuse->eeprom_thermalmeter) { in rtl92c_dm_txpower_tracking_callback_thermalmeter() [all …]
|
/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/ |
D | dm.c | 894 rtlefuse->eeprom_thermalmeter); in dm_txpower_track_cb_therm() 943 rtlpriv->dm.thermalvalue = rtlefuse->eeprom_thermalmeter; in dm_txpower_track_cb_therm() 969 delta = (thermalvalue > rtlefuse->eeprom_thermalmeter) ? in dm_txpower_track_cb_therm() 970 (thermalvalue - rtlefuse->eeprom_thermalmeter) : in dm_txpower_track_cb_therm() 971 (rtlefuse->eeprom_thermalmeter - thermalvalue); in dm_txpower_track_cb_therm() 979 delta = (thermalvalue > rtlefuse->eeprom_thermalmeter) ? in dm_txpower_track_cb_therm() 980 (thermalvalue - rtlefuse->eeprom_thermalmeter) : in dm_txpower_track_cb_therm() 981 (rtlefuse->eeprom_thermalmeter - thermalvalue); in dm_txpower_track_cb_therm() 993 rtlefuse->eeprom_thermalmeter, delta, delta_lck, in dm_txpower_track_cb_therm() 1005 delta = (thermalvalue > rtlefuse->eeprom_thermalmeter) ? in dm_txpower_track_cb_therm() [all …]
|
D | hw.c | 1780 rtlefuse->eeprom_thermalmeter = in _rtl88ee_read_txpower_info_from_hwpg() 1783 rtlefuse->eeprom_thermalmeter = EEPROM_DEFAULT_THERMALMETER; in _rtl88ee_read_txpower_info_from_hwpg() 1785 if (rtlefuse->eeprom_thermalmeter == 0xff || autoload_fail) { in _rtl88ee_read_txpower_info_from_hwpg() 1787 rtlefuse->eeprom_thermalmeter = EEPROM_DEFAULT_THERMALMETER; in _rtl88ee_read_txpower_info_from_hwpg() 1790 rtlefuse->thermalmeter[0] = rtlefuse->eeprom_thermalmeter; in _rtl88ee_read_txpower_info_from_hwpg() 1792 "thermalmeter = 0x%x\n", rtlefuse->eeprom_thermalmeter); in _rtl88ee_read_txpower_info_from_hwpg()
|
/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/rtl8723be/ |
D | dm.c | 756 rtlefuse->eeprom_thermalmeter == 0xFF) in rtl8723be_dm_txpower_tracking_callback_thermalmeter() 761 rtlefuse->eeprom_thermalmeter); in rtl8723be_dm_txpower_tracking_callback_thermalmeter() 798 rtlefuse->eeprom_thermalmeter, delta, delta_lck, delta_iqk); in rtl8723be_dm_txpower_tracking_callback_thermalmeter() 809 delta = (thermalvalue > rtlefuse->eeprom_thermalmeter) ? in rtl8723be_dm_txpower_tracking_callback_thermalmeter() 810 (thermalvalue - rtlefuse->eeprom_thermalmeter) : in rtl8723be_dm_txpower_tracking_callback_thermalmeter() 811 (rtlefuse->eeprom_thermalmeter - thermalvalue); in rtl8723be_dm_txpower_tracking_callback_thermalmeter() 818 if (thermalvalue > rtlefuse->eeprom_thermalmeter) { in rtl8723be_dm_txpower_tracking_callback_thermalmeter()
|
D | hw.c | 1982 rtlefuse->eeprom_thermalmeter = in _rtl8723be_read_txpower_info_from_hwpg() 1985 rtlefuse->eeprom_thermalmeter = EEPROM_DEFAULT_THERMALMETER; in _rtl8723be_read_txpower_info_from_hwpg() 1987 if (rtlefuse->eeprom_thermalmeter == 0xff || autoload_fail) { in _rtl8723be_read_txpower_info_from_hwpg() 1989 rtlefuse->eeprom_thermalmeter = EEPROM_DEFAULT_THERMALMETER; in _rtl8723be_read_txpower_info_from_hwpg() 1992 rtlefuse->thermalmeter[0] = rtlefuse->eeprom_thermalmeter; in _rtl8723be_read_txpower_info_from_hwpg() 1994 "thermalmeter = 0x%x\n", rtlefuse->eeprom_thermalmeter); in _rtl8723be_read_txpower_info_from_hwpg()
|
/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/ |
D | hw.c | 289 rtlefuse->eeprom_thermalmeter = (tempval & 0x1f); in _rtl92cu_read_txpower_info_from_hwpg() 290 if (rtlefuse->eeprom_thermalmeter < 0x06 || in _rtl92cu_read_txpower_info_from_hwpg() 291 rtlefuse->eeprom_thermalmeter > 0x1c) in _rtl92cu_read_txpower_info_from_hwpg() 292 rtlefuse->eeprom_thermalmeter = 0x12; in _rtl92cu_read_txpower_info_from_hwpg() 293 if (rtlefuse->eeprom_thermalmeter == 0x1f || autoload_fail) in _rtl92cu_read_txpower_info_from_hwpg() 295 rtlefuse->thermalmeter[0] = rtlefuse->eeprom_thermalmeter; in _rtl92cu_read_txpower_info_from_hwpg() 297 "thermalmeter = 0x%x\n", rtlefuse->eeprom_thermalmeter); in _rtl92cu_read_txpower_info_from_hwpg()
|
/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/ |
D | hw.c | 2070 efu->eeprom_thermalmeter = hwinfo[EEPROM_THERMAL_METER_92E]; in _rtl92ee_read_txpower_info_from_hwpg() 2072 efu->eeprom_thermalmeter = EEPROM_DEFAULT_THERMALMETER; in _rtl92ee_read_txpower_info_from_hwpg() 2074 if (efu->eeprom_thermalmeter == 0xff || autoload_fail) { in _rtl92ee_read_txpower_info_from_hwpg() 2076 efu->eeprom_thermalmeter = EEPROM_DEFAULT_THERMALMETER; in _rtl92ee_read_txpower_info_from_hwpg() 2079 efu->thermalmeter[0] = efu->eeprom_thermalmeter; in _rtl92ee_read_txpower_info_from_hwpg() 2081 "thermalmeter = 0x%x\n", efu->eeprom_thermalmeter); in _rtl92ee_read_txpower_info_from_hwpg()
|
/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/rtl8192se/ |
D | hw.c | 1927 rtlefuse->eeprom_thermalmeter = tempval; in _rtl92se_read_adapter_info() 1929 "thermalmeter = 0x%x\n", rtlefuse->eeprom_thermalmeter); in _rtl92se_read_adapter_info() 1932 rtlefuse->thermalmeter[0] = (rtlefuse->eeprom_thermalmeter & 0x1f); in _rtl92se_read_adapter_info() 1933 rtlefuse->tssi_13dbm = rtlefuse->eeprom_thermalmeter * 100; in _rtl92se_read_adapter_info()
|
D | dm.c | 150 rtlpriv->dm.thermalvalue, rtlefuse->eeprom_thermalmeter); in _rtl92s_dm_txpowertracking_callback_thermalmeter()
|
/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/ |
D | hw.c | 1591 rtlefuse->eeprom_thermalmeter = (tempval & 0x1f); in _rtl8723e_read_txpower_info_from_hwpg() 1593 if (rtlefuse->eeprom_thermalmeter == 0x1f || autoload_fail) in _rtl8723e_read_txpower_info_from_hwpg() 1596 rtlefuse->thermalmeter[0] = rtlefuse->eeprom_thermalmeter; in _rtl8723e_read_txpower_info_from_hwpg() 1598 "thermalmeter = 0x%x\n", rtlefuse->eeprom_thermalmeter); in _rtl8723e_read_txpower_info_from_hwpg()
|
/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/ |
D | hw.c | 1635 rtlefuse->eeprom_thermalmeter = (tempval & 0x1f); in _rtl92ce_read_txpower_info_from_hwpg() 1637 if (rtlefuse->eeprom_thermalmeter == 0x1f || autoload_fail) in _rtl92ce_read_txpower_info_from_hwpg() 1640 rtlefuse->thermalmeter[0] = rtlefuse->eeprom_thermalmeter; in _rtl92ce_read_txpower_info_from_hwpg() 1642 "thermalmeter = 0x%x\n", rtlefuse->eeprom_thermalmeter); in _rtl92ce_read_txpower_info_from_hwpg()
|
/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/ |
D | wifi.h | 1971 u8 eeprom_thermalmeter; member
|