Lines Matching refs:CMOS_READ
36 seconds = CMOS_READ(RTC_SECONDS); in mc146818_avoid_UIP()
38 if (CMOS_READ(RTC_FREQ_SELECT) & RTC_UIP) { in mc146818_avoid_UIP()
45 if (seconds != CMOS_READ(RTC_SECONDS)) { in mc146818_avoid_UIP()
57 if (CMOS_READ(RTC_FREQ_SELECT) & RTC_UIP) { in mc146818_avoid_UIP()
69 if (seconds != CMOS_READ(RTC_SECONDS)) { in mc146818_avoid_UIP()
113 p->time->tm_min = CMOS_READ(RTC_MINUTES); in mc146818_get_time_callback()
114 p->time->tm_hour = CMOS_READ(RTC_HOURS); in mc146818_get_time_callback()
115 p->time->tm_mday = CMOS_READ(RTC_DAY_OF_MONTH); in mc146818_get_time_callback()
116 p->time->tm_mon = CMOS_READ(RTC_MONTH); in mc146818_get_time_callback()
117 p->time->tm_year = CMOS_READ(RTC_YEAR); in mc146818_get_time_callback()
119 p->real_year = CMOS_READ(RTC_DEC_YEAR); in mc146818_get_time_callback()
124 p->century = CMOS_READ(acpi_gbl_FADT.century); in mc146818_get_time_callback()
130 p->ctrl = CMOS_READ(RTC_CONTROL); in mc146818_get_time_callback()
247 save_control = CMOS_READ(RTC_CONTROL); in mc146818_set_time()
260 save_control = CMOS_READ(RTC_CONTROL); in mc146818_set_time()
262 save_freq_select = CMOS_READ(RTC_FREQ_SELECT); in mc146818_set_time()