Searched refs:tmp_s (Results 1 – 3 of 3) sorted by relevance
2098 u32 tmp_s, tmp_q; in rtw_signal_stat_timer_hdl() local2140 tmp_s = (avg_signal_strength+(_alpha-1)*recvpriv->signal_strength); in rtw_signal_stat_timer_hdl()2141 if (tmp_s % _alpha) in rtw_signal_stat_timer_hdl()2142 tmp_s = tmp_s/_alpha + 1; in rtw_signal_stat_timer_hdl()2144 tmp_s = tmp_s/_alpha; in rtw_signal_stat_timer_hdl()2145 if (tmp_s > 100) in rtw_signal_stat_timer_hdl()2146 tmp_s = 100; in rtw_signal_stat_timer_hdl()2156 recvpriv->signal_strength = tmp_s; in rtw_signal_stat_timer_hdl()2157 recvpriv->rssi = (s8)translate_percentage_to_dbm(tmp_s); in rtw_signal_stat_timer_hdl()
2011 u32 tmp_s, tmp_q; in rtw_signal_stat_timer_hdl() local2035 tmp_s = (avg_signal_strength + (_alpha - 1) * recvpriv->signal_strength); in rtw_signal_stat_timer_hdl()2036 if (tmp_s % _alpha) in rtw_signal_stat_timer_hdl()2037 tmp_s = tmp_s / _alpha + 1; in rtw_signal_stat_timer_hdl()2039 tmp_s = tmp_s / _alpha; in rtw_signal_stat_timer_hdl()2040 if (tmp_s > 100) in rtw_signal_stat_timer_hdl()2041 tmp_s = 100; in rtw_signal_stat_timer_hdl()2051 recvpriv->signal_strength = tmp_s; in rtw_signal_stat_timer_hdl()2052 recvpriv->rssi = (s8)translate_percentage_to_dbm(tmp_s); in rtw_signal_stat_timer_hdl()
244 struct dm_stat *tmp_s; in dm_stats_recalc_precise_timestamps() local248 tmp_s = container_of(l, struct dm_stat, list_entry); in dm_stats_recalc_precise_timestamps()249 if (tmp_s->stat_flags & STAT_PRECISE_TIMESTAMPS) { in dm_stats_recalc_precise_timestamps()267 struct dm_stat *s, *tmp_s; in dm_stats_create() local390 tmp_s = container_of(l, struct dm_stat, list_entry); in dm_stats_create()391 if (WARN_ON(tmp_s->id < s->id)) { in dm_stats_create()395 if (tmp_s->id > s->id) in dm_stats_create()