Searched refs:timer_base (Results 1 - 2 of 2) sorted by relevance

/u-boot/arch/arm/mach-socfpga/
H A Dtimer.c13 static const struct socfpga_timer *timer_base = (void *)CFG_SYS_TIMERBASE; variable in typeref:struct:socfpga_timer
20 writel(TIMER_LOAD_VAL, &timer_base->load_val);
21 writel(TIMER_LOAD_VAL, &timer_base->curr_val);
22 writel(readl(&timer_base->ctrl) | 0x3, &timer_base->ctrl);
/u-boot/arch/arm/mach-omap2/
H A Dtimer.c30 static struct gptimer *timer_base = (struct gptimer *)CFG_SYS_TIMERBASE; variable in typeref:struct:gptimer
44 writel(TIMER_LOAD_VAL, &timer_base->tldr);
47 &timer_base->tclr);
64 unsigned long now, last = readl(&timer_base->tcrr);
67 now = readl(&timer_base->tcrr);
79 ulong now = readl(&timer_base->tcrr) / (TIMER_CLOCK / CONFIG_SYS_HZ);

Completed in 95 milliseconds