Home
last modified time | relevance | path

Searched refs:thermal_value (Results 1 – 7 of 7) sorted by relevance

/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/ !
Ddm.c1452 u8 thermal_value = 0, delta, delta_lck, delta_iqk, p = 0, i = 0; in rtl8812ae_dm_txpower_tracking_callback_thermalmeter() local
1482 thermal_value = (u8)rtl_get_rfreg(hw, RF90_PATH_A, in rtl8812ae_dm_txpower_tracking_callback_thermalmeter()
1487 thermal_value, rtlefuse->eeprom_thermalmeter); in rtl8812ae_dm_txpower_tracking_callback_thermalmeter()
1500 rtldm->thermalvalue_avg[rtldm->thermalvalue_avg_index] = thermal_value; in rtl8812ae_dm_txpower_tracking_callback_thermalmeter()
1514 thermal_value = (u8)(thermal_value_avg / in rtl8812ae_dm_txpower_tracking_callback_thermalmeter()
1518 thermal_value, rtlefuse->eeprom_thermalmeter); in rtl8812ae_dm_txpower_tracking_callback_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()
1528 delta_lck = (thermal_value > rtldm->thermalvalue_lck) ? in rtl8812ae_dm_txpower_tracking_callback_thermalmeter()
[all …]
Dphy.h231 u8 thermal_value, u8 threshold);
233 u8 thermal_value, u8 threshold);
Dphy.c4546 u8 thermal_value, u8 threshold) in rtl8812ae_do_iqk() argument
4550 rtldm->thermalvalue_iqk = thermal_value; in rtl8812ae_do_iqk()
4600 u8 thermal_value, u8 threshold) in rtl8821ae_do_iqk() argument
4606 rtldm->thermalvalue_iqk = thermal_value; in rtl8821ae_do_iqk()
/linux-6.1.9/drivers/net/wireless/realtek/rtw88/ !
Drtw8821c.c1036 u8 thermal_value, delta; in rtw8821c_phy_pwrtrack() local
1043 thermal_value = rtw_read_rf(rtwdev, RF_PATH_A, RF_T_METER, 0xfc00); in rtw8821c_phy_pwrtrack()
1045 rtw_phy_pwrtrack_avg(rtwdev, thermal_value, RF_PATH_A); in rtw8821c_phy_pwrtrack()
1049 else if (!rtw_phy_pwrtrack_thermal_changed(rtwdev, thermal_value, in rtw8821c_phy_pwrtrack()
Drtw8822b.c1483 u8 thermal_value, path; in rtw8822b_phy_pwrtrack() local
1490 thermal_value = rtw_read_rf(rtwdev, RF_PATH_A, RF_T_METER, 0xfc00); in rtw8822b_phy_pwrtrack()
1492 rtw_phy_pwrtrack_avg(rtwdev, thermal_value, RF_PATH_A); in rtw8822b_phy_pwrtrack()
1496 else if (!rtw_phy_pwrtrack_thermal_changed(rtwdev, thermal_value, in rtw8822b_phy_pwrtrack()
Drtw8723d.c1882 u8 thermal_value, delta, path; in rtw8723d_phy_pwrtrack() local
1890 thermal_value = rtw_read_rf(rtwdev, RF_PATH_A, RF_T_METER, 0xfc00); in rtw8723d_phy_pwrtrack()
1892 rtw_phy_pwrtrack_avg(rtwdev, thermal_value, RF_PATH_A); in rtw8723d_phy_pwrtrack()
1901 else if (!rtw_phy_pwrtrack_thermal_changed(rtwdev, thermal_value, in rtw8723d_phy_pwrtrack()
Drtw8822c.c4210 u8 thermal_value[DPK_RF_PATH_NUM] = {0}; in rtw8822c_dpk_track() local
4217 thermal_value[path] = rtw8822c_dpk_thermal_read(rtwdev, path); in rtw8822c_dpk_track()
4219 thermal_value[path]); in rtw8822c_dpk_track()
4220 thermal_value[path] = in rtw8822c_dpk_track()
4223 thermal_value[path]; in rtw8822c_dpk_track()
4464 u8 thermal_value; in rtw8822c_pwr_track_stats() local
4469 thermal_value = rtw_read_rf(rtwdev, path, RF_T_METER, 0x7e); in rtw8822c_pwr_track_stats()
4470 rtw_phy_pwrtrack_avg(rtwdev, thermal_value, path); in rtw8822c_pwr_track_stats()