Home
last modified time | relevance | path

Searched refs:RTC_CONTROL (Results 1 – 16 of 16) sorted by relevance

/arch/mips/include/asm/
Dmc146818-time.h39 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/
Dtime.c45 if (!(CMOS_READ(RTC_CONTROL) & RTC_DM_BINARY) || RTC_ALWAYS_BCD) { in read_persistent_clock()
76 save_control = CMOS_READ(RTC_CONTROL); in rtc_mips_set_mmss()
77 CMOS_WRITE((save_control | RTC_SET), RTC_CONTROL); in rtc_mips_set_mmss()
119 CMOS_WRITE(save_control, RTC_CONTROL); in rtc_mips_set_mmss()
/arch/mn10300/kernel/
Drtc.c59 save_control = CMOS_READ(RTC_CONTROL); /* tell the clock it's being in set_rtc_mmss()
61 CMOS_WRITE(save_control | RTC_SET, RTC_CONTROL); in set_rtc_mmss()
105 CMOS_WRITE(save_control, RTC_CONTROL); in set_rtc_mmss()
/arch/powerpc/platforms/chrp/
Dtime.c92 save_control = chrp_cmos_clock_read(RTC_CONTROL); /* tell the clock it's being set */ in chrp_set_rtc_time()
94 chrp_cmos_clock_write((save_control|RTC_SET), RTC_CONTROL); in chrp_set_rtc_time()
122 chrp_cmos_clock_write(save_control, RTC_CONTROL); in chrp_set_rtc_time()
142 if (!(chrp_cmos_clock_read(RTC_CONTROL) & RTC_DM_BINARY) || RTC_ALWAYS_BCD) { in chrp_get_rtc_time()
/arch/powerpc/platforms/maple/
Dtime.c68 if (!(maple_clock_read(RTC_CONTROL) & RTC_DM_BINARY) in maple_get_rtc_time()
90 save_control = maple_clock_read(RTC_CONTROL); /* tell the clock it's being set */ in maple_set_rtc_time()
92 maple_clock_write((save_control|RTC_SET), RTC_CONTROL); in maple_set_rtc_time()
127 maple_clock_write(save_control, RTC_CONTROL); in maple_set_rtc_time()
/arch/alpha/kernel/
Dtime.c129 if (!(CMOS_READ(RTC_CONTROL) & RTC_DM_BINARY) || RTC_ALWAYS_BCD) { in read_persistent_clock()
218 x = CMOS_READ(RTC_CONTROL); in common_init_rtc()
223 CMOS_WRITE(x, RTC_CONTROL); in common_init_rtc()
471 save_control = CMOS_READ(RTC_CONTROL); in set_rtc_mmss()
472 CMOS_WRITE((save_control|RTC_SET), RTC_CONTROL); in set_rtc_mmss()
517 CMOS_WRITE(save_control, RTC_CONTROL); in set_rtc_mmss()
/arch/mips/mipssim/
Dsim_time.c109 CMOS_WRITE(CMOS_READ(RTC_CONTROL) | RTC_DM_BINARY, RTC_CONTROL); in plat_time_init()
/arch/x86/kernel/
Drtc.c53 save_control = CMOS_READ(RTC_CONTROL); in mach_set_rtc_mmss()
54 CMOS_WRITE((save_control|RTC_SET), RTC_CONTROL); in mach_set_rtc_mmss()
98 CMOS_WRITE(save_control, RTC_CONTROL); in mach_set_rtc_mmss()
135 status = CMOS_READ(RTC_CONTROL); in mach_get_cmos_time()
/arch/mips/mti-malta/
Dmalta-time.c150 CMOS_WRITE(CMOS_READ(RTC_CONTROL) | RTC_DM_BINARY, RTC_CONTROL); in plat_time_init()
Dmalta-platform.c144 CMOS_WRITE(CMOS_READ(RTC_CONTROL) & ~RTC_DM_BINARY, RTC_CONTROL); in malta_add_devices()
/arch/m68k/atari/
Dtime.c174 ctrl = RTC_READ(RTC_CONTROL); /* control registers are in atari_tt_hwclk()
230 RTC_WRITE( RTC_CONTROL, ctrl | RTC_SET ); in atari_tt_hwclk()
249 RTC_WRITE( RTC_CONTROL, ctrl & ~RTC_SET ); in atari_tt_hwclk()
319 save_control = RTC_READ (RTC_CONTROL); /* tell the clock it's being set */ in atari_tt_set_clock_mmss()
320 RTC_WRITE (RTC_CONTROL, save_control | RTC_SET); in atari_tt_set_clock_mmss()
348 RTC_WRITE (RTC_CONTROL, save_control); in atari_tt_set_clock_mmss()
/arch/m32r/include/asm/
Drtc.h12 # define RTC_CONTROL 7 macro
/arch/cris/include/asm/
Drtc.h14 # define RTC_CONTROL 7 macro
/arch/sh/include/asm/
Dsmc37c93x.h180 #define RTC_CONTROL 11 macro
/arch/powerpc/platforms/
Dfsl_uli1575.c164 CMOS_WRITE(RTC_SET, RTC_CONTROL); in quirk_final_uli1575()
165 CMOS_WRITE(RTC_24H, RTC_CONTROL); in quirk_final_uli1575()
/arch/x86/kernel/apic/
Dio_apic.c2831 save_control = CMOS_READ(RTC_CONTROL); in unlock_ExtINT_logic()
2835 CMOS_WRITE(save_control | RTC_PIE, RTC_CONTROL); in unlock_ExtINT_logic()
2844 CMOS_WRITE(save_control, RTC_CONTROL); in unlock_ExtINT_logic()