Home
last modified time | relevance | path

Searched refs:RTC_SEC1 (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/arch/sh/boards/mach-sh03/
H A Drtc.c21 #define RTC_SEC1 (RTC_BASE + 0) macro
49 sec = (__raw_readb(RTC_SEC1) & 0xf) + (__raw_readb(RTC_SEC10) & 0x7) * 10; in sh03_rtc_gettimeofday()
57 } while (sec != (__raw_readb(RTC_SEC1) & 0xf) + (__raw_readb(RTC_SEC10) & 0x7) * 10); in sh03_rtc_gettimeofday()
65 __raw_writeb(0, RTC_SEC1); __raw_writeb(0, RTC_SEC10); in sh03_rtc_gettimeofday()
109 __raw_writeb(real_seconds % 10, RTC_SEC1); in set_rtc_mmss()
/kernel/linux/linux-6.6/arch/sh/boards/mach-sh03/
H A Drtc.c20 #define RTC_SEC1 (RTC_BASE + 0) macro
48 sec = (__raw_readb(RTC_SEC1) & 0xf) + (__raw_readb(RTC_SEC10) & 0x7) * 10; in sh03_rtc_gettimeofday()
56 } while (sec != (__raw_readb(RTC_SEC1) & 0xf) + (__raw_readb(RTC_SEC10) & 0x7) * 10); in sh03_rtc_gettimeofday()
64 __raw_writeb(0, RTC_SEC1); __raw_writeb(0, RTC_SEC10); in sh03_rtc_gettimeofday()
108 __raw_writeb(real_seconds % 10, RTC_SEC1); in set_rtc_mmss()

Completed in 2 milliseconds