Searched refs:RTC_SECONDS (Results 1 - 23 of 23) sorted by relevance

/linux-4.1.27/arch/mips/include/asm/
H A Dmc146818-time.h66 CMOS_WRITE(real_seconds, RTC_SECONDS); mc146818_set_rtc_mmss()
97 sec = CMOS_READ(RTC_SECONDS); mc146818_get_cmos_time()
103 } while (sec != CMOS_READ(RTC_SECONDS)); mc146818_get_cmos_time()
/linux-4.1.27/arch/powerpc/platforms/chrp/
H A Dtime.c108 chrp_cmos_clock_write(tm.tm_sec,RTC_SECONDS); chrp_set_rtc_time()
134 sec = chrp_cmos_clock_read(RTC_SECONDS); chrp_get_rtc_time()
140 } while (sec != chrp_cmos_clock_read(RTC_SECONDS)); chrp_get_rtc_time()
/linux-4.1.27/include/linux/
H A Dds1286.h15 #define RTC_SECONDS 1 macro
H A Dmc146818rtc.h47 #define RTC_SECONDS 0 macro
/linux-4.1.27/drivers/rtc/
H A Drtc-ds1742.c33 #define RTC_SECONDS 1 macro
80 writeb(bin2bcd(tm->tm_sec) & RTC_SECONDS_MASK, ioaddr + RTC_SECONDS); ds1742_rtc_set_time() local
101 second = readb(ioaddr + RTC_SECONDS) & RTC_SECONDS_MASK; ds1742_rtc_read_time()
188 sec = readb(ioaddr + RTC_SECONDS); ds1742_rtc_probe()
193 writeb(sec, ioaddr + RTC_SECONDS); ds1742_rtc_probe()
H A Drtc-ds1553.c37 #define RTC_SECONDS (RTC_OFFSET + 9) macro
93 writeb(bin2bcd(tm->tm_sec) & RTC_SECONDS_MASK, ioaddr + RTC_SECONDS); ds1553_rtc_set_time() local
114 second = readb(ioaddr + RTC_SECONDS) & RTC_SECONDS_MASK; ds1553_rtc_read_time()
298 sec = readb(ioaddr + RTC_SECONDS); ds1553_rtc_probe()
303 writeb(sec, ioaddr + RTC_SECONDS); ds1553_rtc_probe()
H A Drtc-stk17ta8.c40 #define RTC_SECONDS (RTC_OFFSET + 9) macro
93 writeb(bin2bcd(tm->tm_sec) & RTC_SECONDS_MASK, ioaddr + RTC_SECONDS); stk17ta8_rtc_set_time() local
116 second = readb(ioaddr + RTC_SECONDS) & RTC_SECONDS_MASK; stk17ta8_rtc_read_time()
H A Drtc-ds1286.c187 tm->tm_sec = ds1286_rtc_read(priv, RTC_SECONDS); ds1286_read_time()
260 ds1286_rtc_write(priv, sec, RTC_SECONDS); ds1286_set_time()
H A Drtc-palmas.c65 dev_err(dev, "RTC_SECONDS reg read failed, err = %d\n", ret); palmas_rtc_read_time()
103 dev_err(dev, "RTC_SECONDS reg write failed, err = %d\n", ret); palmas_rtc_set_time()
H A Drtc-mrst.c97 time->tm_sec = vrtc_cmos_read(RTC_SECONDS); mrst_read_time()
136 vrtc_cmos_write(sec, RTC_SECONDS); mrst_set_time()
/linux-4.1.27/arch/mips/dec/
H A Dtime.c29 sec = CMOS_READ(RTC_SECONDS); read_persistent_clock()
41 } while (sec != CMOS_READ(RTC_SECONDS)); read_persistent_clock()
104 CMOS_WRITE(real_seconds, RTC_SECONDS); rtc_mips_set_mmss()
/linux-4.1.27/arch/powerpc/platforms/maple/
H A Dtime.c60 tm->tm_sec = maple_clock_read(RTC_SECONDS); maple_get_rtc_time()
66 } while (tm->tm_sec != maple_clock_read(RTC_SECONDS)); maple_get_rtc_time()
113 maple_clock_write(sec, RTC_SECONDS); maple_set_rtc_time()
/linux-4.1.27/arch/m32r/include/asm/
H A Drtc.h5 # define RTC_SECONDS 0 macro
/linux-4.1.27/arch/x86/platform/intel-mid/
H A Dintel_mid_vrtc.c70 sec = vrtc_cmos_read(RTC_SECONDS); vrtc_get_time()
109 vrtc_cmos_write(tm.tm_sec, RTC_SECONDS); vrtc_set_mmss()
/linux-4.1.27/include/asm-generic/
H A Drtc.h73 time->tm_sec = CMOS_READ(RTC_SECONDS); __get_rtc_time()
187 CMOS_WRITE(sec, RTC_SECONDS); __set_rtc_time()
/linux-4.1.27/arch/m68k/atari/
H A Dtime.c231 sec = RTC_READ( RTC_SECONDS ); atari_tt_hwclk()
240 RTC_WRITE( RTC_SECONDS, sec ); atari_tt_hwclk()
340 RTC_WRITE (RTC_SECONDS, real_seconds); atari_tt_set_clock_mmss()
/linux-4.1.27/drivers/char/
H A Dds1302.c125 rtc_tm->tm_sec = CMOS_READ(RTC_SECONDS); get_rtc_time()
228 CMOS_WRITE(sec, RTC_SECONDS); rtc_ioctl()
H A Drtc.c636 CMOS_WRITE(sec, RTC_SECONDS); rtc_do_ioctl()
1323 rtc_tm->tm_sec = CMOS_READ(RTC_SECONDS); rtc_get_rtc_time()
/linux-4.1.27/arch/x86/kernel/
H A Drtc.c78 sec = CMOS_READ(RTC_SECONDS); mach_get_cmos_time()
/linux-4.1.27/arch/sh/include/asm/
H A Dsmc37c93x.h164 #define RTC_SECONDS 0 macro
/linux-4.1.27/arch/mn10300/kernel/
H A Drtc.c89 CMOS_WRITE(real_seconds, RTC_SECONDS); set_rtc_mmss()
/linux-4.1.27/drivers/clocksource/
H A Dtegra20_timer.c35 #define RTC_SECONDS 0x08 macro
/linux-4.1.27/arch/alpha/kernel/
H A Drtc.c172 CMOS_WRITE(real_seconds,RTC_SECONDS); alpha_rtc_set_mmss()

Completed in 628 milliseconds