Lines Matching refs:timer
31 static void lv_async_timer_cb(lv_timer_t * timer);
54 lv_timer_t * timer = lv_timer_create(lv_async_timer_cb, 0, info); in lv_async_call() local
56 if(timer == NULL) { in lv_async_call()
64 lv_timer_set_repeat_count(timer, 1); in lv_async_call()
70 lv_timer_t * timer = lv_timer_get_next(NULL); in lv_async_call_cancel() local
73 while(timer != NULL) { in lv_async_call_cancel()
75 lv_timer_t * timer_next = lv_timer_get_next(timer); in lv_async_call_cancel()
78 if(timer->timer_cb == lv_async_timer_cb) { in lv_async_call_cancel()
79 lv_async_info_t * info = (lv_async_info_t *)timer->user_data; in lv_async_call_cancel()
83 lv_timer_del(timer); in lv_async_call_cancel()
89 timer = timer_next; in lv_async_call_cancel()
99 static void lv_async_timer_cb(lv_timer_t * timer) in lv_async_timer_cb() argument
101 lv_async_info_t * info = (lv_async_info_t *)timer->user_data; in lv_async_timer_cb()