Lines Matching refs:timer

52 	struct __qdf_timer_t *timer = from_timer(timer, os_timer, os_timer);  in __os_timer_shim()  local
54 timer->callback(timer->context); in __os_timer_shim()
57 static inline QDF_STATUS __qdf_timer_init(struct __qdf_timer_t *timer, in __qdf_timer_init() argument
61 struct timer_list *os_timer = &timer->os_timer; in __qdf_timer_init()
64 timer->callback = func; in __qdf_timer_init()
65 timer->context = arg; in __qdf_timer_init()
82 #define setup_deferrable_timer(timer, fn, data) \ argument
83 __setup_timer((timer), (fn), (data), TIMER_DEFERRABLE)
88 struct __qdf_timer_t *timer = (void *)addr; in __os_timer_shim() local
90 timer->callback(timer->context); in __os_timer_shim()
93 static inline QDF_STATUS __qdf_timer_init(struct __qdf_timer_t *timer, in __qdf_timer_init() argument
97 struct timer_list *os_timer = &timer->os_timer; in __qdf_timer_init()
99 unsigned long addr = (unsigned long)timer; in __qdf_timer_init()
101 timer->callback = func; in __qdf_timer_init()
102 timer->context = arg; in __qdf_timer_init()
133 static inline void __qdf_timer_start(struct __qdf_timer_t *timer, uint32_t msec) in __qdf_timer_start() argument
135 struct timer_list *os_timer = &timer->os_timer; in __qdf_timer_start()
142 void __qdf_timer_start_on(struct __qdf_timer_t *timer, uint32_t msec, in __qdf_timer_start_on() argument
145 struct timer_list *os_timer = &timer->os_timer; in __qdf_timer_start_on()
151 static inline bool __qdf_timer_mod(struct __qdf_timer_t *timer, uint32_t msec) in __qdf_timer_mod() argument
153 return mod_timer(&timer->os_timer, in __qdf_timer_mod()
157 static inline bool __qdf_timer_stop(struct __qdf_timer_t *timer) in __qdf_timer_stop() argument
159 return !!del_timer(&timer->os_timer); in __qdf_timer_stop()
162 static inline void __qdf_timer_free(struct __qdf_timer_t *timer) in __qdf_timer_free() argument
164 struct timer_list *os_timer = &timer->os_timer; in __qdf_timer_free()
172 static inline bool __qdf_timer_sync_cancel(struct __qdf_timer_t *timer) in __qdf_timer_sync_cancel() argument
174 return del_timer_sync(&timer->os_timer); in __qdf_timer_sync_cancel()