Lines Matching refs:CMOS_WRITE
520 CMOS_WRITE(hrs, RTC_HOURS_ALARM); in rtc_do_ioctl()
521 CMOS_WRITE(min, RTC_MINUTES_ALARM); in rtc_do_ioctl()
522 CMOS_WRITE(sec, RTC_SECONDS_ALARM); in rtc_do_ioctl()
611 CMOS_WRITE((save_control|RTC_SET), RTC_CONTROL); in rtc_do_ioctl()
613 CMOS_WRITE((save_freq_select|RTC_DIV_RESET2), RTC_FREQ_SELECT); in rtc_do_ioctl()
616 CMOS_WRITE(real_yrs, RTC_DEC_YEAR); in rtc_do_ioctl()
618 CMOS_WRITE(yrs, RTC_YEAR); in rtc_do_ioctl()
619 CMOS_WRITE(mon, RTC_MONTH); in rtc_do_ioctl()
620 CMOS_WRITE(day, RTC_DAY_OF_MONTH); in rtc_do_ioctl()
621 CMOS_WRITE(hrs, RTC_HOURS); in rtc_do_ioctl()
622 CMOS_WRITE(min, RTC_MINUTES); in rtc_do_ioctl()
623 CMOS_WRITE(sec, RTC_SECONDS); in rtc_do_ioctl()
625 CMOS_WRITE(save_control, RTC_CONTROL); in rtc_do_ioctl()
626 CMOS_WRITE(save_freq_select, RTC_FREQ_SELECT); in rtc_do_ioctl()
675 CMOS_WRITE(val, RTC_FREQ_SELECT); in rtc_do_ioctl()
759 CMOS_WRITE(tmp, RTC_CONTROL); in rtc_release()
1018 CMOS_WRITE(((CMOS_READ(RTC_FREQ_SELECT) & 0xF0) | 0x06), in rtc_init()
1293 CMOS_WRITE(val, RTC_CONTROL); in mask_rtc_irq_bit_locked()
1307 CMOS_WRITE(val, RTC_CONTROL); in set_rtc_irq_bit_locked()