Lines Matching refs:CMOS_READ
25 if (WARN_ON_ONCE((CMOS_READ(RTC_VALID) & 0x40) != 0)) { in mc146818_get_time()
40 time->tm_sec = CMOS_READ(RTC_SECONDS); in mc146818_get_time()
42 if (CMOS_READ(RTC_FREQ_SELECT) & RTC_UIP) { in mc146818_get_time()
49 if (time->tm_sec != CMOS_READ(RTC_SECONDS)) { in mc146818_get_time()
60 time->tm_min = CMOS_READ(RTC_MINUTES); in mc146818_get_time()
61 time->tm_hour = CMOS_READ(RTC_HOURS); in mc146818_get_time()
62 time->tm_mday = CMOS_READ(RTC_DAY_OF_MONTH); in mc146818_get_time()
63 time->tm_mon = CMOS_READ(RTC_MONTH); in mc146818_get_time()
64 time->tm_year = CMOS_READ(RTC_YEAR); in mc146818_get_time()
66 real_year = CMOS_READ(RTC_DEC_YEAR); in mc146818_get_time()
71 century = CMOS_READ(acpi_gbl_FADT.century); in mc146818_get_time()
73 ctrl = CMOS_READ(RTC_CONTROL); in mc146818_get_time()
78 retry = CMOS_READ(RTC_FREQ_SELECT) & RTC_UIP; in mc146818_get_time()
85 retry |= time->tm_sec != CMOS_READ(RTC_SECONDS); in mc146818_get_time()
179 if (!(CMOS_READ(RTC_CONTROL) & RTC_DM_BINARY) in mc146818_set_time()
191 save_control = CMOS_READ(RTC_CONTROL); in mc146818_set_time()
193 save_freq_select = CMOS_READ(RTC_FREQ_SELECT); in mc146818_set_time()