Lines Matching refs:CMOS_WRITE
116 CMOS_WRITE(val, RTC_CMD); in ds1286_ioctl()
132 CMOS_WRITE(val, RTC_CMD); in ds1286_ioctl()
148 CMOS_WRITE(val, RTC_CMD); in ds1286_ioctl()
164 CMOS_WRITE(val, RTC_CMD); in ds1286_ioctl()
211 CMOS_WRITE(hrs, RTC_HOURS_ALARM); in ds1286_ioctl()
212 CMOS_WRITE(min, RTC_MINUTES_ALARM); in ds1286_ioctl()
421 CMOS_WRITE((save_control|RTC_TE), RTC_CMD); in ds1286_get_time()
430 CMOS_WRITE(save_control, RTC_CMD); in ds1286_get_time()
495 CMOS_WRITE((save_control|RTC_TE), RTC_CMD); in ds1286_set_time()
497 CMOS_WRITE(yrs, RTC_YEAR); in ds1286_set_time()
498 CMOS_WRITE(mon, RTC_MONTH); in ds1286_set_time()
499 CMOS_WRITE(day, RTC_DATE); in ds1286_set_time()
500 CMOS_WRITE(hrs, RTC_HOURS); in ds1286_set_time()
501 CMOS_WRITE(min, RTC_MINUTES); in ds1286_set_time()
502 CMOS_WRITE(sec, RTC_SECONDS); in ds1286_set_time()
503 CMOS_WRITE(0, RTC_HUNDREDTH_SECOND); in ds1286_set_time()
505 CMOS_WRITE(save_control, RTC_CMD); in ds1286_set_time()