Lines Matching refs:now
209 timeout_handler(struct timer_entry *t, u32_t now)
213 LWIP_DEBUGF(LOWPOWER_DEBUG, ("%s timeout: now:%u\n", t->name, now));
218 LWIP_UNUSED_ARG(now);
268 get_sleep_time(u32_t now)
290 t->timeout = now;
295 if (temp <= now - t->timeout) {
301 timeout_handler(t, now);
305 temp = temp - (now - t->timeout);
310 LWIP_DEBUGF(LOWPOWER_DEBUG, ("msec = %u now = %u\n", msec, now));
315 check_timeout(u32_t now)
325 LWIP_DEBUGF(LOWPOWER_DEBUG, ("now = %u\n", now));
334 msec = now - t->timeout;
344 timeout_handler(t, now);
358 u32_t now;
378 now = sys_now();
379 if ((now - g_last_check_timeout) >= TIMEOUT_CHECK) {