Home
last modified time | relevance | path

Searched refs:RTC_CMD (Results 1 – 5 of 5) sorted by relevance

/Linux-v4.19/drivers/rtc/
Drtc-ds1286.c48 val = ds1286_rtc_read(priv, RTC_CMD); in ds1286_alarm_irq_enable()
53 ds1286_rtc_write(priv, val, RTC_CMD); in ds1286_alarm_irq_enable()
71 val = ds1286_rtc_read(priv, RTC_CMD); in ds1286_ioctl()
73 ds1286_rtc_write(priv, val, RTC_CMD); in ds1286_ioctl()
79 val = ds1286_rtc_read(priv, RTC_CMD); in ds1286_ioctl()
81 ds1286_rtc_write(priv, val, RTC_CMD); in ds1286_ioctl()
131 cmd = ds1286_rtc_read(priv, RTC_CMD); in ds1286_proc()
171 if (ds1286_rtc_read(priv, RTC_CMD) & RTC_TE) in ds1286_read_time()
182 save_control = ds1286_rtc_read(priv, RTC_CMD); in ds1286_read_time()
183 ds1286_rtc_write(priv, (save_control|RTC_TE), RTC_CMD); in ds1286_read_time()
[all …]
Drtc-ds1511.c67 #define RTC_CMD DS1511_CONTROL_B macro
125 rtc_write((rtc_read(RTC_CMD) & ~RTC_TE), RTC_CMD); in rtc_disable_update()
131 rtc_write((rtc_read(RTC_CMD) | RTC_TE), RTC_CMD); in rtc_enable_update()
160 rtc_write(rtc_read(RTC_CMD) | DS1511_WDE | DS1511_WDS, RTC_CMD); in ds1511_wdog_set()
169 rtc_write(rtc_read(RTC_CMD) & ~(DS1511_WDE | DS1511_WDS), RTC_CMD); in ds1511_wdog_disable()
309 rtc_write(rtc_read(RTC_CMD) | (pdata->irqen ? RTC_TIE : 0), RTC_CMD); in ds1511_rtc_update_alarm()
447 rtc_write(DS1511_BME, RTC_CMD); in ds1511_rtc_probe()
/Linux-v4.19/arch/m68k/hp300/
Dconfig.c115 #define RTC_CMD 0x3 macro
120 #define rtc_busy() (in_8(RTCBASE + RTC_CMD) & RTC_BUSY)
121 #define rtc_data_available() (in_8(RTCBASE + RTC_CMD) & RTC_DATA_RDY)
122 #define rtc_status() (in_8(RTCBASE + RTC_CMD))
123 #define rtc_command(x) out_8(RTCBASE + RTC_CMD, (x))
/Linux-v4.19/arch/mips/sgi-ip22/
Dip22-reset.c55 tmp = hpc3c0->rtcregs[RTC_CMD] & 0xff; in sgi_machine_power_off()
56 hpc3c0->rtcregs[RTC_CMD] = tmp | RTC_WAM; in sgi_machine_power_off()
/Linux-v4.19/include/linux/rtc/
Dds1286.h25 #define RTC_CMD 11 macro