Home
last modified time | relevance | path

Searched refs:npcm7xx_to (Results 1 – 1 of 1) sorted by relevance

/kernel/linux/linux-5.10/drivers/clocksource/
Dtimer-npcm7xx.c134 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()
[all …]