Home
last modified time | relevance | path

Searched refs:RTC_SEC10 (Results 1 – 1 of 1) sorted by relevance

/linux-4.4.14/arch/sh/boards/mach-sh03/
Drtc.c20 #define RTC_SEC10 (RTC_BASE + 1) macro
47 sec = (__raw_readb(RTC_SEC1) & 0xf) + (__raw_readb(RTC_SEC10) & 0x7) * 10; in get_cmos_time()
55 } while (sec != (__raw_readb(RTC_SEC1) & 0xf) + (__raw_readb(RTC_SEC10) & 0x7) * 10); in get_cmos_time()
63 __raw_writeb(0, RTC_SEC1); __raw_writeb(0, RTC_SEC10); in get_cmos_time()
107 __raw_writeb(real_seconds / 10, RTC_SEC10); in set_rtc_mmss()