/linux-4.1.27/arch/mips/include/asm/ |
H A D | mc146818-time.h | 66 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 D | time.c | 108 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 D | ds1286.h | 15 #define RTC_SECONDS 1 macro
|
H A D | mc146818rtc.h | 47 #define RTC_SECONDS 0 macro
|
/linux-4.1.27/drivers/rtc/ |
H A D | rtc-ds1742.c | 33 #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 D | rtc-ds1553.c | 37 #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 D | rtc-stk17ta8.c | 40 #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 D | rtc-ds1286.c | 187 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 D | rtc-palmas.c | 65 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 D | rtc-mrst.c | 97 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 D | time.c | 29 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 D | time.c | 60 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 D | rtc.h | 5 # define RTC_SECONDS 0 macro
|
/linux-4.1.27/arch/x86/platform/intel-mid/ |
H A D | intel_mid_vrtc.c | 70 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 D | rtc.h | 73 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 D | time.c | 231 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 D | ds1302.c | 125 rtc_tm->tm_sec = CMOS_READ(RTC_SECONDS); get_rtc_time() 228 CMOS_WRITE(sec, RTC_SECONDS); rtc_ioctl()
|
H A D | rtc.c | 636 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 D | rtc.c | 78 sec = CMOS_READ(RTC_SECONDS); mach_get_cmos_time()
|
/linux-4.1.27/arch/sh/include/asm/ |
H A D | smc37c93x.h | 164 #define RTC_SECONDS 0 macro
|
/linux-4.1.27/arch/mn10300/kernel/ |
H A D | rtc.c | 89 CMOS_WRITE(real_seconds, RTC_SECONDS); set_rtc_mmss()
|
/linux-4.1.27/drivers/clocksource/ |
H A D | tegra20_timer.c | 35 #define RTC_SECONDS 0x08 macro
|
/linux-4.1.27/arch/alpha/kernel/ |
H A D | rtc.c | 172 CMOS_WRITE(real_seconds,RTC_SECONDS); alpha_rtc_set_mmss()
|