Lines Matching refs:now
65 ulong now = TICKS_TO_HZ(read_timer()); in get_timer_masked() local
67 if (now >= gd->arch.lastinc) /* normal (non rollover) */ in get_timer_masked()
68 gd->arch.tbl += (now - gd->arch.lastinc); in get_timer_masked()
72 - gd->arch.lastinc) + now; in get_timer_masked()
74 gd->arch.lastinc = now; in get_timer_masked()
88 ulong now, last = read_timer(); in __udelay() local
91 now = read_timer(); in __udelay()
92 if (now > last) /* normal (non rollover) */ in __udelay()
93 tmo -= now - last; in __udelay()
95 tmo -= TIMER_LOAD_VAL - last + now; in __udelay()
96 last = now; in __udelay()