Home
last modified time | relevance | path

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

/net/mac80211/
Dled.c240 struct tpt_led_trigger *tpt_trig) in tpt_trig_traffic() argument
244 traffic = tpt_trig->tx_bytes + tpt_trig->rx_bytes; in tpt_trig_traffic()
246 delta = traffic - tpt_trig->prev_traffic; in tpt_trig_traffic()
247 tpt_trig->prev_traffic = traffic; in tpt_trig_traffic()
254 struct tpt_led_trigger *tpt_trig = local->tpt_led_trigger; in tpt_trig_timer() local
259 if (!tpt_trig->running) in tpt_trig_timer()
262 mod_timer(&tpt_trig->timer, round_jiffies(jiffies + HZ)); in tpt_trig_timer()
264 tpt = tpt_trig_traffic(local, tpt_trig); in tpt_trig_timer()
270 for (i = tpt_trig->blink_table_len - 1; i >= 0; i--) { in tpt_trig_timer()
271 if (tpt_trig->blink_table[i].throughput < 0 || in tpt_trig_timer()
[all …]