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