Lines Matching refs:RTC_CMD
114 val = CMOS_READ(RTC_CMD); in ds1286_ioctl()
116 CMOS_WRITE(val, RTC_CMD); in ds1286_ioctl()
130 val = CMOS_READ(RTC_CMD); in ds1286_ioctl()
132 CMOS_WRITE(val, RTC_CMD); in ds1286_ioctl()
146 val = CMOS_READ(RTC_CMD); in ds1286_ioctl()
148 CMOS_WRITE(val, RTC_CMD); in ds1286_ioctl()
162 val = CMOS_READ(RTC_CMD); in ds1286_ioctl()
164 CMOS_WRITE(val, RTC_CMD); in ds1286_ioctl()
364 cmd = CMOS_READ(RTC_CMD); in get_ds1286_status()
389 return CMOS_READ(RTC_CMD) & RTC_TE; in ds1286_is_updating()
420 save_control = CMOS_READ(RTC_CMD); in ds1286_get_time()
421 CMOS_WRITE((save_control|RTC_TE), RTC_CMD); in ds1286_get_time()
430 CMOS_WRITE(save_control, RTC_CMD); in ds1286_get_time()
494 save_control = CMOS_READ(RTC_CMD); in ds1286_set_time()
495 CMOS_WRITE((save_control|RTC_TE), RTC_CMD); in ds1286_set_time()
505 CMOS_WRITE(save_control, RTC_CMD); in ds1286_set_time()
524 cmd = CMOS_READ(RTC_CMD); in ds1286_get_alm_time()