Home
last modified time | relevance | path

Searched refs:save_freq_select (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
42 save_freq_select = CMOS_READ(RTC_FREQ_SELECT); /* stop and reset prescaler */ in mc146818_set_rtc_mmss()
43 CMOS_WRITE((save_freq_select|RTC_DIV_RESET2), RTC_FREQ_SELECT); in mc146818_set_rtc_mmss()
83 CMOS_WRITE(save_freq_select, RTC_FREQ_SELECT); in mc146818_set_rtc_mmss()
/arch/mips/dec/
Dtime.c73 unsigned char save_control, save_freq_select; in update_persistent_clock64() local
82 save_freq_select = CMOS_READ(RTC_FREQ_SELECT); in update_persistent_clock64()
83 CMOS_WRITE((save_freq_select | RTC_DIV_RESET2), RTC_FREQ_SELECT); in update_persistent_clock64()
121 CMOS_WRITE(save_freq_select, RTC_FREQ_SELECT); in update_persistent_clock64()
/arch/powerpc/platforms/chrp/
Dtime.c90 unsigned char save_control, save_freq_select; in chrp_set_rtc_time() local
99 save_freq_select = chrp_cmos_clock_read(RTC_FREQ_SELECT); /* stop and reset prescaler */ in chrp_set_rtc_time()
101 chrp_cmos_clock_write((save_freq_select|RTC_DIV_RESET2), RTC_FREQ_SELECT); in chrp_set_rtc_time()
126 chrp_cmos_clock_write(save_freq_select, RTC_FREQ_SELECT); in chrp_set_rtc_time()
/arch/powerpc/platforms/maple/
Dtime.c80 unsigned char save_control, save_freq_select; in maple_set_rtc_time() local
89 save_freq_select = maple_clock_read(RTC_FREQ_SELECT); /* stop and reset prescaler */ in maple_set_rtc_time()
91 maple_clock_write((save_freq_select|RTC_DIV_RESET2), RTC_FREQ_SELECT); in maple_set_rtc_time()
123 maple_clock_write(save_freq_select, RTC_FREQ_SELECT); in maple_set_rtc_time()
/arch/x86/kernel/apic/
Dio_apic.c2054 unsigned char save_control, save_freq_select; in unlock_ExtINT_logic() local
2083 save_freq_select = CMOS_READ(RTC_FREQ_SELECT); in unlock_ExtINT_logic()
2084 CMOS_WRITE((save_freq_select & ~RTC_RATE_SELECT) | 0x6, in unlock_ExtINT_logic()
2096 CMOS_WRITE(save_freq_select, RTC_FREQ_SELECT); in unlock_ExtINT_logic()