Home
last modified time | relevance | path

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

/linux-4.19.296/drivers/rtc/
Drtc-sa1100.c39 #define RTSR_ALE BIT(2) /* RTC alarm interrupt enable */ macro
64 if (rtsr & (RTSR_ALE | RTSR_HZE)) { in sa1100_rtc_interrupt()
82 rtsr &= ~RTSR_ALE; in sa1100_rtc_interrupt()
83 writel_relaxed(rtsr & (RTSR_ALE | RTSR_HZE), info->rtsr); in sa1100_rtc_interrupt()
106 rtsr |= RTSR_ALE; in sa1100_rtc_alarm_irq_enable()
108 rtsr &= ~RTSR_ALE; in sa1100_rtc_alarm_irq_enable()
140 alrm->enabled = (rtsr & RTSR_ALE) ? 1 : 0; in sa1100_rtc_read_alarm()
156 (RTSR_HZE | RTSR_ALE | RTSR_AL), info->rtsr); in sa1100_rtc_set_alarm()
159 writel_relaxed(readl_relaxed(info->rtsr) | RTSR_ALE, info->rtsr); in sa1100_rtc_set_alarm()
161 writel_relaxed(readl_relaxed(info->rtsr) & ~RTSR_ALE, info->rtsr); in sa1100_rtc_set_alarm()
Drtc-pxa.c56 #define RTSR_ALE (1 << 2) /* RTC alarm interrupt enable */ macro