Searched refs:real_seconds (Results 1 – 3 of 3) sorted by relevance
/linux/arch/mips/include/asm/ |
H A D | mc146818-time.h | 33 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/arch/mips/dec/ |
H A D | time.c | 72 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/arch/sh/boards/mach-sh03/ |
H A D | rtc.c | 92 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()
|