Searched refs:timer_regs (Results 1 – 4 of 4) sorted by relevance
42 struct timer_regs *timer_regs = (struct timer_regs *)TIMER_BASE; in read_timer() local43 const unsigned long now = TIMER_MAX_VAL - readl(&timer_regs->timer3.value); in read_timer()93 struct timer_regs *timer_regs = (struct timer_regs *)TIMER_BASE; in timer_init() local96 writel(TIMER_CLKSEL, &timer_regs->timer3.control); in timer_init()99 writel(TIMER_MAX_VAL, &timer_regs->timer3.load); in timer_init()103 &timer_regs->timer3.control); in timer_init()
12 static struct timer_regs *timer0 = (struct timer_regs *)TIMER0_BASE;13 static struct timer_regs *timer1 = (struct timer_regs *)TIMER1_BASE;24 static void lpc32xx_timer_reset(struct timer_regs *timer, u32 freq) in lpc32xx_timer_reset()38 static void lpc32xx_timer_count(struct timer_regs *timer, int enable) in lpc32xx_timer_count()
12 struct timer_regs { struct
436 struct timer_regs { struct