Searched refs:TIMER_MAX_VAL (Results 1 – 2 of 2) sorted by relevance
24 #define TIMER_MAX_VAL 0xFFFFFFFF macro43 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()
39 #define TIMER_MAX_VAL 0x00FFFFFF macro53 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()