Searched refs:thermalvalue_avg (Results 1 – 5 of 5) sorted by relevance
812 u32 thermalvalue_avg = 0; in rtl92d_dm_txpower_tracking_callback_thermalmeter() local925 rtlpriv->dm.thermalvalue_avg in rtl92d_dm_txpower_tracking_callback_thermalmeter()931 if (rtlpriv->dm.thermalvalue_avg[i]) { in rtl92d_dm_txpower_tracking_callback_thermalmeter()932 thermalvalue_avg += in rtl92d_dm_txpower_tracking_callback_thermalmeter()933 rtlpriv->dm.thermalvalue_avg[i]; in rtl92d_dm_txpower_tracking_callback_thermalmeter()938 thermalvalue = (u8) (thermalvalue_avg / in rtl92d_dm_txpower_tracking_callback_thermalmeter()
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()
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()
1675 rtldm->thermalvalue_avg[rtldm->thermalvalue_avg_index] = thermal_value; in rtl8812ae_dm_txpower_tracking_callback_thermalmeter()1682 if (rtldm->thermalvalue_avg[i]) { in rtl8812ae_dm_txpower_tracking_callback_thermalmeter()1683 thermal_value_avg += rtldm->thermalvalue_avg[i]; in rtl8812ae_dm_txpower_tracking_callback_thermalmeter()2255 rtldm->thermalvalue_avg[rtldm->thermalvalue_avg_index] = thermal_value; in rtl8821ae_dm_txpower_tracking_callback_thermalmeter()2262 if (rtldm->thermalvalue_avg[i]) { in rtl8821ae_dm_txpower_tracking_callback_thermalmeter()2263 thermal_value_avg += rtldm->thermalvalue_avg[i]; in rtl8821ae_dm_txpower_tracking_callback_thermalmeter()
1680 u8 thermalvalue_avg[AVG_THERMAL_NUM]; member