Searched refs:RTC_CONTROL (Results 1 – 16 of 16) 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 | 47 if (!(CMOS_READ(RTC_CONTROL) & RTC_DM_BINARY) || RTC_ALWAYS_BCD) { in read_persistent_clock() 77 save_control = CMOS_READ(RTC_CONTROL); in rtc_mips_set_mmss() 78 CMOS_WRITE((save_control | RTC_SET), RTC_CONTROL); in rtc_mips_set_mmss() 120 CMOS_WRITE(save_control, RTC_CONTROL); in rtc_mips_set_mmss()
|
/arch/arm/mach-footbridge/ |
D | time.c | 51 if (!(CMOS_READ(RTC_CONTROL) & RTC_DM_BINARY) || RTC_ALWAYS_BCD) { in get_isa_cmos_time() 71 save_control = CMOS_READ(RTC_CONTROL); /* tell the clock it's being set */ in set_isa_cmos_time() 72 CMOS_WRITE((save_control|RTC_SET), RTC_CONTROL); in set_isa_cmos_time() 110 CMOS_WRITE(save_control, RTC_CONTROL); in set_isa_cmos_time()
|
/arch/powerpc/platforms/chrp/ |
D | time.c | 88 save_control = chrp_cmos_clock_read(RTC_CONTROL); /* tell the clock it's being set */ in chrp_set_rtc_time() 90 chrp_cmos_clock_write((save_control|RTC_SET), RTC_CONTROL); in chrp_set_rtc_time() 118 chrp_cmos_clock_write(save_control, RTC_CONTROL); in chrp_set_rtc_time() 138 if (!(chrp_cmos_clock_read(RTC_CONTROL) & RTC_DM_BINARY) || RTC_ALWAYS_BCD) { in chrp_get_rtc_time()
|
/arch/mn10300/kernel/ |
D | rtc.c | 60 save_control = CMOS_READ(RTC_CONTROL); /* tell the clock it's being in set_rtc_mmss() 62 CMOS_WRITE(save_control | RTC_SET, RTC_CONTROL); in set_rtc_mmss() 106 CMOS_WRITE(save_control, RTC_CONTROL); in set_rtc_mmss()
|
/arch/powerpc/platforms/maple/ |
D | time.c | 69 if (!(maple_clock_read(RTC_CONTROL) & RTC_DM_BINARY) in maple_get_rtc_time() 91 save_control = maple_clock_read(RTC_CONTROL); /* tell the clock it's being set */ in maple_set_rtc_time() 93 maple_clock_write((save_control|RTC_SET), RTC_CONTROL); in maple_set_rtc_time() 128 maple_clock_write(save_control, RTC_CONTROL); in maple_set_rtc_time()
|
/arch/x86/kernel/ |
D | rtc.c | 46 save_control = CMOS_READ(RTC_CONTROL); in mach_set_rtc_mmss() 47 CMOS_WRITE((save_control|RTC_SET), RTC_CONTROL); in mach_set_rtc_mmss() 91 CMOS_WRITE(save_control, RTC_CONTROL); in mach_set_rtc_mmss() 123 status = CMOS_READ(RTC_CONTROL); in mach_get_cmos_time()
|
D | io_apic.c | 2824 save_control = CMOS_READ(RTC_CONTROL); in unlock_ExtINT_logic() 2828 CMOS_WRITE(save_control | RTC_PIE, RTC_CONTROL); in unlock_ExtINT_logic() 2837 CMOS_WRITE(save_control, RTC_CONTROL); in unlock_ExtINT_logic()
|
/arch/mips/mipssim/ |
D | sim_time.c | 107 CMOS_WRITE(CMOS_READ(RTC_CONTROL) | RTC_DM_BINARY, RTC_CONTROL); in plat_time_init()
|
/arch/m68k/atari/ |
D | time.c | 173 ctrl = RTC_READ(RTC_CONTROL); /* control registers are in atari_tt_hwclk() 229 RTC_WRITE( RTC_CONTROL, ctrl | RTC_SET ); in atari_tt_hwclk() 248 RTC_WRITE( RTC_CONTROL, ctrl & ~RTC_SET ); in atari_tt_hwclk() 318 save_control = RTC_READ (RTC_CONTROL); /* tell the clock it's being set */ in atari_tt_set_clock_mmss() 319 RTC_WRITE (RTC_CONTROL, save_control | RTC_SET); in atari_tt_set_clock_mmss() 347 RTC_WRITE (RTC_CONTROL, save_control); in atari_tt_set_clock_mmss()
|
/arch/alpha/kernel/ |
D | time.c | 164 x = CMOS_READ(RTC_CONTROL); in common_init_rtc() 169 CMOS_WRITE(x, RTC_CONTROL); in common_init_rtc() 358 if (!(CMOS_READ(RTC_CONTROL) & RTC_DM_BINARY) || RTC_ALWAYS_BCD) { in time_init() 529 save_control = CMOS_READ(RTC_CONTROL); in set_rtc_mmss() 530 CMOS_WRITE((save_control|RTC_SET), RTC_CONTROL); in set_rtc_mmss() 575 CMOS_WRITE(save_control, RTC_CONTROL); in set_rtc_mmss()
|
/arch/mips/mti-malta/ |
D | malta-time.c | 148 CMOS_WRITE(CMOS_READ(RTC_CONTROL) | RTC_DM_BINARY, RTC_CONTROL); in plat_time_init()
|
D | malta-platform.c | 143 CMOS_WRITE(CMOS_READ(RTC_CONTROL) & ~RTC_DM_BINARY, RTC_CONTROL); in malta_add_devices()
|
/arch/cris/include/asm/ |
D | rtc.h | 14 # define RTC_CONTROL 7 macro
|
/arch/sh/include/asm/ |
D | smc37c93x.h | 180 #define RTC_CONTROL 11 macro
|
/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()
|