/kernel/linux/linux-5.10/drivers/rtc/ |
H A D | rtc-mc146818-lib.c | 36 seconds = CMOS_READ(RTC_SECONDS); in mc146818_avoid_UIP() 45 if (seconds != CMOS_READ(RTC_SECONDS)) { in mc146818_avoid_UIP() 69 if (seconds != CMOS_READ(RTC_SECONDS)) { in mc146818_avoid_UIP() 136 time->tm_sec = CMOS_READ(RTC_SECONDS); in mc146818_get_time() 145 if (time->tm_sec != CMOS_READ(RTC_SECONDS)) { in mc146818_get_time() 181 retry |= time->tm_sec != CMOS_READ(RTC_SECONDS); in mc146818_get_time() 316 CMOS_WRITE(sec, RTC_SECONDS); in mc146818_set_time()
|
H A D | rtc-ds1742.c | 28 #define RTC_SECONDS 1 macro 72 writeb(bin2bcd(tm->tm_sec) & RTC_SECONDS_MASK, ioaddr + RTC_SECONDS); in ds1742_rtc_set_time() local 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()
|
H A D | rtc-ds1553.c | 32 #define RTC_SECONDS (RTC_OFFSET + 9) macro 87 writeb(bin2bcd(tm->tm_sec) & RTC_SECONDS_MASK, ioaddr + RTC_SECONDS); in ds1553_rtc_set_time() local 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()
|
H A D | rtc-stk17ta8.c | 35 #define RTC_SECONDS (RTC_OFFSET + 9) macro 87 writeb(bin2bcd(tm->tm_sec) & RTC_SECONDS_MASK, ioaddr + RTC_SECONDS); in stk17ta8_rtc_set_time() local 109 second = readb(ioaddr + RTC_SECONDS) & RTC_SECONDS_MASK; in stk17ta8_rtc_read_time()
|
/kernel/linux/linux-5.10/arch/mips/include/asm/ |
H A 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()
|
/kernel/linux/linux-6.6/arch/mips/include/asm/ |
H A 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()
|
/kernel/linux/linux-6.6/drivers/rtc/ |
H A D | rtc-ds1742.c | 27 #define RTC_SECONDS 1 macro 71 writeb(bin2bcd(tm->tm_sec) & RTC_SECONDS_MASK, ioaddr + RTC_SECONDS); in ds1742_rtc_set_time() local 91 second = readb(ioaddr + RTC_SECONDS) & RTC_SECONDS_MASK; in ds1742_rtc_read_time() 172 sec = readb(ioaddr + RTC_SECONDS); in ds1742_rtc_probe() 177 writeb(sec, ioaddr + RTC_SECONDS); in ds1742_rtc_probe()
|
H A D | rtc-mc146818-lib.c | 41 seconds = CMOS_READ(RTC_SECONDS); in mc146818_avoid_UIP() 50 if (seconds != CMOS_READ(RTC_SECONDS)) { in mc146818_avoid_UIP() 74 if (seconds != CMOS_READ(RTC_SECONDS)) { in mc146818_avoid_UIP() 297 CMOS_WRITE(sec, RTC_SECONDS); in mc146818_set_time()
|
H A D | rtc-ds1553.c | 32 #define RTC_SECONDS (RTC_OFFSET + 9) macro 87 writeb(bin2bcd(tm->tm_sec) & RTC_SECONDS_MASK, ioaddr + RTC_SECONDS); in ds1553_rtc_set_time() local 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()
|
H A D | rtc-stk17ta8.c | 35 #define RTC_SECONDS (RTC_OFFSET + 9) macro 87 writeb(bin2bcd(tm->tm_sec) & RTC_SECONDS_MASK, ioaddr + RTC_SECONDS); in stk17ta8_rtc_set_time() local 109 second = readb(ioaddr + RTC_SECONDS) & RTC_SECONDS_MASK; in stk17ta8_rtc_read_time()
|
/kernel/linux/linux-5.10/arch/mips/dec/ |
H A 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()
|
/kernel/linux/linux-6.6/arch/mips/dec/ |
H A 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()
|
/kernel/linux/linux-5.10/arch/powerpc/platforms/maple/ |
H A D | time.c | 54 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()
|
/kernel/linux/linux-5.10/arch/powerpc/platforms/chrp/ |
H A 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()
|
/kernel/linux/linux-6.6/arch/powerpc/platforms/chrp/ |
H A D | time.c | 109 chrp_cmos_clock_write(tm.tm_sec,RTC_SECONDS); in chrp_set_rtc_time() 135 sec = chrp_cmos_clock_read(RTC_SECONDS); in chrp_get_rtc_time() 141 } while (sec != chrp_cmos_clock_read(RTC_SECONDS)); in chrp_get_rtc_time()
|
/kernel/linux/linux-6.6/arch/powerpc/platforms/maple/ |
H A D | time.c | 54 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()
|
/kernel/linux/linux-5.10/arch/x86/platform/intel-mid/ |
H A D | intel_mid_vrtc.c | 67 sec = vrtc_cmos_read(RTC_SECONDS); in vrtc_get_time() 106 vrtc_cmos_write(tm.tm_sec, RTC_SECONDS); in vrtc_set_mmss()
|
/kernel/linux/linux-5.10/arch/mips/mti-malta/ |
H A D | malta-time.c | 91 secs1 = CMOS_READ(RTC_SECONDS); in estimate_frequencies() 101 secs2 = CMOS_READ(RTC_SECONDS); in estimate_frequencies()
|
/kernel/linux/linux-6.6/arch/mips/mti-malta/ |
H A D | malta-time.c | 86 secs1 = CMOS_READ(RTC_SECONDS); in estimate_frequencies() 96 secs2 = CMOS_READ(RTC_SECONDS); in estimate_frequencies()
|
/kernel/linux/linux-5.10/include/linux/rtc/ |
H A D | ds1286.h | 15 #define RTC_SECONDS 1 macro
|
/kernel/linux/linux-6.6/include/linux/rtc/ |
H A D | ds1286.h | 15 #define RTC_SECONDS 1 macro
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | mc146818rtc.h | 50 #define RTC_SECONDS 0 macro
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | mc146818rtc.h | 50 #define RTC_SECONDS 0 macro
|
/kernel/linux/linux-5.10/arch/m68k/atari/ |
H A D | time.c | 263 sec = RTC_READ( RTC_SECONDS ); in atari_tt_hwclk() 272 RTC_WRITE( RTC_SECONDS, sec ); in atari_tt_hwclk()
|
/kernel/linux/linux-6.6/arch/m68k/atari/ |
H A D | time.c | 264 sec = RTC_READ( RTC_SECONDS ); in atari_tt_hwclk() 273 RTC_WRITE( RTC_SECONDS, sec ); in atari_tt_hwclk()
|