Lines Matching refs:now
61 ulong now = TICKS_TO_HZ(read_timer()); in get_timer_masked() local
63 if (now >= gd->arch.lastinc) /* normal (non rollover) */ in get_timer_masked()
64 gd->arch.tbl += (now - gd->arch.lastinc); in get_timer_masked()
68 - gd->arch.lastinc) + now; in get_timer_masked()
70 gd->arch.lastinc = now; in get_timer_masked()
84 ulong now, last = read_timer(); in __udelay() local
87 now = read_timer(); in __udelay()
88 if (now > last) /* normal (non rollover) */ in __udelay()
89 tmo -= now - last; in __udelay()
91 tmo -= TIMER_LOAD_VAL - last + now; in __udelay()
92 last = now; in __udelay()