Lines Matching refs:RTC_AIE
305 t->enabled = !!(rtc_control & RTC_AIE); in cmos_read_alarm()
343 if ((mask & RTC_AIE) && use_acpi_alarm) { in cmos_irq_enable()
361 if ((mask & RTC_AIE) && use_acpi_alarm) { in cmos_irq_disable()
468 cmos_irq_disable(cmos, RTC_AIE); in cmos_set_alarm()
492 cmos_irq_enable(cmos, RTC_AIE); in cmos_set_alarm()
512 cmos_irq_enable(cmos, RTC_AIE); in cmos_alarm_irq_enable()
514 cmos_irq_disable(cmos, RTC_AIE); in cmos_alarm_irq_enable()
667 if (irqstat & RTC_AIE) { in cmos_interrupt()
668 cmos_rtc.suspend_ctrl &= ~RTC_AIE; in cmos_interrupt()
669 rtc_control &= ~RTC_AIE; in cmos_interrupt()
672 hpet_mask_rtc_irq_bit(RTC_AIE); in cmos_interrupt()
808 cmos_irq_disable(&cmos_rtc, RTC_PIE | RTC_AIE | RTC_UIE); in cmos_do_probe()
931 if (rtc_control & RTC_AIE) in cmos_aie_poweroff()
968 if (tmp & (RTC_PIE|RTC_AIE|RTC_UIE)) { in cmos_suspend()
972 mask = RTC_IRQMASK & ~RTC_AIE; in cmos_suspend()
983 if ((tmp & RTC_AIE) && !use_acpi_alarm) { in cmos_suspend()
994 (tmp & RTC_AIE) ? ", alarm may wake" : "", in cmos_suspend()
1024 if (!(cmos->suspend_ctrl & RTC_AIE)) in cmos_check_wkalrm()
1091 tmp &= ~RTC_AIE; in cmos_resume()
1092 hpet_mask_rtc_irq_bit(RTC_AIE); in cmos_resume()
1093 } while (mask & RTC_AIE); in cmos_resume()
1095 if (tmp & RTC_AIE) in cmos_resume()
1142 if (rtc_control & RTC_AIE) { in rtc_handler()
1143 cmos_rtc.suspend_ctrl &= ~RTC_AIE; in rtc_handler()
1255 *rtc_control &= ~RTC_AIE; in cmos_check_acpi_rtc_status()