Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/rtc/
Drtc-ds1286.c44 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()
[all …]
Drtc-ds1511.c64 #define RTC_CMD DS1511_CONTROL_B macro
116 rtc_write((rtc_read(RTC_CMD) & ~RTC_TE), RTC_CMD); in rtc_disable_update()
122 rtc_write((rtc_read(RTC_CMD) | RTC_TE), RTC_CMD); in rtc_enable_update()
151 rtc_write(rtc_read(RTC_CMD) | DS1511_WDE | DS1511_WDS, RTC_CMD); in ds1511_wdog_set()
160 rtc_write(rtc_read(RTC_CMD) & ~(DS1511_WDE | DS1511_WDS), RTC_CMD); in ds1511_wdog_disable()
300 rtc_write(rtc_read(RTC_CMD) | (pdata->irqen ? RTC_TIE : 0), RTC_CMD); in ds1511_rtc_update_alarm()
436 rtc_write(DS1511_BME, RTC_CMD); in ds1511_rtc_probe()
/linux-5.19.10/arch/m68k/hp300/
Dconfig.c116 #define RTC_CMD 0x3 macro
121 #define rtc_busy() (in_8(RTCBASE + RTC_CMD) & RTC_BUSY)
122 #define rtc_data_available() (in_8(RTCBASE + RTC_CMD) & RTC_DATA_RDY)
123 #define rtc_status() (in_8(RTCBASE + RTC_CMD))
124 #define rtc_command(x) out_8(RTCBASE + RTC_CMD, (x))
/linux-5.19.10/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-5.19.10/include/linux/rtc/
Dds1286.h25 #define RTC_CMD 11 macro