Lines Matching refs:npcm7xx_to
134 static struct timer_of npcm7xx_to = { variable
158 timer_of_base(&npcm7xx_to) + NPCM7XX_REG_TCSR0); in npcm7xx_clockevents_init()
161 timer_of_base(&npcm7xx_to) + NPCM7XX_REG_TISR); in npcm7xx_clockevents_init()
163 npcm7xx_to.clkevt.cpumask = cpumask_of(0); in npcm7xx_clockevents_init()
164 clockevents_config_and_register(&npcm7xx_to.clkevt, in npcm7xx_clockevents_init()
165 timer_of_rate(&npcm7xx_to), in npcm7xx_clockevents_init()
174 timer_of_base(&npcm7xx_to) + NPCM7XX_REG_TCSR1); in npcm7xx_clocksource_init()
176 timer_of_base(&npcm7xx_to) + NPCM7XX_REG_TICR1); in npcm7xx_clocksource_init()
178 val = readl(timer_of_base(&npcm7xx_to) + NPCM7XX_REG_TCSR1); in npcm7xx_clocksource_init()
180 writel(val, timer_of_base(&npcm7xx_to) + NPCM7XX_REG_TCSR1); in npcm7xx_clocksource_init()
182 clocksource_mmio_init(timer_of_base(&npcm7xx_to) + in npcm7xx_clocksource_init()
184 "npcm7xx-timer1", timer_of_rate(&npcm7xx_to), in npcm7xx_clocksource_init()
194 ret = timer_of_init(np, &npcm7xx_to); in npcm7xx_timer_init()
200 npcm7xx_to.of_clk.rate = npcm7xx_to.of_clk.rate / in npcm7xx_timer_init()
216 timer_of_base(&npcm7xx_to), timer_of_irq(&npcm7xx_to)); in npcm7xx_timer_init()