Home
last modified time | relevance | path

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

/linux-6.3-rc2/arch/mips/include/asm/
A Dmc146818-time.h33 int real_seconds, real_minutes, cmos_minutes; in mc146818_set_rtc_mmss() local
55 real_seconds = nowtime % 60; in mc146818_set_rtc_mmss()
63 real_seconds = bin2bcd(real_seconds); in mc146818_set_rtc_mmss()
66 CMOS_WRITE(real_seconds, RTC_SECONDS); in mc146818_set_rtc_mmss()
/linux-6.3-rc2/arch/mips/dec/
A Dtime.c72 int real_seconds, real_minutes, cmos_minutes; in update_persistent_clock64() local
95 real_minutes = div_s64_rem(nowtime, 60, &real_seconds); in update_persistent_clock64()
102 real_seconds = bin2bcd(real_seconds); in update_persistent_clock64()
105 CMOS_WRITE(real_seconds, RTC_SECONDS); in update_persistent_clock64()
/linux-6.3-rc2/arch/sh/boards/mach-sh03/
A Drtc.c92 int real_seconds, real_minutes, cmos_minutes; in set_rtc_mmss() local
101 real_seconds = tm->tm_sec; in set_rtc_mmss()
108 __raw_writeb(real_seconds % 10, RTC_SEC1); in set_rtc_mmss()
109 __raw_writeb(real_seconds / 10, RTC_SEC10); in set_rtc_mmss()

Completed in 5 milliseconds