Searched refs:tmp_s (Results 1 – 3 of 3) sorted by relevance
2140 u32 tmp_s, tmp_q; in rtw_signal_stat_timer_hdl() local2164 tmp_s = (avg_signal_strength+(_alpha-1)*recvpriv->signal_strength); in rtw_signal_stat_timer_hdl()2165 if (tmp_s % _alpha) in rtw_signal_stat_timer_hdl()2166 tmp_s = tmp_s/_alpha + 1; in rtw_signal_stat_timer_hdl()2168 tmp_s = tmp_s/_alpha; in rtw_signal_stat_timer_hdl()2169 if (tmp_s > 100) in rtw_signal_stat_timer_hdl()2170 tmp_s = 100; in rtw_signal_stat_timer_hdl()2180 recvpriv->signal_strength = tmp_s; in rtw_signal_stat_timer_hdl()2181 recvpriv->rssi = (s8)translate_percentage_to_dbm(tmp_s); in rtw_signal_stat_timer_hdl()
2344 u32 tmp_s, tmp_q; in rtw_signal_stat_timer_hdl23a() local2382 tmp_s = (avg_signal_strength + (_alpha - 1) * in rtw_signal_stat_timer_hdl23a()2384 if (tmp_s %_alpha) in rtw_signal_stat_timer_hdl23a()2385 tmp_s = tmp_s / _alpha + 1; in rtw_signal_stat_timer_hdl23a()2387 tmp_s = tmp_s / _alpha; in rtw_signal_stat_timer_hdl23a()2388 if (tmp_s > 100) in rtw_signal_stat_timer_hdl23a()2389 tmp_s = 100; in rtw_signal_stat_timer_hdl23a()2400 recvpriv->signal_strength = tmp_s; in rtw_signal_stat_timer_hdl23a()2401 recvpriv->rssi = (s8)translate_percentage_to_dbm(tmp_s); in rtw_signal_stat_timer_hdl23a()
236 struct dm_stat *s, *tmp_s; in dm_stats_create() local315 tmp_s = container_of(l, struct dm_stat, list_entry); in dm_stats_create()316 if (WARN_ON(tmp_s->id < s->id)) { in dm_stats_create()320 if (tmp_s->id > s->id) in dm_stats_create()