Home
last modified time | relevance | path

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

/openbmc/linux/drivers/clocksource/
H A Dtimer-pxa.c100 static unsigned long osmr[4], oier, oscr; variable
104 osmr[0] = timer_readl(OSMR0); in pxa_timer_suspend()
105 osmr[1] = timer_readl(OSMR1); in pxa_timer_suspend()
106 osmr[2] = timer_readl(OSMR2); in pxa_timer_suspend()
107 osmr[3] = timer_readl(OSMR3); in pxa_timer_suspend()
120 if (osmr[0] - oscr < MIN_OSCR_DELTA) in pxa_timer_resume()
121 osmr[0] += MIN_OSCR_DELTA; in pxa_timer_resume()
123 timer_writel(osmr[0], OSMR0); in pxa_timer_resume()
124 timer_writel(osmr[1], OSMR1); in pxa_timer_resume()
125 timer_writel(osmr[2], OSMR2); in pxa_timer_resume()
[all …]