static void sun5i_clkevt_time_stop(struct sun5i_timer_clkevt *ce, u8 timer) { u32 val = readl(ce->timer.base + TIMER_CTL_REG(timer)); writel(val & ~TIMER_CTL_ENABLE, ce->timer.base + TIMER_CTL_REG(timer)); sun5i_clkevt_sync(ce); }
static void sun5i_clkevt_time_stop(u8 timer) { u32 val = readl(timer_base + TIMER_CTL_REG(timer)); writel(val & ~TIMER_CTL_ENABLE, timer_base + TIMER_CTL_REG(timer)); sun5i_clkevt_sync(); }