Lines Matching refs:CMOS_WRITE
414 CMOS_WRITE(hrs, RTC_HOURS_ALARM); in rtc_ioctl()
415 CMOS_WRITE(min, RTC_MINUTES_ALARM); in rtc_ioctl()
416 CMOS_WRITE(sec, RTC_SECONDS_ALARM); in rtc_ioctl()
504 CMOS_WRITE((save_control|RTC_SET), RTC_CONTROL); in rtc_ioctl()
506 CMOS_WRITE((save_freq_select|RTC_DIV_RESET2), RTC_FREQ_SELECT); in rtc_ioctl()
509 CMOS_WRITE(real_yrs, RTC_DEC_YEAR); in rtc_ioctl()
511 CMOS_WRITE(yrs, RTC_YEAR); in rtc_ioctl()
512 CMOS_WRITE(mon, RTC_MONTH); in rtc_ioctl()
513 CMOS_WRITE(day, RTC_DAY_OF_MONTH); in rtc_ioctl()
514 CMOS_WRITE(hrs, RTC_HOURS); in rtc_ioctl()
515 CMOS_WRITE(min, RTC_MINUTES); in rtc_ioctl()
516 CMOS_WRITE(sec, RTC_SECONDS); in rtc_ioctl()
518 CMOS_WRITE(save_control, RTC_CONTROL); in rtc_ioctl()
519 CMOS_WRITE(save_freq_select, RTC_FREQ_SELECT); in rtc_ioctl()
560 CMOS_WRITE(val, RTC_FREQ_SELECT); in rtc_ioctl()
639 CMOS_WRITE(tmp, RTC_CONTROL); in rtc_release()
851 CMOS_WRITE(((CMOS_READ(RTC_FREQ_SELECT) & 0xF0) | 0x06), RTC_FREQ_SELECT); in rtc_init()
1145 CMOS_WRITE(val, RTC_CONTROL); in mask_rtc_irq_bit()
1159 CMOS_WRITE(val, RTC_CONTROL); in set_rtc_irq_bit()