Lines Matching refs:CMOS_READ

215 	uip = (CMOS_READ(RTC_FREQ_SELECT) & RTC_UIP);  in rtc_is_updating()
251 rtc_irq_data |= (CMOS_READ(RTC_INTR_FLAGS) & 0xF0); in rtc_interrupt()
503 if (!(CMOS_READ(RTC_CONTROL) & RTC_DM_BINARY) || in rtc_do_ioctl()
600 if (!(CMOS_READ(RTC_CONTROL) & RTC_DM_BINARY) in rtc_do_ioctl()
610 save_control = CMOS_READ(RTC_CONTROL); in rtc_do_ioctl()
612 save_freq_select = CMOS_READ(RTC_FREQ_SELECT); in rtc_do_ioctl()
673 val = CMOS_READ(RTC_FREQ_SELECT) & 0xf0; in rtc_do_ioctl()
755 tmp = CMOS_READ(RTC_CONTROL); in rtc_release()
760 CMOS_READ(RTC_INTR_FLAGS); in rtc_release()
977 year = CMOS_READ(RTC_YEAR); in rtc_init()
978 ctrl = CMOS_READ(RTC_CONTROL); in rtc_init()
1018 CMOS_WRITE(((CMOS_READ(RTC_FREQ_SELECT) & 0xF0) | 0x06), in rtc_init()
1085 rtc_irq_data |= (CMOS_READ(RTC_INTR_FLAGS) & 0xF0); /* restart */ in rtc_dropped_irq()
1115 batt = CMOS_READ(RTC_VALID) & RTC_VRT; in rtc_proc_show()
1116 ctrl = CMOS_READ(RTC_CONTROL); in rtc_proc_show()
1212 rtc_tm->tm_sec = CMOS_READ(RTC_SECONDS); in rtc_get_rtc_time()
1213 rtc_tm->tm_min = CMOS_READ(RTC_MINUTES); in rtc_get_rtc_time()
1214 rtc_tm->tm_hour = CMOS_READ(RTC_HOURS); in rtc_get_rtc_time()
1215 rtc_tm->tm_mday = CMOS_READ(RTC_DAY_OF_MONTH); in rtc_get_rtc_time()
1216 rtc_tm->tm_mon = CMOS_READ(RTC_MONTH); in rtc_get_rtc_time()
1217 rtc_tm->tm_year = CMOS_READ(RTC_YEAR); in rtc_get_rtc_time()
1219 rtc_tm->tm_wday = CMOS_READ(RTC_DAY_OF_WEEK); in rtc_get_rtc_time()
1222 real_year = CMOS_READ(RTC_DEC_YEAR); in rtc_get_rtc_time()
1224 ctrl = CMOS_READ(RTC_CONTROL); in rtc_get_rtc_time()
1261 alm_tm->tm_sec = CMOS_READ(RTC_SECONDS_ALARM); in get_rtc_alm_time()
1262 alm_tm->tm_min = CMOS_READ(RTC_MINUTES_ALARM); in get_rtc_alm_time()
1263 alm_tm->tm_hour = CMOS_READ(RTC_HOURS_ALARM); in get_rtc_alm_time()
1264 ctrl = CMOS_READ(RTC_CONTROL); in get_rtc_alm_time()
1291 val = CMOS_READ(RTC_CONTROL); in mask_rtc_irq_bit_locked()
1294 CMOS_READ(RTC_INTR_FLAGS); in mask_rtc_irq_bit_locked()
1305 val = CMOS_READ(RTC_CONTROL); in set_rtc_irq_bit_locked()
1308 CMOS_READ(RTC_INTR_FLAGS); in set_rtc_irq_bit_locked()