Searched refs:cmos_minutes (Results 1 - 5 of 5) sorted by relevance
/linux-4.1.27/arch/mips/include/asm/ |
H A D | mc146818-time.h | 33 int real_seconds, real_minutes, cmos_minutes; mc146818_set_rtc_mmss() local 45 cmos_minutes = CMOS_READ(RTC_MINUTES); mc146818_set_rtc_mmss() 47 cmos_minutes = bcd2bin(cmos_minutes); mc146818_set_rtc_mmss() 57 if (((abs(real_minutes - cmos_minutes) + 15)/30) & 1) mc146818_set_rtc_mmss() 61 if (abs(real_minutes - cmos_minutes) < 30) { mc146818_set_rtc_mmss() 71 cmos_minutes, real_minutes); mc146818_set_rtc_mmss()
|
/linux-4.1.27/arch/sh/boards/mach-sh03/ |
H A D | rtc.c | 90 int real_seconds, real_minutes, cmos_minutes; set_rtc_mmss() local 98 cmos_minutes = (__raw_readb(RTC_MIN1) & 0xf) + (__raw_readb(RTC_MIN10) & 0xf) * 10; set_rtc_mmss() 101 if (((abs(real_minutes - cmos_minutes) + 15)/30) & 1) set_rtc_mmss() 105 if (abs(real_minutes - cmos_minutes) < 30) { set_rtc_mmss() 113 cmos_minutes, real_minutes); set_rtc_mmss()
|
/linux-4.1.27/arch/mips/dec/ |
H A D | time.c | 70 int real_seconds, real_minutes, cmos_minutes; rtc_mips_set_mmss() local 83 cmos_minutes = CMOS_READ(RTC_MINUTES); rtc_mips_set_mmss() 85 cmos_minutes = bcd2bin(cmos_minutes); rtc_mips_set_mmss() 95 if (((abs(real_minutes - cmos_minutes) + 15) / 30) & 1) rtc_mips_set_mmss() 99 if (abs(real_minutes - cmos_minutes) < 30) { rtc_mips_set_mmss() 109 cmos_minutes, real_minutes); rtc_mips_set_mmss()
|
/linux-4.1.27/arch/mn10300/kernel/ |
H A D | rtc.c | 55 int real_seconds, real_minutes, cmos_minutes; set_rtc_mmss() local 67 cmos_minutes = CMOS_READ(RTC_MINUTES); set_rtc_mmss() 69 cmos_minutes = bcd2bin(cmos_minutes); set_rtc_mmss() 79 if (((abs(real_minutes - cmos_minutes) + 15) / 30) & 1) set_rtc_mmss() 84 if (abs(real_minutes - cmos_minutes) < 30) { set_rtc_mmss() 94 cmos_minutes, real_minutes); set_rtc_mmss()
|
/linux-4.1.27/arch/alpha/kernel/ |
H A D | rtc.c | 122 int real_seconds, real_minutes, cmos_minutes; alpha_rtc_set_mmss() local 155 cmos_minutes = CMOS_READ(RTC_MINUTES); alpha_rtc_set_mmss() 157 cmos_minutes = bcd2bin(cmos_minutes); alpha_rtc_set_mmss() 161 if (((abs(real_minutes - cmos_minutes) + 15) / 30) & 1) { alpha_rtc_set_mmss() 167 if (abs(real_minutes - cmos_minutes) < 30) { alpha_rtc_set_mmss() 177 cmos_minutes, real_minutes); alpha_rtc_set_mmss()
|
Completed in 356 milliseconds