Lines Matching refs:ctrl
51 u32 ctrl = readl_relaxed(event_base + TIMER_ENABLE); in msm_timer_interrupt() local
52 ctrl &= ~TIMER_ENABLE_EN; in msm_timer_interrupt()
53 writel_relaxed(ctrl, event_base + TIMER_ENABLE); in msm_timer_interrupt()
62 u32 ctrl = readl_relaxed(event_base + TIMER_ENABLE); in msm_timer_set_next_event() local
64 ctrl &= ~TIMER_ENABLE_EN; in msm_timer_set_next_event()
65 writel_relaxed(ctrl, event_base + TIMER_ENABLE); in msm_timer_set_next_event()
67 writel_relaxed(ctrl, event_base + TIMER_CLEAR); in msm_timer_set_next_event()
74 writel_relaxed(ctrl | TIMER_ENABLE_EN, event_base + TIMER_ENABLE); in msm_timer_set_next_event()
80 u32 ctrl; in msm_timer_shutdown() local
82 ctrl = readl_relaxed(event_base + TIMER_ENABLE); in msm_timer_shutdown()
83 ctrl &= ~(TIMER_ENABLE_EN | TIMER_ENABLE_CLR_ON_MATCH_EN); in msm_timer_shutdown()
84 writel_relaxed(ctrl, event_base + TIMER_ENABLE); in msm_timer_shutdown()