Searched refs:RTC_CMD (Results 1 – 5 of 5) sorted by relevance
/linux-2.6.39/drivers/rtc/ |
D | rtc-ds1511.c | 68 #define RTC_CMD DS1511_CONTROL_B macro 127 rtc_write((rtc_read(RTC_CMD) & ~RTC_TE), RTC_CMD); in rtc_disable_update() 133 rtc_write((rtc_read(RTC_CMD) | RTC_TE), RTC_CMD); in rtc_enable_update() 162 rtc_write(DS1511_WDE | DS1511_WDS, RTC_CMD); in ds1511_wdog_set() 171 rtc_write(rtc_read(RTC_CMD) & ~(DS1511_WDE | DS1511_WDS), RTC_CMD); in ds1511_wdog_disable() 319 rtc_write(rtc_read(RTC_CMD) | (pdata->irqen ? RTC_TIE : 0), RTC_CMD); in ds1511_rtc_update_alarm() 420 rtc_write((rtc_read(RTC_CMD) | DS1511_BME), RTC_CMD); in ds1511_nvram_read() 433 rtc_write((rtc_read(RTC_CMD) & ~DS1511_BME), RTC_CMD); in ds1511_nvram_read() 450 rtc_write((rtc_read(RTC_CMD) | DS1511_BME), RTC_CMD); in ds1511_nvram_write() 463 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-2.6.39/arch/m68k/hp300/ |
D | config.c | 111 #define RTC_CMD 0x3 macro 116 #define rtc_busy() (in_8(RTCBASE + RTC_CMD) & RTC_BUSY) 117 #define rtc_data_available() (in_8(RTCBASE + RTC_CMD) & RTC_DATA_RDY) 118 #define rtc_status() (in_8(RTCBASE + RTC_CMD)) 119 #define rtc_command(x) out_8(RTCBASE + RTC_CMD, (x))
|
/linux-2.6.39/arch/mips/sgi-ip22/ |
D | ip22-reset.c | 56 tmp = hpc3c0->rtcregs[RTC_CMD] & 0xff; in sgi_machine_power_off() 57 hpc3c0->rtcregs[RTC_CMD] = tmp | RTC_WAM; in sgi_machine_power_off()
|
/linux-2.6.39/include/linux/ |
D | ds1286.h | 25 #define RTC_CMD 11 macro
|