Lines Matching refs:to
58 struct timer_of *to = to_timer_of(evt); in npcm7xx_timer_resume() local
61 val = readl(timer_of_base(to) + NPCM7XX_REG_TCSR0); in npcm7xx_timer_resume()
63 writel(val, timer_of_base(to) + NPCM7XX_REG_TCSR0); in npcm7xx_timer_resume()
70 struct timer_of *to = to_timer_of(evt); in npcm7xx_timer_shutdown() local
73 val = readl(timer_of_base(to) + NPCM7XX_REG_TCSR0); in npcm7xx_timer_shutdown()
75 writel(val, timer_of_base(to) + NPCM7XX_REG_TCSR0); in npcm7xx_timer_shutdown()
82 struct timer_of *to = to_timer_of(evt); in npcm7xx_timer_oneshot() local
85 val = readl(timer_of_base(to) + NPCM7XX_REG_TCSR0); in npcm7xx_timer_oneshot()
88 writel(val, timer_of_base(to) + NPCM7XX_REG_TCSR0); in npcm7xx_timer_oneshot()
95 struct timer_of *to = to_timer_of(evt); in npcm7xx_timer_periodic() local
98 writel(timer_of_period(to), timer_of_base(to) + NPCM7XX_REG_TICR0); in npcm7xx_timer_periodic()
100 val = readl(timer_of_base(to) + NPCM7XX_REG_TCSR0); in npcm7xx_timer_periodic()
103 writel(val, timer_of_base(to) + NPCM7XX_REG_TCSR0); in npcm7xx_timer_periodic()
111 struct timer_of *to = to_timer_of(clk); in npcm7xx_clockevent_set_next_event() local
114 writel(evt, timer_of_base(to) + NPCM7XX_REG_TICR0); in npcm7xx_clockevent_set_next_event()
115 val = readl(timer_of_base(to) + NPCM7XX_REG_TCSR0); in npcm7xx_clockevent_set_next_event()
117 writel(val, timer_of_base(to) + NPCM7XX_REG_TCSR0); in npcm7xx_clockevent_set_next_event()
125 struct timer_of *to = to_timer_of(evt); in npcm7xx_timer0_interrupt() local
127 writel(NPCM7XX_T0_CLR_INT, timer_of_base(to) + NPCM7XX_REG_TISR); in npcm7xx_timer0_interrupt()