Home
last modified time | relevance | path

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

/linux-6.1.9/net/mac80211/
Dled.c247 struct tpt_led_trigger *tpt_trig) in tpt_trig_traffic() argument
251 traffic = tpt_trig->tx_bytes + tpt_trig->rx_bytes; in tpt_trig_traffic()
253 delta = traffic - tpt_trig->prev_traffic; in tpt_trig_traffic()
254 tpt_trig->prev_traffic = traffic; in tpt_trig_traffic()
260 struct tpt_led_trigger *tpt_trig = from_timer(tpt_trig, t, timer); in tpt_trig_timer() local
261 struct ieee80211_local *local = tpt_trig->local; in tpt_trig_timer()
265 if (!tpt_trig->running) in tpt_trig_timer()
268 mod_timer(&tpt_trig->timer, round_jiffies(jiffies + HZ)); in tpt_trig_timer()
270 tpt = tpt_trig_traffic(local, tpt_trig); in tpt_trig_timer()
276 for (i = tpt_trig->blink_table_len - 1; i >= 0; i--) { in tpt_trig_timer()
[all …]