Searched refs:timer_regs (Results 1 – 6 of 6) 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()88 struct timer_regs *timer_regs = (struct timer_regs *)TIMER_BASE; in timer_init() local91 writel(TIMER_CLKSEL, &timer_regs->timer3.control); in timer_init()94 writel(TIMER_MAX_VAL, &timer_regs->timer3.load); in timer_init()98 &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
45 struct timer_regs { struct63 struct timer_regs __iomem *regs; argument
436 struct timer_regs { struct
97 struct timer_regs { struct136 struct timer_regs context; argument