Home
last modified time | relevance | path

Searched refs:save_control (Results 1 – 5 of 5) sorted by relevance

/arch/mips/include/asm/
Dmc146818-time.h34 unsigned char save_control, save_freq_select; in mc146818_set_rtc_mmss() local
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()
46 if (!(save_control & RTC_DM_BINARY) || RTC_ALWAYS_BCD) in mc146818_set_rtc_mmss()
62 if (!(save_control & RTC_DM_BINARY) || RTC_ALWAYS_BCD) { in mc146818_set_rtc_mmss()
82 CMOS_WRITE(save_control, RTC_CONTROL); in mc146818_set_rtc_mmss()
/arch/mips/dec/
Dtime.c73 unsigned char save_control, save_freq_select; in update_persistent_clock64() local
78 save_control = CMOS_READ(RTC_CONTROL); in update_persistent_clock64()
79 CMOS_WRITE((save_control | RTC_SET), RTC_CONTROL); in update_persistent_clock64()
86 if (!(save_control & RTC_DM_BINARY) || RTC_ALWAYS_BCD) in update_persistent_clock64()
101 if (!(save_control & RTC_DM_BINARY) || RTC_ALWAYS_BCD) { in update_persistent_clock64()
120 CMOS_WRITE(save_control, RTC_CONTROL); in update_persistent_clock64()
/arch/powerpc/platforms/chrp/
Dtime.c90 unsigned char save_control, save_freq_select; in chrp_set_rtc_time() local
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()
103 if (!(save_control & RTC_DM_BINARY) || RTC_ALWAYS_BCD) { in chrp_set_rtc_time()
125 chrp_cmos_clock_write(save_control, RTC_CONTROL); in chrp_set_rtc_time()
/arch/powerpc/platforms/maple/
Dtime.c80 unsigned char save_control, save_freq_select; in maple_set_rtc_time() local
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()
100 if (!(save_control & RTC_DM_BINARY) || RTC_ALWAYS_BCD) { in maple_set_rtc_time()
122 maple_clock_write(save_control, RTC_CONTROL); in maple_set_rtc_time()
/arch/x86/kernel/apic/
Dio_apic.c2054 unsigned char save_control, save_freq_select; in unlock_ExtINT_logic() local
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()