Searched refs:timer_base (Results 1 – 3 of 3) sorted by relevance
12 static const struct socfpga_timer *timer_base = (void *)CONFIG_SYS_TIMERBASE; variable19 writel(TIMER_LOAD_VAL, &timer_base->load_val); in timer_init()20 writel(TIMER_LOAD_VAL, &timer_base->curr_val); in timer_init()21 writel(readl(&timer_base->ctrl) | 0x3, &timer_base->ctrl); in timer_init()
25 static struct gptimer *timer_base = (struct gptimer *)CONFIG_SYS_TIMERBASE; variable38 writel(TIMER_LOAD_VAL, &timer_base->tldr); in timer_init()41 &timer_base->tclr); in timer_init()58 unsigned long now, last = readl(&timer_base->tcrr); in __udelay()61 now = readl(&timer_base->tcrr); in __udelay()73 ulong now = readl(&timer_base->tcrr) / (TIMER_CLOCK / CONFIG_SYS_HZ); in get_timer_masked()
46 static struct scu_timer *timer_base = variable84 writel(0xFFFFFFFF, &timer_base->load); in timer_init()91 clrsetbits_le32(&timer_base->control, SCUTIMER_CONTROL_PRESCALER_MASK, in timer_init()95 gd->arch.lastinc = readl(&timer_base->counter) / in timer_init()