Home
last modified time | relevance | path

Searched refs:RTC_SECONDS (Results 1 – 16 of 16) sorted by relevance

/arch/mips/include/asm/
Dmc146818-time.h66 CMOS_WRITE(real_seconds, RTC_SECONDS); in mc146818_set_rtc_mmss()
97 sec = CMOS_READ(RTC_SECONDS); in mc146818_get_cmos_time()
103 } while (sec != CMOS_READ(RTC_SECONDS)); in mc146818_get_cmos_time()
/arch/cris/arch-v10/drivers/
Dpcf8563.c76 case RTC_SECONDS: in pcf8563_readreg()
113 tm->tm_sec = rtc_read(RTC_SECONDS); in get_rtc_time()
191 if (rtc_read(RTC_SECONDS) & 0x80) { in pcf8563_init()
301 rtc_write(RTC_SECONDS, tm.tm_sec); in pcf8563_ioctl()
326 int ret = rtc_read(RTC_SECONDS); in pcf8563_ioctl()
328 rtc_write(RTC_SECONDS, (ret & 0x7F)); in pcf8563_ioctl()
Dds1302.c210 rtc_tm->tm_sec = CMOS_READ(RTC_SECONDS); in get_rtc_time()
310 CMOS_WRITE(sec, RTC_SECONDS); in rtc_ioctl()
499 ds1302_writereg(RTC_SECONDS, (ds1302_readreg(RTC_SECONDS) & 0x7F)); in ds1302_init()
/arch/mips/dec/
Dtime.c29 sec = CMOS_READ(RTC_SECONDS); in read_persistent_clock()
41 } while (sec != CMOS_READ(RTC_SECONDS)); in read_persistent_clock()
104 CMOS_WRITE(real_seconds, RTC_SECONDS); in rtc_mips_set_mmss()
/arch/cris/include/asm/
Drtc.h7 # define RTC_SECONDS 0 macro
42 # define RTC_SECONDS 0x02 macro
/arch/powerpc/platforms/chrp/
Dtime.c108 chrp_cmos_clock_write(tm.tm_sec,RTC_SECONDS); in chrp_set_rtc_time()
134 sec = chrp_cmos_clock_read(RTC_SECONDS); in chrp_get_rtc_time()
140 } while (sec != chrp_cmos_clock_read(RTC_SECONDS)); in chrp_get_rtc_time()
/arch/powerpc/platforms/maple/
Dtime.c60 tm->tm_sec = maple_clock_read(RTC_SECONDS); in maple_get_rtc_time()
66 } while (tm->tm_sec != maple_clock_read(RTC_SECONDS)); in maple_get_rtc_time()
113 maple_clock_write(sec, RTC_SECONDS); in maple_set_rtc_time()
/arch/cris/kernel/
Dtime.c86 CMOS_WRITE(real_seconds,RTC_SECONDS); in set_rtc_mmss()
107 sec = CMOS_READ(RTC_SECONDS); in get_cmos_time()
/arch/x86/platform/mrst/
Dvrtc.c70 sec = vrtc_cmos_read(RTC_SECONDS); in vrtc_get_time()
104 vrtc_cmos_write(real_sec, RTC_SECONDS); in vrtc_set_mmss()
/arch/m32r/include/asm/
Drtc.h5 # define RTC_SECONDS 0 macro
/arch/x86/kernel/
Drtc.c82 CMOS_WRITE(real_seconds, RTC_SECONDS); in mach_set_rtc_mmss()
122 sec = CMOS_READ(RTC_SECONDS); in mach_get_cmos_time()
/arch/m68k/atari/
Dtime.c232 sec = RTC_READ( RTC_SECONDS ); in atari_tt_hwclk()
241 RTC_WRITE( RTC_SECONDS, sec ); in atari_tt_hwclk()
341 RTC_WRITE (RTC_SECONDS, real_seconds); in atari_tt_set_clock_mmss()
/arch/mn10300/kernel/
Drtc.c89 CMOS_WRITE(real_seconds, RTC_SECONDS); in set_rtc_mmss()
/arch/sh/include/asm/
Dsmc37c93x.h164 #define RTC_SECONDS 0 macro
/arch/alpha/kernel/
Dtime.c122 sec = CMOS_READ(RTC_SECONDS); in read_persistent_clock()
501 CMOS_WRITE(real_seconds,RTC_SECONDS); in set_rtc_mmss()
/arch/arm/mach-tegra/
Dtimer.c41 #define RTC_SECONDS 0x08 macro