Home
last modified time | relevance | path

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

/linux/arch/arm/kernel/
H A Dsmp_twd.c26 static void __iomem *twd_base; variable
39 writel_relaxed(0, twd_base + TWD_TIMER_CONTROL); in twd_shutdown()
47 twd_base + TWD_TIMER_CONTROL); in twd_set_oneshot()
58 twd_base + TWD_TIMER_LOAD); in twd_set_periodic()
59 writel_relaxed(ctrl, twd_base + TWD_TIMER_CONTROL); in twd_set_periodic()
66 unsigned long ctrl = readl_relaxed(twd_base + TWD_TIMER_CONTROL); in twd_set_next_event()
70 writel_relaxed(evt, twd_base + TWD_TIMER_COUNTER); in twd_set_next_event()
71 writel_relaxed(ctrl, twd_base + TWD_TIMER_CONTROL); in twd_set_next_event()
84 if (readl_relaxed(twd_base + TWD_TIMER_INTSTAT)) { in twd_timer_ack()
85 writel_relaxed(1, twd_base + TWD_TIMER_INTSTAT); in twd_timer_ack()
[all …]
/linux/arch/arm/mach-omap2/
H A Domap4-common.c45 static void __iomem *twd_base; variable
193 u32 twd_int = readl_relaxed(twd_base + TWD_TIMER_INTSTAT); in gic_timer_retrigger()
195 u32 twd_ctrl = readl_relaxed(twd_base + TWD_TIMER_CONTROL); in gic_timer_retrigger()
203 writel_relaxed(1, twd_base + TWD_TIMER_INTSTAT); in gic_timer_retrigger()
205 writel_relaxed(1, twd_base + TWD_TIMER_COUNTER); in gic_timer_retrigger()
207 writel_relaxed(twd_ctrl, twd_base + TWD_TIMER_CONTROL); in gic_timer_retrigger()
321 twd_base = of_iomap(np, 0); in omap_gic_of_init()
323 WARN_ON(!twd_base); in omap_gic_of_init()