Searched refs:RTC_CMD (Results 1 – 5 of 5) sorted by relevance
/linux-3.4.99/drivers/rtc/ |
D | rtc-ds1511.c | 69 #define RTC_CMD DS1511_CONTROL_B macro 128 rtc_write((rtc_read(RTC_CMD) & ~RTC_TE), RTC_CMD); in rtc_disable_update() 134 rtc_write((rtc_read(RTC_CMD) | RTC_TE), RTC_CMD); in rtc_enable_update() 163 rtc_write(DS1511_WDE | DS1511_WDS, RTC_CMD); in ds1511_wdog_set() 172 rtc_write(rtc_read(RTC_CMD) & ~(DS1511_WDE | DS1511_WDS), RTC_CMD); in ds1511_wdog_disable() 320 rtc_write(rtc_read(RTC_CMD) | (pdata->irqen ? RTC_TIE : 0), RTC_CMD); in ds1511_rtc_update_alarm() 421 rtc_write((rtc_read(RTC_CMD) | DS1511_BME), RTC_CMD); in ds1511_nvram_read() 434 rtc_write((rtc_read(RTC_CMD) & ~DS1511_BME), RTC_CMD); in ds1511_nvram_read() 451 rtc_write((rtc_read(RTC_CMD) | DS1511_BME), RTC_CMD); in ds1511_nvram_write() 464 rtc_write((rtc_read(RTC_CMD) & ~DS1511_BME), RTC_CMD); in ds1511_nvram_write() [all …]
|
D | rtc-ds1286.c | 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() [all …]
|
/linux-3.4.99/arch/m68k/hp300/ |
D | config.c | 112 #define RTC_CMD 0x3 macro 117 #define rtc_busy() (in_8(RTCBASE + RTC_CMD) & RTC_BUSY) 118 #define rtc_data_available() (in_8(RTCBASE + RTC_CMD) & RTC_DATA_RDY) 119 #define rtc_status() (in_8(RTCBASE + RTC_CMD)) 120 #define rtc_command(x) out_8(RTCBASE + RTC_CMD, (x))
|
/linux-3.4.99/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-3.4.99/include/linux/ |
D | ds1286.h | 25 #define RTC_CMD 11 macro
|