/Linux-v4.19/drivers/rtc/ |
D | rtc-ds1742.c | 31 #define RTC_SECONDS 1 macro 75 writeb(bin2bcd(tm->tm_sec) & RTC_SECONDS_MASK, ioaddr + RTC_SECONDS); in ds1742_rtc_set_time() 95 second = readb(ioaddr + RTC_SECONDS) & RTC_SECONDS_MASK; in ds1742_rtc_read_time() 177 sec = readb(ioaddr + RTC_SECONDS); in ds1742_rtc_probe() 182 writeb(sec, ioaddr + RTC_SECONDS); in ds1742_rtc_probe()
|
D | rtc-ds1553.c | 35 #define RTC_SECONDS (RTC_OFFSET + 9) macro 90 writeb(bin2bcd(tm->tm_sec) & RTC_SECONDS_MASK, ioaddr + RTC_SECONDS); in ds1553_rtc_set_time() 110 second = readb(ioaddr + RTC_SECONDS) & RTC_SECONDS_MASK; in ds1553_rtc_read_time() 282 sec = readb(ioaddr + RTC_SECONDS); in ds1553_rtc_probe() 287 writeb(sec, ioaddr + RTC_SECONDS); in ds1553_rtc_probe()
|
D | rtc-mc146818-lib.c | 53 time->tm_sec = CMOS_READ(RTC_SECONDS); in mc146818_get_time() 184 CMOS_WRITE(sec, RTC_SECONDS); in mc146818_set_time()
|
D | rtc-stk17ta8.c | 38 #define RTC_SECONDS (RTC_OFFSET + 9) macro 90 writeb(bin2bcd(tm->tm_sec) & RTC_SECONDS_MASK, ioaddr + RTC_SECONDS); in stk17ta8_rtc_set_time() 112 second = readb(ioaddr + RTC_SECONDS) & RTC_SECONDS_MASK; in stk17ta8_rtc_read_time()
|
D | rtc-ds1286.c | 185 tm->tm_sec = ds1286_rtc_read(priv, RTC_SECONDS); in ds1286_read_time() 258 ds1286_rtc_write(priv, sec, RTC_SECONDS); in ds1286_set_time()
|
D | rtc-mrst.c | 96 time->tm_sec = vrtc_cmos_read(RTC_SECONDS); in mrst_read_time() 135 vrtc_cmos_write(sec, RTC_SECONDS); in mrst_set_time()
|
/Linux-v4.19/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()
|
/Linux-v4.19/arch/mips/dec/ |
D | time.c | 30 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-v4.19/arch/powerpc/platforms/chrp/ |
D | time.c | 111 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-v4.19/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()
|
/Linux-v4.19/arch/x86/platform/intel-mid/ |
D | intel_mid_vrtc.c | 71 sec = vrtc_cmos_read(RTC_SECONDS); in vrtc_get_time() 110 vrtc_cmos_write(tm.tm_sec, RTC_SECONDS); in vrtc_set_mmss()
|
/Linux-v4.19/arch/mips/mti-malta/ |
D | malta-time.c | 103 secs1 = CMOS_READ(RTC_SECONDS); in estimate_frequencies() 113 secs2 = CMOS_READ(RTC_SECONDS); in estimate_frequencies()
|
/Linux-v4.19/include/linux/rtc/ |
D | ds1286.h | 15 #define RTC_SECONDS 1 macro
|
/Linux-v4.19/include/linux/ |
D | mc146818rtc.h | 50 #define RTC_SECONDS 0 macro
|
/Linux-v4.19/arch/m68k/atari/ |
D | time.c | 231 sec = RTC_READ( RTC_SECONDS ); in atari_tt_hwclk() 240 RTC_WRITE( RTC_SECONDS, sec ); in atari_tt_hwclk()
|
/Linux-v4.19/arch/sh/include/asm/ |
D | smc37c93x.h | 165 #define RTC_SECONDS 0 macro
|
/Linux-v4.19/arch/x86/kernel/ |
D | rtc.c | 88 sec = CMOS_READ(RTC_SECONDS); in mach_get_cmos_time()
|
/Linux-v4.19/drivers/clocksource/ |
D | tegra20_timer.c | 35 #define RTC_SECONDS 0x08 macro
|
/Linux-v4.19/drivers/char/ |
D | rtc.c | 623 CMOS_WRITE(sec, RTC_SECONDS); in rtc_do_ioctl() 1212 rtc_tm->tm_sec = CMOS_READ(RTC_SECONDS); in rtc_get_rtc_time()
|