Home
last modified time | relevance | path

Searched refs:lastdec (Results 1 – 4 of 4) sorted by relevance

/arch/arm/mach-orion5x/
A Dtimer.c83 #define lastdec gd->arch.lastinc macro
89 if (lastdec >= now) { in get_timer_masked()
91 timestamp += lastdec - now; in get_timer_masked()
94 timestamp += lastdec + in get_timer_masked()
97 lastdec = now; in get_timer_masked()
154 lastdec = read_timer(); in timer_init_r()
/arch/arm/cpu/arm926ejs/mxs/
A Dtimer.c30 #define lastdec (gd->arch.lastinc) macro
100 if (lastdec >= now) { in get_ticks()
105 timestamp += (lastdec - now); in get_ticks()
108 timestamp += (TIMER_LOAD_VAL - now) + lastdec; in get_ticks()
111 lastdec = now; in get_ticks()
/arch/arm/cpu/arm720t/
A Dinterrupts.c16 static ulong lastdec; variable
21 lastdec = 0; in timer_init()
/arch/arm/mach-nexell/
A Dtimer.c26 static unsigned long lastdec __section(".data");
185 lastdec = timer_read(base, ch); in reset_timer_masked()
197 if (now >= lastdec) { /* normal mode (non roll) */ in get_timer_masked()
199 timestamp += now - lastdec; in get_timer_masked()
208 timestamp += now + TIMER_COUNT - lastdec; in get_timer_masked()
211 lastdec = now; in get_timer_masked()
213 debug("now=%lu, last=%lu, timestamp=%lu\n", now, lastdec, timestamp); in get_timer_masked()

Completed in 8 milliseconds