Lines Matching defs:now
196 unsigned long now = timer_read(base, ch); /* current tick value */
198 if (now >= lastdec) { /* normal mode (non roll) */
200 timestamp += now - lastdec;
203 /* nts = ts + ld + (TLV - now)
205 * (TLV-now) amount of time after passing though -1
209 timestamp += now + TIMER_COUNT - lastdec;
212 lastdec = now;
214 debug("now=%lu, last=%lu, timestamp=%lu\n", now, lastdec, timestamp);
282 unsigned long now = get_timer_masked();
284 diff = endtime - now;