Home
last modified time | relevance | path

Searched refs:TIMER_MAX_VAL (Results 1 – 2 of 2) sorted by relevance

/u-boot/arch/arm/cpu/arm920t/ep93xx/
A Dtimer.c27 #define TIMER_MAX_VAL 0xFFFFFFFF macro
46 const unsigned long now = TIMER_MAX_VAL - readl(&timer_regs->timer3.value); in read_timer()
52 timer.ticks += TIMER_MAX_VAL - timer.last_read + now; in read_timer()
97 writel(TIMER_MAX_VAL, &timer_regs->timer3.load); in timer_init()
/u-boot/arch/arm/cpu/armv7m/
A Dsystick-timer.c43 #define TIMER_MAX_VAL 0x00FFFFFF macro
57 return TIMER_MAX_VAL - readl(&systick->current_val); in read_timer()
65 writel(TIMER_MAX_VAL, &systick->reload_val); in timer_init()
109 gd->arch.tbl += (TIMER_MAX_VAL - gd->arch.lastinc) + now; in get_ticks()

Completed in 3 milliseconds