Searched refs:timeridx (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/drivers/clocksource/
H A Dtime-pistachio.c95 static void pistachio_clksrc_set_mode(struct clocksource *cs, int timeridx, pistachio_clksrc_set_mode() argument
101 val = gpt_readl(pcs->base, TIMER_CFG, timeridx); pistachio_clksrc_set_mode()
107 gpt_writel(pcs->base, val, TIMER_CFG, timeridx); pistachio_clksrc_set_mode()
110 static void pistachio_clksrc_enable(struct clocksource *cs, int timeridx) pistachio_clksrc_enable() argument
115 pistachio_clksrc_set_mode(cs, timeridx, false); pistachio_clksrc_enable()
116 gpt_writel(pcs->base, RELOAD_VALUE, TIMER_RELOAD_VALUE, timeridx); pistachio_clksrc_enable()
117 pistachio_clksrc_set_mode(cs, timeridx, true); pistachio_clksrc_enable()
120 static void pistachio_clksrc_disable(struct clocksource *cs, int timeridx) pistachio_clksrc_disable() argument
123 pistachio_clksrc_set_mode(cs, timeridx, false); pistachio_clksrc_disable()

Completed in 44 milliseconds