Lines Matching refs:CMOS_READ
265 time->tm_sec = CMOS_READ(RTC_SECONDS_ALARM); in cmos_read_alarm_callback()
266 time->tm_min = CMOS_READ(RTC_MINUTES_ALARM); in cmos_read_alarm_callback()
267 time->tm_hour = CMOS_READ(RTC_HOURS_ALARM); in cmos_read_alarm_callback()
271 time->tm_mday = CMOS_READ(p->cmos->day_alrm) & 0x3f; in cmos_read_alarm_callback()
276 time->tm_mon = CMOS_READ(p->cmos->mon_alrm); in cmos_read_alarm_callback()
282 p->rtc_control = CMOS_READ(RTC_CONTROL); in cmos_read_alarm_callback()
355 rtc_intr = CMOS_READ(RTC_INTR_FLAGS); in cmos_checkintr()
372 rtc_control = CMOS_READ(RTC_CONTROL); in cmos_irq_enable()
392 rtc_control = CMOS_READ(RTC_CONTROL); in cmos_irq_disable()
541 rtc_control = CMOS_READ(RTC_CONTROL); in cmos_set_alarm()
591 rtc_control = CMOS_READ(RTC_CONTROL); in cmos_procfs()
592 valid = CMOS_READ(RTC_VALID); in cmos_procfs()
651 *buf++ = CMOS_READ(off); in cmos_nvram_read()
711 irqstat = CMOS_READ(RTC_INTR_FLAGS); in cmos_interrupt()
712 rtc_control = CMOS_READ(RTC_CONTROL); in cmos_interrupt()
734 CMOS_READ(RTC_INTR_FLAGS); in cmos_interrupt()
769 rtc_control = CMOS_READ(RTC_CONTROL); in rtc_handler()
773 rtc_intr = CMOS_READ(RTC_INTR_FLAGS); in rtc_handler()
888 mask = CMOS_READ(RTC_INTR_FLAGS); in cmos_check_acpi_rtc_status()
1064 rtc_control = CMOS_READ(RTC_CONTROL); in cmos_do_probe()
1195 rtc_control = CMOS_READ(RTC_CONTROL); in cmos_aie_poweroff()
1235 cmos->suspend_ctrl = tmp = CMOS_READ(RTC_CONTROL); in cmos_suspend()
1351 mask = CMOS_READ(RTC_INTR_FLAGS); in cmos_resume()