Searched refs:timer_regs (Results 1 – 4 of 4) sorted by relevance
43 struct timer_regs *timer_regs = (struct timer_regs *)TIMER_BASE; in read_timer() local44 const unsigned long now = TIMER_MAX_VAL - readl(&timer_regs->timer3.value); in read_timer()94 struct timer_regs *timer_regs = (struct timer_regs *)TIMER_BASE; in timer_init() local97 writel(TIMER_CLKSEL, &timer_regs->timer3.control); in timer_init()100 writel(TIMER_MAX_VAL, &timer_regs->timer3.load); in timer_init()104 &timer_regs->timer3.control); in timer_init()
13 static struct timer_regs *timer0 = (struct timer_regs *)TIMER0_BASE;14 static struct timer_regs *timer1 = (struct timer_regs *)TIMER1_BASE;25 static void lpc32xx_timer_reset(struct timer_regs *timer, u32 freq) in lpc32xx_timer_reset()39 static void lpc32xx_timer_count(struct timer_regs *timer, int enable) in lpc32xx_timer_count()
13 struct timer_regs { struct
437 struct timer_regs { struct