Searched refs:lastinc (Results 1 – 13 of 13) sorted by relevance
32 #define lastinc (gd->arch.lastinc) macro115 if (now >= lastinc) { in get_ticks()120 timestamp += (now - lastinc); in get_ticks()123 timestamp += (0xFFFFFFFF - lastinc) + now; in get_ticks()125 lastinc = now; in get_ticks()
85 gd->arch.lastinc = read_timer(); in timer_init()102 if (now >= gd->arch.lastinc) in get_ticks()103 gd->arch.tbl += (now - gd->arch.lastinc); in get_ticks()105 gd->arch.tbl += (TIMER_MAX_VAL - gd->arch.lastinc) + now; in get_ticks()107 gd->arch.lastinc = now; in get_ticks()
47 gd->arch.lastinc = 0; in timer_init()73 if (now >= gd->arch.lastinc) { in get_timer_raw()75 gd->arch.tbl += now - gd->arch.lastinc; in get_timer_raw()78 gd->arch.tbl += now + TIMER_LOAD_VAL - gd->arch.lastinc; in get_timer_raw()80 gd->arch.lastinc = now; in get_timer_raw()
55 gd->arch.lastinc = timer_get_us_down(); in timer_init()75 gd->arch.timer_reset_value += gd->arch.lastinc - now; in get_timer()76 gd->arch.lastinc = now; in get_timer()114 gd->arch.lastinc = readl(&timer->tcnto4); in reset_timer_masked()
75 if (now >= gd->arch.lastinc) { /* normal mode (non roll) */ in get_timer_masked()77 gd->arch.tbl += (now - gd->arch.lastinc); in get_timer_masked()80 CONFIG_SYS_HZ)) - gd->arch.lastinc) + now; in get_timer_masked()82 gd->arch.lastinc = now; in get_timer_masked()
68 if (now >= gd->arch.lastinc) /* normal (non rollover) */ in get_timer_masked()69 gd->arch.tbl += (now - gd->arch.lastinc); in get_timer_masked()73 - gd->arch.lastinc) + now; in get_timer_masked()75 gd->arch.lastinc = now; in get_timer_masked()
116 static unsigned short lastinc; variable148 timerp->pmr = lastinc = 0; in timer_init()160 diff = -(now - lastinc); in get_timer()163 lastinc = now; in get_timer()
36 unsigned long lastinc; member
95 gd->arch.lastinc = readl(&timer_base->counter) / in timer_init()
22 #define lastdec gd->arch.lastinc
25 #define lastdec gd->arch.lastinc
27 #define lastdec (gd->arch.lastinc)
79 #define lastdec gd->arch.lastinc