Searched refs:thermalvalue_avg (Results 1 – 6 of 6) sorted by relevance
755 u32 thermalvalue_avg = 0; in rtl8723be_dm_txpower_tracking_callback_thermalmeter() local791 rtldm->thermalvalue_avg[rtldm->thermalvalue_avg_index] = thermalvalue; in rtl8723be_dm_txpower_tracking_callback_thermalmeter()797 if (rtldm->thermalvalue_avg[i]) { in rtl8723be_dm_txpower_tracking_callback_thermalmeter()798 thermalvalue_avg += rtldm->thermalvalue_avg[i]; in rtl8723be_dm_txpower_tracking_callback_thermalmeter()804 thermalvalue = (u8)(thermalvalue_avg / thermalvalue_avg_count); in rtl8723be_dm_txpower_tracking_callback_thermalmeter()
808 u32 thermalvalue_avg = 0; in rtl92d_dm_txpower_tracking_callback_thermalmeter() local921 rtlpriv->dm.thermalvalue_avg in rtl92d_dm_txpower_tracking_callback_thermalmeter()927 if (rtlpriv->dm.thermalvalue_avg[i]) { in rtl92d_dm_txpower_tracking_callback_thermalmeter()928 thermalvalue_avg += in rtl92d_dm_txpower_tracking_callback_thermalmeter()929 rtlpriv->dm.thermalvalue_avg[i]; in rtl92d_dm_txpower_tracking_callback_thermalmeter()934 thermalvalue = (u8) (thermalvalue_avg / in rtl92d_dm_txpower_tracking_callback_thermalmeter()
887 u32 thermalvalue_avg = 0; in dm_txpower_track_cb_therm() local980 rtldm->thermalvalue_avg[rtldm->thermalvalue_avg_index] = thermalvalue; in dm_txpower_track_cb_therm()986 if (rtldm->thermalvalue_avg[i]) { in dm_txpower_track_cb_therm()987 thermalvalue_avg += rtldm->thermalvalue_avg[i]; in dm_txpower_track_cb_therm()993 thermalvalue = (u8)(thermalvalue_avg / thermalvalue_avg_count); in dm_txpower_track_cb_therm()
1674 rtldm->thermalvalue_avg[rtldm->thermalvalue_avg_index] = thermal_value; in rtl8812ae_dm_txpower_tracking_callback_thermalmeter()1681 if (rtldm->thermalvalue_avg[i]) { in rtl8812ae_dm_txpower_tracking_callback_thermalmeter()1682 thermal_value_avg += rtldm->thermalvalue_avg[i]; in rtl8812ae_dm_txpower_tracking_callback_thermalmeter()2254 rtldm->thermalvalue_avg[rtldm->thermalvalue_avg_index] = thermal_value; in rtl8821ae_dm_txpower_tracking_callback_thermalmeter()2261 if (rtldm->thermalvalue_avg[i]) { in rtl8821ae_dm_txpower_tracking_callback_thermalmeter()2262 thermal_value_avg += rtldm->thermalvalue_avg[i]; in rtl8821ae_dm_txpower_tracking_callback_thermalmeter()
1823 u8 thermalvalue_avg[AVG_THERMAL_NUM]; member
1759 u8 thermalvalue_avg[AVG_THERMAL_NUM]; member