Searched refs:RTC_CMD (Results 1 – 4 of 4) sorted by relevance
/linux-6.12.1/drivers/rtc/ |
D | rtc-ds1286.c | 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() [all …]
|
/linux-6.12.1/arch/m68k/hp300/ |
D | config.c | 114 #define RTC_CMD 0x3 macro 119 #define rtc_busy() (in_8(RTCBASE + RTC_CMD) & RTC_BUSY) 120 #define rtc_data_available() (in_8(RTCBASE + RTC_CMD) & RTC_DATA_RDY) 121 #define rtc_status() (in_8(RTCBASE + RTC_CMD)) 122 #define rtc_command(x) out_8(RTCBASE + RTC_CMD, (x))
|
/linux-6.12.1/arch/mips/sgi-ip22/ |
D | ip22-reset.c | 55 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-6.12.1/include/linux/rtc/ |
D | ds1286.h | 25 #define RTC_CMD 11 macro
|