Lines Matching refs:CMOS_READ
39 save_control = CMOS_READ(RTC_CONTROL); /* tell the clock it's being set */ in mc146818_set_rtc_mmss()
42 save_freq_select = CMOS_READ(RTC_FREQ_SELECT); /* stop and reset prescaler */ in mc146818_set_rtc_mmss()
45 cmos_minutes = CMOS_READ(RTC_MINUTES); in mc146818_set_rtc_mmss()
97 sec = CMOS_READ(RTC_SECONDS); in mc146818_get_cmos_time()
98 min = CMOS_READ(RTC_MINUTES); in mc146818_get_cmos_time()
99 hour = CMOS_READ(RTC_HOURS); in mc146818_get_cmos_time()
100 day = CMOS_READ(RTC_DAY_OF_MONTH); in mc146818_get_cmos_time()
101 mon = CMOS_READ(RTC_MONTH); in mc146818_get_cmos_time()
102 year = CMOS_READ(RTC_YEAR); in mc146818_get_cmos_time()
103 } while (sec != CMOS_READ(RTC_SECONDS)); in mc146818_get_cmos_time()
105 if (!(CMOS_READ(RTC_CONTROL) & RTC_DM_BINARY) || RTC_ALWAYS_BCD) { in mc146818_get_cmos_time()