Home
last modified time | relevance | path

Searched refs:eeprom_thermalmeter (Results 1 – 16 of 16) sorted by relevance

/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/
Ddm.c295 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()
1485 thermal_value, rtlefuse->eeprom_thermalmeter); in rtl8812ae_dm_txpower_tracking_callback_thermalmeter()
1487 rtlefuse->eeprom_thermalmeter == 0 || in rtl8812ae_dm_txpower_tracking_callback_thermalmeter()
1488 rtlefuse->eeprom_thermalmeter == 0xFF) in rtl8812ae_dm_txpower_tracking_callback_thermalmeter()
1516 thermal_value, rtlefuse->eeprom_thermalmeter); in rtl8812ae_dm_txpower_tracking_callback_thermalmeter()
[all …]
Dhw.c3129 rtlefuse->eeprom_thermalmeter = *(u8 *)&hwinfo[EEPROM_THERMAL_METER]; in _rtl8821ae_read_adapter_info()
3130 if ((rtlefuse->eeprom_thermalmeter == 0xff) || in _rtl8821ae_read_adapter_info()
3133 rtlefuse->eeprom_thermalmeter = 0xff; in _rtl8821ae_read_adapter_info()
3136 rtlefuse->thermalmeter[0] = rtlefuse->eeprom_thermalmeter; in _rtl8821ae_read_adapter_info()
3138 "thermalmeter = 0x%x\n", rtlefuse->eeprom_thermalmeter); in _rtl8821ae_read_adapter_info()
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8192d/
Ddm_common.c141 idx = rtlpriv->efuse.eeprom_thermalmeter - rtlpriv->dm.thermalvalue_rxgain; in rtl92d_dm_rxgain_tracking_thermalmeter()
219 if (thermalvalue > rtlefuse->eeprom_thermalmeter) in rtl92d_bandtype_5G()
237 if (thermalvalue > rtlefuse->eeprom_thermalmeter) { in rtl92d_bandtype_5G()
315 dm->thermalvalue, rtlefuse->eeprom_thermalmeter); in rtl92d_dm_txpower_tracking_callback_thermalmeter()
368 dm->thermalvalue = rtlefuse->eeprom_thermalmeter; in rtl92d_dm_txpower_tracking_callback_thermalmeter()
371 dm->thermalvalue_rxgain = rtlefuse->eeprom_thermalmeter; in rtl92d_dm_txpower_tracking_callback_thermalmeter()
410 delta = abs_diff(thermalvalue, rtlefuse->eeprom_thermalmeter); in rtl92d_dm_txpower_tracking_callback_thermalmeter()
416 delta = abs_diff(thermalvalue, rtlefuse->eeprom_thermalmeter); in rtl92d_dm_txpower_tracking_callback_thermalmeter()
425 thermalvalue, dm->thermalvalue, rtlefuse->eeprom_thermalmeter, in rtl92d_dm_txpower_tracking_callback_thermalmeter()
437 delta = abs_diff(thermalvalue, rtlefuse->eeprom_thermalmeter); in rtl92d_dm_txpower_tracking_callback_thermalmeter()
[all …]
Dhw_common.c516 rtlefuse->eeprom_thermalmeter = in _rtl92d_read_txpower_info()
537 rtlefuse->eeprom_thermalmeter = EEPROM_DEFAULT_THERMALMETER; in _rtl92d_read_txpower_info()
548 if (rtlefuse->eeprom_thermalmeter < 0x06 || in _rtl92d_read_txpower_info()
549 rtlefuse->eeprom_thermalmeter > 0x1c) in _rtl92d_read_txpower_info()
550 rtlefuse->eeprom_thermalmeter = 0x12; in _rtl92d_read_txpower_info()
551 rtlefuse->thermalmeter[0] = rtlefuse->eeprom_thermalmeter; in _rtl92d_read_txpower_info()
585 "ThermalMeter = 0x%x\n", rtlefuse->eeprom_thermalmeter); in _rtl92d_read_txpower_info()
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8192c/
Ddm_common.c724 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.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/
Ddm.c894 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 …]
Dhw.c1779 rtlefuse->eeprom_thermalmeter = in _rtl88ee_read_txpower_info_from_hwpg()
1782 rtlefuse->eeprom_thermalmeter = EEPROM_DEFAULT_THERMALMETER; in _rtl88ee_read_txpower_info_from_hwpg()
1784 if (rtlefuse->eeprom_thermalmeter == 0xff || autoload_fail) { in _rtl88ee_read_txpower_info_from_hwpg()
1786 rtlefuse->eeprom_thermalmeter = EEPROM_DEFAULT_THERMALMETER; in _rtl88ee_read_txpower_info_from_hwpg()
1789 rtlefuse->thermalmeter[0] = rtlefuse->eeprom_thermalmeter; in _rtl88ee_read_txpower_info_from_hwpg()
1791 "thermalmeter = 0x%x\n", rtlefuse->eeprom_thermalmeter); in _rtl88ee_read_txpower_info_from_hwpg()
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8723be/
Ddm.c756 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()
Dhw.c1980 rtlefuse->eeprom_thermalmeter = in _rtl8723be_read_txpower_info_from_hwpg()
1983 rtlefuse->eeprom_thermalmeter = EEPROM_DEFAULT_THERMALMETER; in _rtl8723be_read_txpower_info_from_hwpg()
1985 if (rtlefuse->eeprom_thermalmeter == 0xff || autoload_fail) { in _rtl8723be_read_txpower_info_from_hwpg()
1987 rtlefuse->eeprom_thermalmeter = EEPROM_DEFAULT_THERMALMETER; in _rtl8723be_read_txpower_info_from_hwpg()
1990 rtlefuse->thermalmeter[0] = rtlefuse->eeprom_thermalmeter; in _rtl8723be_read_txpower_info_from_hwpg()
1992 "thermalmeter = 0x%x\n", rtlefuse->eeprom_thermalmeter); in _rtl8723be_read_txpower_info_from_hwpg()
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/
Dhw.c289 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.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/
Dhw.c2069 efu->eeprom_thermalmeter = hwinfo[EEPROM_THERMAL_METER_92E]; in _rtl92ee_read_txpower_info_from_hwpg()
2071 efu->eeprom_thermalmeter = EEPROM_DEFAULT_THERMALMETER; in _rtl92ee_read_txpower_info_from_hwpg()
2073 if (efu->eeprom_thermalmeter == 0xff || autoload_fail) { in _rtl92ee_read_txpower_info_from_hwpg()
2075 efu->eeprom_thermalmeter = EEPROM_DEFAULT_THERMALMETER; in _rtl92ee_read_txpower_info_from_hwpg()
2078 efu->thermalmeter[0] = efu->eeprom_thermalmeter; in _rtl92ee_read_txpower_info_from_hwpg()
2080 "thermalmeter = 0x%x\n", efu->eeprom_thermalmeter); in _rtl92ee_read_txpower_info_from_hwpg()
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/
Dhw.c1586 rtlefuse->eeprom_thermalmeter = (tempval & 0x1f); in _rtl8723e_read_txpower_info_from_hwpg()
1588 if (rtlefuse->eeprom_thermalmeter == 0x1f || autoload_fail) in _rtl8723e_read_txpower_info_from_hwpg()
1591 rtlefuse->thermalmeter[0] = rtlefuse->eeprom_thermalmeter; in _rtl8723e_read_txpower_info_from_hwpg()
1593 "thermalmeter = 0x%x\n", rtlefuse->eeprom_thermalmeter); in _rtl8723e_read_txpower_info_from_hwpg()
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8192se/
Dhw.c1918 rtlefuse->eeprom_thermalmeter = tempval; in _rtl92se_read_adapter_info()
1920 "thermalmeter = 0x%x\n", rtlefuse->eeprom_thermalmeter); in _rtl92se_read_adapter_info()
1923 rtlefuse->thermalmeter[0] = (rtlefuse->eeprom_thermalmeter & 0x1f); in _rtl92se_read_adapter_info()
1924 rtlefuse->tssi_13dbm = rtlefuse->eeprom_thermalmeter * 100; in _rtl92se_read_adapter_info()
Ddm.c150 rtlpriv->dm.thermalvalue, rtlefuse->eeprom_thermalmeter); in _rtl92s_dm_txpowertracking_callback_thermalmeter()
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/
Dhw.c1639 rtlefuse->eeprom_thermalmeter = (tempval & 0x1f); in _rtl92ce_read_txpower_info_from_hwpg()
1641 if (rtlefuse->eeprom_thermalmeter == 0x1f || autoload_fail) in _rtl92ce_read_txpower_info_from_hwpg()
1644 rtlefuse->thermalmeter[0] = rtlefuse->eeprom_thermalmeter; in _rtl92ce_read_txpower_info_from_hwpg()
1646 "thermalmeter = 0x%x\n", rtlefuse->eeprom_thermalmeter); in _rtl92ce_read_txpower_info_from_hwpg()
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/
Dwifi.h1921 u8 eeprom_thermalmeter; member