Lines Matching refs:RTC_CMD
44 val = ds1286_rtc_read(priv, RTC_CMD); in ds1286_alarm_irq_enable()
49 ds1286_rtc_write(priv, val, RTC_CMD); in ds1286_alarm_irq_enable()
67 val = ds1286_rtc_read(priv, RTC_CMD); in ds1286_ioctl()
69 ds1286_rtc_write(priv, val, RTC_CMD); in ds1286_ioctl()
75 val = ds1286_rtc_read(priv, RTC_CMD); in ds1286_ioctl()
77 ds1286_rtc_write(priv, val, RTC_CMD); in ds1286_ioctl()
127 cmd = ds1286_rtc_read(priv, RTC_CMD); in ds1286_proc()
167 if (ds1286_rtc_read(priv, RTC_CMD) & RTC_TE) in ds1286_read_time()
178 save_control = ds1286_rtc_read(priv, RTC_CMD); in ds1286_read_time()
179 ds1286_rtc_write(priv, (save_control|RTC_TE), RTC_CMD); in ds1286_read_time()
188 ds1286_rtc_write(priv, save_control, RTC_CMD); in ds1286_read_time()
246 save_control = ds1286_rtc_read(priv, RTC_CMD); in ds1286_set_time()
247 ds1286_rtc_write(priv, (save_control|RTC_TE), RTC_CMD); in ds1286_set_time()
257 ds1286_rtc_write(priv, save_control, RTC_CMD); in ds1286_set_time()
275 ds1286_rtc_read(priv, RTC_CMD); in ds1286_read_alarm()