Home
last modified time | relevance | path

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

/linux/arch/mips/include/asm/
H A Dmc146818-time.h33 int real_seconds, real_minutes, cmos_minutes; in mc146818_set_rtc_mmss() local
45 cmos_minutes = CMOS_READ(RTC_MINUTES); in mc146818_set_rtc_mmss()
47 cmos_minutes = bcd2bin(cmos_minutes); in mc146818_set_rtc_mmss()
57 if (((abs(real_minutes - cmos_minutes) + 15)/30) & 1) in mc146818_set_rtc_mmss()
61 if (abs(real_minutes - cmos_minutes) < 30) { in mc146818_set_rtc_mmss()
71 cmos_minutes, real_minutes); in mc146818_set_rtc_mmss()
/linux/arch/mips/dec/
H A Dtime.c72 int real_seconds, real_minutes, cmos_minutes; in update_persistent_clock64() local
85 cmos_minutes = CMOS_READ(RTC_MINUTES); in update_persistent_clock64()
87 cmos_minutes = bcd2bin(cmos_minutes); in update_persistent_clock64()
96 if (((abs(real_minutes - cmos_minutes) + 15) / 30) & 1) in update_persistent_clock64()
100 if (abs(real_minutes - cmos_minutes) < 30) { in update_persistent_clock64()
110 cmos_minutes, real_minutes); in update_persistent_clock64()
/linux/arch/sh/boards/mach-sh03/
H A Drtc.c92 int real_seconds, real_minutes, cmos_minutes; in set_rtc_mmss() local
100 cmos_minutes = (__raw_readb(RTC_MIN1) & 0xf) + (__raw_readb(RTC_MIN10) & 0xf) * 10; in set_rtc_mmss()
103 if (((abs(real_minutes - cmos_minutes) + 15)/30) & 1) in set_rtc_mmss()
107 if (abs(real_minutes - cmos_minutes) < 30) { in set_rtc_mmss()
115 cmos_minutes, real_minutes); in set_rtc_mmss()