Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/staging/rtl8723bs/core/
Drtw_recv.c2093 u32 tmp_s, tmp_q; in rtw_signal_stat_timer_hdl() local
2135 tmp_s = (avg_signal_strength+(_alpha-1)*recvpriv->signal_strength); in rtw_signal_stat_timer_hdl()
2136 if (tmp_s % _alpha) in rtw_signal_stat_timer_hdl()
2137 tmp_s = tmp_s/_alpha + 1; in rtw_signal_stat_timer_hdl()
2139 tmp_s = tmp_s/_alpha; in rtw_signal_stat_timer_hdl()
2140 if (tmp_s > 100) in rtw_signal_stat_timer_hdl()
2141 tmp_s = 100; in rtw_signal_stat_timer_hdl()
2151 recvpriv->signal_strength = tmp_s; in rtw_signal_stat_timer_hdl()
2152 recvpriv->rssi = (s8)translate_percentage_to_dbm(tmp_s); in rtw_signal_stat_timer_hdl()
/linux-6.12.1/drivers/md/
Ddm-stats.c247 struct dm_stat *tmp_s; in dm_stats_recalc_precise_timestamps() local
251 tmp_s = container_of(l, struct dm_stat, list_entry); in dm_stats_recalc_precise_timestamps()
252 if (tmp_s->stat_flags & STAT_PRECISE_TIMESTAMPS) { in dm_stats_recalc_precise_timestamps()
270 struct dm_stat *s, *tmp_s; in dm_stats_create() local
401 tmp_s = container_of(l, struct dm_stat, list_entry); in dm_stats_create()
402 if (WARN_ON(tmp_s->id < s->id)) { in dm_stats_create()
406 if (tmp_s->id > s->id) in dm_stats_create()