Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/rtc/
Drtc-vr41xx.c78 static unsigned int alarm_enabled; variable
147 wkalrm->enabled = alarm_enabled; in vr41xx_rtc_read_alarm()
164 if (alarm_enabled) in vr41xx_rtc_set_alarm()
174 alarm_enabled = wkalrm->enabled; in vr41xx_rtc_set_alarm()
207 if (!alarm_enabled) { in vr41xx_rtc_alarm_irq_enable()
209 alarm_enabled = 1; in vr41xx_rtc_alarm_irq_enable()
212 if (alarm_enabled) { in vr41xx_rtc_alarm_irq_enable()
214 alarm_enabled = 0; in vr41xx_rtc_alarm_irq_enable()
Drtc-cpcap.c46 bool alarm_enabled; member
78 if (rtc->alarm_enabled == enabled) in cpcap_rtc_alarm_irq_enable()
86 rtc->alarm_enabled = !!enabled; in cpcap_rtc_alarm_irq_enable()
128 if (rtc->alarm_enabled) in cpcap_rtc_set_time()
163 if (rtc->alarm_enabled) in cpcap_rtc_set_time()
177 alrm->enabled = rtc->alarm_enabled; in cpcap_rtc_read_alarm()
202 if (rtc->alarm_enabled) in cpcap_rtc_set_alarm()
214 rtc->alarm_enabled = true; in cpcap_rtc_set_alarm()
Drtc-lpc32xx.c50 unsigned char alarm_enabled; member
92 wkalrm->enabled = rtc->alarm_enabled; in lpc32xx_rtc_read_alarm()
116 rtc->alarm_enabled = wkalrm->enabled; in lpc32xx_rtc_set_alarm()
139 rtc->alarm_enabled = 1; in lpc32xx_rtc_alarm_irq_enable()
142 rtc->alarm_enabled = 0; in lpc32xx_rtc_alarm_irq_enable()
162 rtc->alarm_enabled = 0; in lpc32xx_rtc_alarm_interrupt()
312 if (rtc->alarm_enabled) { in lpc32xx_rtc_thaw()
Drtc-wm831x.c92 unsigned int alarm_enabled:1; member
264 wm831x_rtc->alarm_enabled = 0; in wm831x_rtc_stop_alarm()
272 wm831x_rtc->alarm_enabled = 1; in wm831x_rtc_start_alarm()
352 if (wm831x_rtc->alarm_enabled && device_may_wakeup(dev)) in wm831x_rtc_suspend()
373 if (wm831x_rtc->alarm_enabled) { in wm831x_rtc_resume()
421 wm831x_rtc->alarm_enabled = 1; in wm831x_rtc_probe()
Drtc-pcf50633.c55 int alarm_enabled; member
98 rtc->alarm_enabled = enabled; in pcf50633_rtc_alarm_irq_enable()
179 alrm->enabled = rtc->alarm_enabled; in pcf50633_rtc_read_alarm()
221 rtc->alarm_enabled = alrm->enabled; in pcf50633_rtc_set_alarm()
Drtc-pm8xxx.c79 u8 value[NUM_8_BIT_RTC_REGS], alarm_enabled = 0, rtc_disabled = 0; in pm8xxx_rtc_set_time() local
103 alarm_enabled = 1; in pm8xxx_rtc_set_time()
159 if (alarm_enabled) { in pm8xxx_rtc_set_time()
Drtc-s3c.c40 bool alarm_enabled; member
138 if (info->alarm_enabled && !enabled) in s3c_rtc_setaie()
140 else if (!info->alarm_enabled && enabled) in s3c_rtc_setaie()
143 info->alarm_enabled = enabled; in s3c_rtc_setaie()
Drtc-wm8350.c359 if (wm8350->rtc.alarm_enabled) { in wm8350_rtc_resume()
/Linux-v5.10/include/linux/mfd/wm8350/
Drtc.h261 int alarm_enabled; /* used over suspend/resume */ member