Searched refs:RTC_CONTROL (Results 1 – 12 of 12) sorted by relevance
/arch/mips/include/asm/ |
D | mc146818-time.h | 39 save_control = CMOS_READ(RTC_CONTROL); /* tell the clock it's being set */ in mc146818_set_rtc_mmss() 40 CMOS_WRITE((save_control|RTC_SET), RTC_CONTROL); in mc146818_set_rtc_mmss() 82 CMOS_WRITE(save_control, RTC_CONTROL); in mc146818_set_rtc_mmss() 105 if (!(CMOS_READ(RTC_CONTROL) & RTC_DM_BINARY) || RTC_ALWAYS_BCD) { in mc146818_get_cmos_time()
|
/arch/mips/dec/ |
D | time.c | 46 if (!(CMOS_READ(RTC_CONTROL) & RTC_DM_BINARY) || RTC_ALWAYS_BCD) { in read_persistent_clock64() 78 save_control = CMOS_READ(RTC_CONTROL); in update_persistent_clock64() 79 CMOS_WRITE((save_control | RTC_SET), RTC_CONTROL); in update_persistent_clock64() 120 CMOS_WRITE(save_control, RTC_CONTROL); in update_persistent_clock64()
|
/arch/powerpc/platforms/chrp/ |
D | time.c | 95 save_control = chrp_cmos_clock_read(RTC_CONTROL); /* tell the clock it's being set */ in chrp_set_rtc_time() 97 chrp_cmos_clock_write((save_control|RTC_SET), RTC_CONTROL); in chrp_set_rtc_time() 125 chrp_cmos_clock_write(save_control, RTC_CONTROL); in chrp_set_rtc_time() 145 if (!(chrp_cmos_clock_read(RTC_CONTROL) & RTC_DM_BINARY) || RTC_ALWAYS_BCD) { in chrp_get_rtc_time()
|
/arch/powerpc/platforms/maple/ |
D | time.c | 63 if (!(maple_clock_read(RTC_CONTROL) & RTC_DM_BINARY) in maple_get_rtc_time() 85 save_control = maple_clock_read(RTC_CONTROL); /* tell the clock it's being set */ in maple_set_rtc_time() 87 maple_clock_write((save_control|RTC_SET), RTC_CONTROL); in maple_set_rtc_time() 122 maple_clock_write(save_control, RTC_CONTROL); in maple_set_rtc_time()
|
/arch/mips/mti-malta/ |
D | malta-time.c | 103 ctrl = CMOS_READ(RTC_CONTROL); in estimate_frequencies() 194 ctrl = CMOS_READ(RTC_CONTROL); in init_rtc() 196 CMOS_WRITE(ctrl & ~RTC_SET, RTC_CONTROL); in init_rtc()
|
/arch/m68k/atari/ |
D | time.c | 205 ctrl = RTC_READ(RTC_CONTROL); /* control registers are in atari_tt_hwclk() 261 RTC_WRITE( RTC_CONTROL, ctrl | RTC_SET ); in atari_tt_hwclk() 280 RTC_WRITE( RTC_CONTROL, ctrl & ~RTC_SET ); in atari_tt_hwclk()
|
/arch/powerpc/platforms/ |
D | fsl_uli1575.c | 160 CMOS_WRITE(RTC_SET, RTC_CONTROL); in quirk_final_uli1575() 161 CMOS_WRITE(RTC_24H, RTC_CONTROL); in quirk_final_uli1575()
|
/arch/alpha/kernel/ |
D | time.c | 228 x = CMOS_READ(RTC_CONTROL); in common_init_rtc() 233 CMOS_WRITE(x, RTC_CONTROL); in common_init_rtc()
|
D | rtc.c | 59 ctrl = CMOS_READ(RTC_CONTROL); in init_rtc_epoch()
|
/arch/sh/include/asm/ |
D | smc37c93x.h | 181 #define RTC_CONTROL 11 macro
|
/arch/x86/kernel/ |
D | rtc.c | 101 status = CMOS_READ(RTC_CONTROL); in mach_get_cmos_time()
|
/arch/x86/kernel/apic/ |
D | io_apic.c | 2082 save_control = CMOS_READ(RTC_CONTROL); in unlock_ExtINT_logic() 2086 CMOS_WRITE(save_control | RTC_PIE, RTC_CONTROL); in unlock_ExtINT_logic() 2095 CMOS_WRITE(save_control, RTC_CONTROL); in unlock_ExtINT_logic()
|