Home
last modified time | relevance | path

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

/linux/drivers/rtc/
A Drtc-ds1742.c28 #define RTC_SECONDS 1 macro
72 writeb(bin2bcd(tm->tm_sec) & RTC_SECONDS_MASK, ioaddr + RTC_SECONDS); in ds1742_rtc_set_time()
92 second = readb(ioaddr + RTC_SECONDS) & RTC_SECONDS_MASK; in ds1742_rtc_read_time()
174 sec = readb(ioaddr + RTC_SECONDS); in ds1742_rtc_probe()
179 writeb(sec, ioaddr + RTC_SECONDS); in ds1742_rtc_probe()
A Drtc-mc146818-lib.c40 time->tm_sec = CMOS_READ(RTC_SECONDS); in mc146818_get_time()
49 if (time->tm_sec != CMOS_READ(RTC_SECONDS)) { in mc146818_get_time()
85 retry |= time->tm_sec != CMOS_READ(RTC_SECONDS); in mc146818_get_time()
204 CMOS_WRITE(sec, RTC_SECONDS); in mc146818_set_time()
A Drtc-ds1553.c32 #define RTC_SECONDS (RTC_OFFSET + 9) macro
87 writeb(bin2bcd(tm->tm_sec) & RTC_SECONDS_MASK, ioaddr + RTC_SECONDS); in ds1553_rtc_set_time()
107 second = readb(ioaddr + RTC_SECONDS) & RTC_SECONDS_MASK; in ds1553_rtc_read_time()
277 sec = readb(ioaddr + RTC_SECONDS); in ds1553_rtc_probe()
282 writeb(sec, ioaddr + RTC_SECONDS); in ds1553_rtc_probe()
A Drtc-stk17ta8.c35 #define RTC_SECONDS (RTC_OFFSET + 9) macro
87 writeb(bin2bcd(tm->tm_sec) & RTC_SECONDS_MASK, ioaddr + RTC_SECONDS); in stk17ta8_rtc_set_time()
109 second = readb(ioaddr + RTC_SECONDS) & RTC_SECONDS_MASK; in stk17ta8_rtc_read_time()
A Drtc-ds1286.c181 tm->tm_sec = ds1286_rtc_read(priv, RTC_SECONDS); in ds1286_read_time()
254 ds1286_rtc_write(priv, sec, RTC_SECONDS); in ds1286_set_time()
/linux/arch/mips/include/asm/
A 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()
/linux/arch/mips/dec/
A Dtime.c30 sec = CMOS_READ(RTC_SECONDS); in read_persistent_clock64()
42 } while (sec != CMOS_READ(RTC_SECONDS)); in read_persistent_clock64()
105 CMOS_WRITE(real_seconds, RTC_SECONDS); in update_persistent_clock64()
/linux/arch/powerpc/platforms/chrp/
A Dtime.c111 chrp_cmos_clock_write(tm.tm_sec,RTC_SECONDS); in chrp_set_rtc_time()
137 sec = chrp_cmos_clock_read(RTC_SECONDS); in chrp_get_rtc_time()
143 } while (sec != chrp_cmos_clock_read(RTC_SECONDS)); in chrp_get_rtc_time()
/linux/arch/powerpc/platforms/maple/
A Dtime.c54 tm->tm_sec = maple_clock_read(RTC_SECONDS); in maple_get_rtc_time()
60 } while (tm->tm_sec != maple_clock_read(RTC_SECONDS)); in maple_get_rtc_time()
107 maple_clock_write(sec, RTC_SECONDS); in maple_set_rtc_time()
/linux/arch/mips/mti-malta/
A Dmalta-time.c86 secs1 = CMOS_READ(RTC_SECONDS); in estimate_frequencies()
96 secs2 = CMOS_READ(RTC_SECONDS); in estimate_frequencies()
/linux/include/linux/rtc/
A Dds1286.h15 #define RTC_SECONDS 1 macro
/linux/include/linux/
A Dmc146818rtc.h50 #define RTC_SECONDS 0 macro
/linux/arch/m68k/atari/
A Dtime.c264 sec = RTC_READ( RTC_SECONDS ); in atari_tt_hwclk()
273 RTC_WRITE( RTC_SECONDS, sec ); in atari_tt_hwclk()
/linux/arch/sh/include/asm/
A Dsmc37c93x.h165 #define RTC_SECONDS 0 macro
/linux/arch/x86/kernel/
A Drtc.c88 sec = CMOS_READ(RTC_SECONDS); in mach_get_cmos_time()
/linux/drivers/clocksource/
A Dtimer-tegra.c26 #define RTC_SECONDS 0x08 macro

Completed in 19 milliseconds