Home
last modified time | relevance | path

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

/Linux-v6.6/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()
/Linux-v6.6/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
392 tmp_s = container_of(l, struct dm_stat, list_entry); in dm_stats_create()
393 if (WARN_ON(tmp_s->id < s->id)) { in dm_stats_create()
397 if (tmp_s->id > s->id) in dm_stats_create()