Searched refs:cmos_minutes (Results 1 – 3 of 3) sorted by relevance
33 int real_seconds, real_minutes, cmos_minutes; in mc146818_set_rtc_mmss() local45 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()
72 int real_seconds, real_minutes, cmos_minutes; in update_persistent_clock64() local85 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()
92 int real_seconds, real_minutes, cmos_minutes; in set_rtc_mmss() local100 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()