Lines Matching refs:RTC_CMD
52 val = ds1286_rtc_read(priv, RTC_CMD); in ds1286_alarm_irq_enable()
57 ds1286_rtc_write(priv, val, RTC_CMD); in ds1286_alarm_irq_enable()
75 val = ds1286_rtc_read(priv, RTC_CMD); in ds1286_ioctl()
77 ds1286_rtc_write(priv, val, RTC_CMD); in ds1286_ioctl()
83 val = ds1286_rtc_read(priv, RTC_CMD); in ds1286_ioctl()
85 ds1286_rtc_write(priv, val, RTC_CMD); in ds1286_ioctl()
135 cmd = ds1286_rtc_read(priv, RTC_CMD); in ds1286_proc()
175 if (ds1286_rtc_read(priv, RTC_CMD) & RTC_TE) in ds1286_read_time()
186 save_control = ds1286_rtc_read(priv, RTC_CMD); in ds1286_read_time()
187 ds1286_rtc_write(priv, (save_control|RTC_TE), RTC_CMD); in ds1286_read_time()
196 ds1286_rtc_write(priv, save_control, RTC_CMD); in ds1286_read_time()
254 save_control = ds1286_rtc_read(priv, RTC_CMD); in ds1286_set_time()
255 ds1286_rtc_write(priv, (save_control|RTC_TE), RTC_CMD); in ds1286_set_time()
265 ds1286_rtc_write(priv, save_control, RTC_CMD); in ds1286_set_time()
284 cmd = ds1286_rtc_read(priv, RTC_CMD); in ds1286_read_alarm()