Lines Matching refs:timer
47 #define setup_timer(timer, func, dat) \
49 (timer)->function = (func); \
50 (timer)->data = (dat); \
51 callout_init(&(timer)->timer_callout, 1); \
54 #define init_timer(timer) \
56 (timer)->function = NULL; \
57 (timer)->data = 0; \
58 callout_init(&(timer)->timer_callout, 1); \
64 #define del_timer(timer) callout_stop(&(timer)->timer_callout)
65 #define del_timer_sync(timer) callout_drain(&(timer)->timer_callout)
66 #define timer_pending(timer) callout_pending(&(timer)->timer_callout)