Home
last modified time | relevance | path

Searched refs:tmp_s (Results 1 – 3 of 3) sorted by relevance

/drivers/staging/rtl8723bs/core/
Drtw_recv.c2097 u32 tmp_s, tmp_q; in rtw_signal_stat_timer_hdl() local
2139 tmp_s = (avg_signal_strength+(_alpha-1)*recvpriv->signal_strength); in rtw_signal_stat_timer_hdl()
2140 if (tmp_s % _alpha) in rtw_signal_stat_timer_hdl()
2141 tmp_s = tmp_s/_alpha + 1; in rtw_signal_stat_timer_hdl()
2143 tmp_s = tmp_s/_alpha; in rtw_signal_stat_timer_hdl()
2144 if (tmp_s > 100) in rtw_signal_stat_timer_hdl()
2145 tmp_s = 100; in rtw_signal_stat_timer_hdl()
2155 recvpriv->signal_strength = tmp_s; in rtw_signal_stat_timer_hdl()
2156 recvpriv->rssi = (s8)translate_percentage_to_dbm(tmp_s); in rtw_signal_stat_timer_hdl()
/drivers/staging/r8188eu/core/
Drtw_recv.c1975 u32 tmp_s, tmp_q; in rtw_signal_stat_timer_hdl() local
1999 tmp_s = (avg_signal_strength + (_alpha - 1) * recvpriv->signal_strength); in rtw_signal_stat_timer_hdl()
2000 if (tmp_s % _alpha) in rtw_signal_stat_timer_hdl()
2001 tmp_s = tmp_s / _alpha + 1; in rtw_signal_stat_timer_hdl()
2003 tmp_s = tmp_s / _alpha; in rtw_signal_stat_timer_hdl()
2004 if (tmp_s > 100) in rtw_signal_stat_timer_hdl()
2005 tmp_s = 100; in rtw_signal_stat_timer_hdl()
2015 recvpriv->signal_strength = tmp_s; in rtw_signal_stat_timer_hdl()
2016 recvpriv->rssi = (s8)translate_percentage_to_dbm(tmp_s); in rtw_signal_stat_timer_hdl()
/drivers/md/
Ddm-stats.c244 struct dm_stat *tmp_s; in dm_stats_recalc_precise_timestamps() local
248 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() local
390 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()