Searched refs:lastinc (Results 1 – 12 of 12) sorted by relevance
37 #define lastinc (gd->arch.lastinc) macro120 if (now >= lastinc) { in get_ticks()125 timestamp += (now - lastinc); in get_ticks()128 timestamp += (0xFFFFFFFF - lastinc) + now; in get_ticks()130 lastinc = now; in get_ticks()
89 gd->arch.lastinc = read_timer(); in timer_init()106 if (now >= gd->arch.lastinc) in get_ticks()107 gd->arch.tbl += (now - gd->arch.lastinc); in get_ticks()109 gd->arch.tbl += (TIMER_MAX_VAL - gd->arch.lastinc) + now; in get_ticks()111 gd->arch.lastinc = now; in get_ticks()
51 gd->arch.lastinc = 0; in timer_init()67 if (now >= gd->arch.lastinc) { in get_timer_raw()69 gd->arch.tbl += now - gd->arch.lastinc; in get_timer_raw()72 gd->arch.tbl += now + TIMER_LOAD_VAL - gd->arch.lastinc; in get_timer_raw()74 gd->arch.lastinc = now; in get_timer_raw()
80 if (now >= gd->arch.lastinc) { /* normal mode (non roll) */ in get_timer_masked()82 gd->arch.tbl += (now - gd->arch.lastinc); in get_timer_masked()85 CONFIG_SYS_HZ)) - gd->arch.lastinc) + now; in get_timer_masked()87 gd->arch.lastinc = now; in get_timer_masked()
60 gd->arch.lastinc = timer_get_us_down(); in timer_init()80 gd->arch.timer_reset_value += gd->arch.lastinc - now; in get_timer()81 gd->arch.lastinc = now; in get_timer()119 gd->arch.lastinc = readl(&timer->tcnto4); in reset_timer_masked()
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()
99 gd->arch.lastinc = readl(&timer_base->counter) / in timer_init()
45 unsigned long lastinc; member
26 #define lastdec gd->arch.lastinc
32 #define lastdec gd->arch.lastinc
31 #define lastdec (gd->arch.lastinc)
83 #define lastdec gd->arch.lastinc
Completed in 10 milliseconds