Searched refs:thermalvalue_avg (Results 1 – 5 of 5) sorted by relevance
733 u32 thermalvalue_avg = 0; in rtl8723be_dm_txpower_tracking_callback_thermalmeter() local769 rtldm->thermalvalue_avg[rtldm->thermalvalue_avg_index] = thermalvalue; in rtl8723be_dm_txpower_tracking_callback_thermalmeter()775 if (rtldm->thermalvalue_avg[i]) { in rtl8723be_dm_txpower_tracking_callback_thermalmeter()776 thermalvalue_avg += rtldm->thermalvalue_avg[i]; in rtl8723be_dm_txpower_tracking_callback_thermalmeter()782 thermalvalue = (u8)(thermalvalue_avg / thermalvalue_avg_count); in rtl8723be_dm_txpower_tracking_callback_thermalmeter()
778 u32 thermalvalue_avg = 0; in rtl92d_dm_txpower_tracking_callback_thermalmeter() local899 rtlpriv->dm.thermalvalue_avg in rtl92d_dm_txpower_tracking_callback_thermalmeter()905 if (rtlpriv->dm.thermalvalue_avg[i]) { in rtl92d_dm_txpower_tracking_callback_thermalmeter()906 thermalvalue_avg += rtlpriv->dm.thermalvalue_avg[i]; in rtl92d_dm_txpower_tracking_callback_thermalmeter()911 thermalvalue = (u8)(thermalvalue_avg / thermalvalue_avg_count); in rtl92d_dm_txpower_tracking_callback_thermalmeter()
859 u32 thermalvalue_avg = 0; in dm_txpower_track_cb_therm() local952 rtldm->thermalvalue_avg[rtldm->thermalvalue_avg_index] = thermalvalue; in dm_txpower_track_cb_therm()958 if (rtldm->thermalvalue_avg[i]) { in dm_txpower_track_cb_therm()959 thermalvalue_avg += rtldm->thermalvalue_avg[i]; in dm_txpower_track_cb_therm()965 thermalvalue = (u8)(thermalvalue_avg / thermalvalue_avg_count); in dm_txpower_track_cb_therm()
1500 rtldm->thermalvalue_avg[rtldm->thermalvalue_avg_index] = thermal_value; in rtl8812ae_dm_txpower_tracking_callback_thermalmeter()1507 if (rtldm->thermalvalue_avg[i]) { in rtl8812ae_dm_txpower_tracking_callback_thermalmeter()1508 thermal_value_avg += rtldm->thermalvalue_avg[i]; in rtl8812ae_dm_txpower_tracking_callback_thermalmeter()2066 rtldm->thermalvalue_avg[rtldm->thermalvalue_avg_index] = thermal_value; in rtl8821ae_dm_txpower_tracking_callback_thermalmeter()2073 if (rtldm->thermalvalue_avg[i]) { in rtl8821ae_dm_txpower_tracking_callback_thermalmeter()2074 thermal_value_avg += rtldm->thermalvalue_avg[i]; in rtl8821ae_dm_txpower_tracking_callback_thermalmeter()
1798 u8 thermalvalue_avg[AVG_THERMAL_NUM]; member