Lines Matching defs:timers
176 struct timers {
191 static struct timers timers;
198 tmr_run(struct timers *tmrs)
220 tmr_add(struct timers *tmrs, int id, int timeout, tmr_cb func, void *arg)
299 tmr_add(&timers, 1, 5, tmr_watchdog, ctx);
328 tmr_run(&timers);
735 tmr_add(&timers, 1, 1, tmr_creg, ctx);
738 tmr_add(&timers, 1, 30, tmr_creg, ctx);
762 tmr_add(&timers, 1, 1, tmr_cgreg, ctx);
765 tmr_add(&timers, 1, 30, tmr_cgreg, ctx);
838 tmr_add(&timers, 1, 15, tmr_status, ctx);
1255 tmr_add(&timers, 1, 5, tmr_status, ctx);
1366 TAILQ_INIT(&timers.head);
1367 timers.res = 1;
1463 tmr_add(&timers, 1, 5, &tmr_watchdog, &ctx);