Lines Matching refs:now
39 void (*timer_func)(uint64_t now, void *timer_func_data),
97 uint64_t now = libinput_now(timer->libinput);
98 if (expire < now) {
100 now - expire > timer_warning_limit)
105 us2ms(now - expire));
106 } else if ((expire - now) > ms2us(5000)) {
108 "timer %s: offset more than 5s, now %d expire %d\n",
110 us2ms(now), us2ms(expire));
141 libinput_timer_handler(struct libinput *libinput , uint64_t now)
150 if (timer->expire <= now) {
154 timer->timer_func(now, timer->timer_func_data);
173 uint64_t now;
184 now = libinput_now(libinput);
185 if (now == 0)
188 libinput_timer_handler(libinput, now);
228 /* All timer users should have destroyed their timers now */
241 * Assume 'now' is the current time check if there is a current timer expiry
245 libinput_timer_flush(struct libinput *libinput, uint64_t now)
248 libinput->timer.next_expiry > now)
251 libinput_timer_handler(libinput, now);