Home
last modified time | relevance | path

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

/openbmc/linux/drivers/rtc/
H A Drtc-pcf50633.c138 int alarm_masked, ret = 0; in pcf50633_rtc_set_time() local
155 alarm_masked = pcf50633_irq_mask_get(rtc->pcf, PCF50633_IRQ_ALARM); in pcf50633_rtc_set_time()
157 if (!alarm_masked) in pcf50633_rtc_set_time()
165 if (!alarm_masked) in pcf50633_rtc_set_time()
198 int alarm_masked, ret = 0; in pcf50633_rtc_set_alarm() local
207 alarm_masked = pcf50633_irq_mask_get(rtc->pcf, PCF50633_IRQ_ALARM); in pcf50633_rtc_set_alarm()
210 if (!alarm_masked) in pcf50633_rtc_set_alarm()
219 if (!alarm_masked || alrm->enabled) in pcf50633_rtc_set_alarm()