Lines Matching refs:RTC_CONTROL
499 if (!(CMOS_READ(RTC_CONTROL) & RTC_DM_BINARY) || in rtc_do_ioctl()
596 if (!(CMOS_READ(RTC_CONTROL) & RTC_DM_BINARY) in rtc_do_ioctl()
606 save_control = CMOS_READ(RTC_CONTROL); in rtc_do_ioctl()
607 CMOS_WRITE((save_control|RTC_SET), RTC_CONTROL); in rtc_do_ioctl()
621 CMOS_WRITE(save_control, RTC_CONTROL); in rtc_do_ioctl()
751 tmp = CMOS_READ(RTC_CONTROL); in rtc_release()
755 CMOS_WRITE(tmp, RTC_CONTROL); in rtc_release()
974 ctrl = CMOS_READ(RTC_CONTROL); in rtc_init()
1112 ctrl = CMOS_READ(RTC_CONTROL); in rtc_proc_show()
1219 ctrl = CMOS_READ(RTC_CONTROL); in rtc_get_rtc_time()
1259 ctrl = CMOS_READ(RTC_CONTROL); in get_rtc_alm_time()
1286 val = CMOS_READ(RTC_CONTROL); in mask_rtc_irq_bit_locked()
1288 CMOS_WRITE(val, RTC_CONTROL); in mask_rtc_irq_bit_locked()
1300 val = CMOS_READ(RTC_CONTROL); in set_rtc_irq_bit_locked()
1302 CMOS_WRITE(val, RTC_CONTROL); in set_rtc_irq_bit_locked()