Home
last modified time | relevance | path

Searched refs:lastinc (Results 1 – 13 of 13) sorted by relevance

/openbmc/u-boot/arch/arm/cpu/arm926ejs/mx27/
H A Dtimer.c32 #define lastinc (gd->arch.lastinc) macro
115 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()
/openbmc/u-boot/arch/arm/cpu/armv7m/
H A Dsystick-timer.c85 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()
/openbmc/u-boot/arch/arm/mach-at91/arm920t/
H A Dtimer.c47 gd->arch.lastinc = 0; in timer_init()
63 if (now >= gd->arch.lastinc) { in get_timer_raw()
65 gd->arch.tbl += now - gd->arch.lastinc; in get_timer_raw()
68 gd->arch.tbl += now + TIMER_LOAD_VAL - gd->arch.lastinc; in get_timer_raw()
70 gd->arch.lastinc = now; in get_timer_raw()
/openbmc/u-boot/arch/arm/cpu/armv7/s5p-common/
H A Dtimer.c56 gd->arch.lastinc = timer_get_us_down(); in timer_init()
76 gd->arch.timer_reset_value += gd->arch.lastinc - now; in get_timer()
77 gd->arch.lastinc = now; in get_timer()
115 gd->arch.lastinc = readl(&timer->tcnto4); in reset_timer_masked()
/openbmc/u-boot/arch/arm/mach-omap2/
H A Dtimer.c76 if (now >= gd->arch.lastinc) { /* normal mode (non roll) */ in get_timer_masked()
78 gd->arch.tbl += (now - gd->arch.lastinc); in get_timer_masked()
81 CONFIG_SYS_HZ)) - gd->arch.lastinc) + now; in get_timer_masked()
83 gd->arch.lastinc = now; in get_timer_masked()
/openbmc/u-boot/arch/arm/cpu/armv7/sunxi/
H A Dtimer.c63 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()
/openbmc/u-boot/arch/m68k/lib/
H A Dtime.c116 static unsigned short lastinc; variable
148 timerp->pmr = lastinc = 0; in timer_init()
160 diff = -(now - lastinc); in get_timer()
163 lastinc = now; in get_timer()
/openbmc/u-boot/arch/arm/include/asm/
H A Dglobal_data.h36 unsigned long lastinc; member
/openbmc/u-boot/arch/arm/mach-zynq/
H A Dtimer.c95 gd->arch.lastinc = readl(&timer_base->counter) / in timer_init()
/openbmc/u-boot/arch/arm/cpu/armv7/stv0991/
H A Dtimer.c22 #define lastdec gd->arch.lastinc
/openbmc/u-boot/arch/arm/cpu/arm926ejs/spear/
H A Dtimer.c27 #define lastdec gd->arch.lastinc
/openbmc/u-boot/arch/arm/cpu/arm926ejs/mxs/
H A Dtimer.c27 #define lastdec (gd->arch.lastinc)
/openbmc/u-boot/arch/arm/mach-orion5x/
H A Dtimer.c79 #define lastdec gd->arch.lastinc