Searched refs:thermalvalue_avg (Results 1 – 5 of 5) sorted by relevance
294 u32 thermalvalue_avg = 0; in rtl92d_dm_txpower_tracking_callback_thermalmeter() local393 dm->thermalvalue_avg[dm->thermalvalue_avg_index] = thermalvalue; in rtl92d_dm_txpower_tracking_callback_thermalmeter()400 if (dm->thermalvalue_avg[i]) { in rtl92d_dm_txpower_tracking_callback_thermalmeter()401 thermalvalue_avg += dm->thermalvalue_avg[i]; in rtl92d_dm_txpower_tracking_callback_thermalmeter()407 thermalvalue = (u8)(thermalvalue_avg / thermalvalue_avg_count); in rtl92d_dm_txpower_tracking_callback_thermalmeter()
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()
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()
1498 rtldm->thermalvalue_avg[rtldm->thermalvalue_avg_index] = thermal_value; in rtl8812ae_dm_txpower_tracking_callback_thermalmeter()1505 if (rtldm->thermalvalue_avg[i]) { in rtl8812ae_dm_txpower_tracking_callback_thermalmeter()1506 thermal_value_avg += rtldm->thermalvalue_avg[i]; in rtl8812ae_dm_txpower_tracking_callback_thermalmeter()2064 rtldm->thermalvalue_avg[rtldm->thermalvalue_avg_index] = thermal_value; in rtl8821ae_dm_txpower_tracking_callback_thermalmeter()2071 if (rtldm->thermalvalue_avg[i]) { in rtl8821ae_dm_txpower_tracking_callback_thermalmeter()2072 thermal_value_avg += rtldm->thermalvalue_avg[i]; in rtl8821ae_dm_txpower_tracking_callback_thermalmeter()
1760 u8 thermalvalue_avg[AVG_THERMAL_NUM]; member