Home
last modified time | relevance | path

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

/linux/drivers/clocksource/
H A Dnomadik-mtu.c63 static void __iomem *mtu_base; variable
76 if (unlikely(!mtu_base)) in nomadik_read_sched_clock()
79 return -readl(mtu_base + MTU_VAL(0)); in nomadik_read_sched_clock()
84 return ~readl_relaxed(mtu_base + MTU_VAL(0)); in nmdk_timer_read_current_timer()
90 writel(1 << 1, mtu_base + MTU_IMSC); in nmdk_clkevt_next()
91 writel(evt, mtu_base + MTU_LR(1)); in nmdk_clkevt_next()
95 mtu_base + MTU_CR(1)); in nmdk_clkevt_next()
104 writel(nmdk_cycle, mtu_base + MTU_LR(1)); in nmdk_clkevt_reset()
105 writel(nmdk_cycle, mtu_base + MTU_BGLR(1)); in nmdk_clkevt_reset()
109 mtu_base + MTU_CR(1)); in nmdk_clkevt_reset()
[all …]