Searched refs:RTC_SECONDS (Results 1 – 16 of 16) sorted by relevance
/arch/mips/include/asm/ |
D | mc146818-time.h | 66 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/ |
D | pcf8563.c | 76 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()
|
D | ds1302.c | 210 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/ |
D | time.c | 29 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/ |
D | rtc.h | 7 # define RTC_SECONDS 0 macro 42 # define RTC_SECONDS 0x02 macro
|
/arch/powerpc/platforms/chrp/ |
D | time.c | 108 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/ |
D | time.c | 60 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/ |
D | time.c | 86 CMOS_WRITE(real_seconds,RTC_SECONDS); in set_rtc_mmss() 107 sec = CMOS_READ(RTC_SECONDS); in get_cmos_time()
|
/arch/x86/platform/mrst/ |
D | vrtc.c | 70 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/ |
D | rtc.h | 5 # define RTC_SECONDS 0 macro
|
/arch/x86/kernel/ |
D | rtc.c | 82 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/ |
D | time.c | 232 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/ |
D | rtc.c | 89 CMOS_WRITE(real_seconds, RTC_SECONDS); in set_rtc_mmss()
|
/arch/sh/include/asm/ |
D | smc37c93x.h | 164 #define RTC_SECONDS 0 macro
|
/arch/alpha/kernel/ |
D | time.c | 122 sec = CMOS_READ(RTC_SECONDS); in read_persistent_clock() 501 CMOS_WRITE(real_seconds,RTC_SECONDS); in set_rtc_mmss()
|
/arch/arm/mach-tegra/ |
D | timer.c | 41 #define RTC_SECONDS 0x08 macro
|