Home
last modified time | relevance | path

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

/external/u-boot/arch/arm/cpu/arm920t/ep93xx/
Dtimer.c24 #define TIMER_MAX_VAL 0xFFFFFFFF macro
43 const unsigned long now = TIMER_MAX_VAL - readl(&timer_regs->timer3.value); in read_timer()
49 timer.ticks += TIMER_MAX_VAL - timer.last_read + now; in read_timer()
99 writel(TIMER_MAX_VAL, &timer_regs->timer3.load); in timer_init()
/external/u-boot/arch/arm/cpu/armv7m/
Dsystick-timer.c39 #define TIMER_MAX_VAL 0x00FFFFFF macro
53 return TIMER_MAX_VAL - readl(&systick->current_val); in read_timer()
61 writel(TIMER_MAX_VAL, &systick->reload_val); in timer_init()
105 gd->arch.tbl += (TIMER_MAX_VAL - gd->arch.lastinc) + now; in get_ticks()