Lines Matching refs:CMOS_READ
256 t->time.tm_sec = CMOS_READ(RTC_SECONDS_ALARM); in cmos_read_alarm()
257 t->time.tm_min = CMOS_READ(RTC_MINUTES_ALARM); in cmos_read_alarm()
258 t->time.tm_hour = CMOS_READ(RTC_HOURS_ALARM); in cmos_read_alarm()
262 t->time.tm_mday = CMOS_READ(cmos->day_alrm) & 0x3f; in cmos_read_alarm()
267 t->time.tm_mon = CMOS_READ(cmos->mon_alrm); in cmos_read_alarm()
273 rtc_control = CMOS_READ(RTC_CONTROL); in cmos_read_alarm()
318 rtc_intr = CMOS_READ(RTC_INTR_FLAGS); in cmos_checkintr()
335 rtc_control = CMOS_READ(RTC_CONTROL); in cmos_irq_enable()
355 rtc_control = CMOS_READ(RTC_CONTROL); in cmos_irq_disable()
455 rtc_control = CMOS_READ(RTC_CONTROL); in cmos_set_alarm()
528 rtc_control = CMOS_READ(RTC_CONTROL); in cmos_procfs()
529 valid = CMOS_READ(RTC_VALID); in cmos_procfs()
589 *buf++ = CMOS_READ(off); in cmos_nvram_read()
650 irqstat = CMOS_READ(RTC_INTR_FLAGS); in cmos_interrupt()
651 rtc_control = CMOS_READ(RTC_CONTROL); in cmos_interrupt()
673 CMOS_READ(RTC_INTR_FLAGS); in cmos_interrupt()
810 rtc_control = CMOS_READ(RTC_CONTROL); in cmos_do_probe()
927 rtc_control = CMOS_READ(RTC_CONTROL); in cmos_aie_poweroff()
967 cmos->suspend_ctrl = tmp = CMOS_READ(RTC_CONTROL); in cmos_suspend()
1082 mask = CMOS_READ(RTC_INTR_FLAGS); in cmos_resume()
1141 rtc_control = CMOS_READ(RTC_CONTROL); in rtc_handler()
1145 rtc_intr = CMOS_READ(RTC_INTR_FLAGS); in rtc_handler()
1257 mask = CMOS_READ(RTC_INTR_FLAGS); in cmos_check_acpi_rtc_status()