Lines Matching refs:ctrl
53 u32 ctrl = readl_relaxed(event_base + TIMER_ENABLE); in msm_timer_interrupt() local
54 ctrl &= ~TIMER_ENABLE_EN; in msm_timer_interrupt()
55 writel_relaxed(ctrl, event_base + TIMER_ENABLE); in msm_timer_interrupt()
64 u32 ctrl = readl_relaxed(event_base + TIMER_ENABLE); in msm_timer_set_next_event() local
66 ctrl &= ~TIMER_ENABLE_EN; in msm_timer_set_next_event()
67 writel_relaxed(ctrl, event_base + TIMER_ENABLE); in msm_timer_set_next_event()
69 writel_relaxed(ctrl, event_base + TIMER_CLEAR); in msm_timer_set_next_event()
76 writel_relaxed(ctrl | TIMER_ENABLE_EN, event_base + TIMER_ENABLE); in msm_timer_set_next_event()
83 u32 ctrl; in msm_timer_set_mode() local
85 ctrl = readl_relaxed(event_base + TIMER_ENABLE); in msm_timer_set_mode()
86 ctrl &= ~(TIMER_ENABLE_EN | TIMER_ENABLE_CLR_ON_MATCH_EN); in msm_timer_set_mode()
99 writel_relaxed(ctrl, event_base + TIMER_ENABLE); in msm_timer_set_mode()