Searched refs:cmos_minutes (Results 1 – 7 of 7) sorted by relevance
/linux-3.4.99/arch/mn10300/kernel/ |
D | rtc.c | 55 int real_seconds, real_minutes, cmos_minutes; in set_rtc_mmss() local 67 cmos_minutes = CMOS_READ(RTC_MINUTES); in set_rtc_mmss() 69 cmos_minutes = bcd2bin(cmos_minutes); in set_rtc_mmss() 79 if (((abs(real_minutes - cmos_minutes) + 15) / 30) & 1) in set_rtc_mmss() 84 if (abs(real_minutes - cmos_minutes) < 30) { in set_rtc_mmss() 94 cmos_minutes, real_minutes); in set_rtc_mmss()
|
/linux-3.4.99/arch/mips/include/asm/ |
D | mc146818-time.h | 33 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-3.4.99/arch/cris/kernel/ |
D | time.c | 61 int real_seconds, real_minutes, cmos_minutes; in set_rtc_mmss() local 68 cmos_minutes = CMOS_READ(RTC_MINUTES); in set_rtc_mmss() 69 cmos_minutes = bcd2bin(cmos_minutes); in set_rtc_mmss() 79 if (((abs(real_minutes - cmos_minutes) + 15)/30) & 1) in set_rtc_mmss() 83 if (abs(real_minutes - cmos_minutes) < 30) { in set_rtc_mmss() 91 cmos_minutes, real_minutes); in set_rtc_mmss()
|
/linux-3.4.99/arch/mips/dec/ |
D | time.c | 70 int real_seconds, real_minutes, cmos_minutes; in rtc_mips_set_mmss() local 83 cmos_minutes = CMOS_READ(RTC_MINUTES); in rtc_mips_set_mmss() 85 cmos_minutes = bcd2bin(cmos_minutes); in rtc_mips_set_mmss() 95 if (((abs(real_minutes - cmos_minutes) + 15) / 30) & 1) in rtc_mips_set_mmss() 99 if (abs(real_minutes - cmos_minutes) < 30) { in rtc_mips_set_mmss() 109 cmos_minutes, real_minutes); in rtc_mips_set_mmss()
|
/linux-3.4.99/arch/x86/kernel/ |
D | rtc.c | 45 int real_seconds, real_minutes, cmos_minutes; in mach_set_rtc_mmss() local 60 cmos_minutes = CMOS_READ(RTC_MINUTES); in mach_set_rtc_mmss() 62 cmos_minutes = bcd2bin(cmos_minutes); in mach_set_rtc_mmss() 73 if (((abs(real_minutes - cmos_minutes) + 15)/30) & 1) in mach_set_rtc_mmss() 77 if (abs(real_minutes - cmos_minutes) < 30) { in mach_set_rtc_mmss() 87 cmos_minutes, real_minutes); in mach_set_rtc_mmss()
|
/linux-3.4.99/arch/sh/boards/mach-sh03/ |
D | rtc.c | 90 int real_seconds, real_minutes, cmos_minutes; in set_rtc_mmss() local 98 cmos_minutes = (__raw_readb(RTC_MIN1) & 0xf) + (__raw_readb(RTC_MIN10) & 0xf) * 10; in set_rtc_mmss() 101 if (((abs(real_minutes - cmos_minutes) + 15)/30) & 1) in set_rtc_mmss() 105 if (abs(real_minutes - cmos_minutes) < 30) { in set_rtc_mmss() 113 cmos_minutes, real_minutes); in set_rtc_mmss()
|
/linux-3.4.99/arch/alpha/kernel/ |
D | time.c | 465 int real_seconds, real_minutes, cmos_minutes; in set_rtc_mmss() local 478 cmos_minutes = CMOS_READ(RTC_MINUTES); in set_rtc_mmss() 480 cmos_minutes = bcd2bin(cmos_minutes); in set_rtc_mmss() 490 if (((abs(real_minutes - cmos_minutes) + 15)/30) & 1) { in set_rtc_mmss() 496 if (abs(real_minutes - cmos_minutes) < 30) { in set_rtc_mmss() 506 cmos_minutes, real_minutes); in set_rtc_mmss()
|