Searched refs:save_freq_select (Results 1 – 7 of 7) sorted by relevance
/arch/mips/include/asm/ |
D | mc146818-time.h | 34 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/ |
D | time.c | 71 unsigned char save_control, save_freq_select; in rtc_mips_set_mmss() local 80 save_freq_select = CMOS_READ(RTC_FREQ_SELECT); in rtc_mips_set_mmss() 81 CMOS_WRITE((save_freq_select | RTC_DIV_RESET2), RTC_FREQ_SELECT); in rtc_mips_set_mmss() 120 CMOS_WRITE(save_freq_select, RTC_FREQ_SELECT); in rtc_mips_set_mmss()
|
/arch/powerpc/platforms/chrp/ |
D | time.c | 87 unsigned char save_control, save_freq_select; in chrp_set_rtc_time() local 96 save_freq_select = chrp_cmos_clock_read(RTC_FREQ_SELECT); /* stop and reset prescaler */ in chrp_set_rtc_time() 98 chrp_cmos_clock_write((save_freq_select|RTC_DIV_RESET2), RTC_FREQ_SELECT); in chrp_set_rtc_time() 123 chrp_cmos_clock_write(save_freq_select, RTC_FREQ_SELECT); in chrp_set_rtc_time()
|
/arch/powerpc/platforms/maple/ |
D | time.c | 85 unsigned char save_control, save_freq_select; in maple_set_rtc_time() local 94 save_freq_select = maple_clock_read(RTC_FREQ_SELECT); /* stop and reset prescaler */ in maple_set_rtc_time() 96 maple_clock_write((save_freq_select|RTC_DIV_RESET2), RTC_FREQ_SELECT); in maple_set_rtc_time() 128 maple_clock_write(save_freq_select, RTC_FREQ_SELECT); in maple_set_rtc_time()
|
/arch/alpha/kernel/ |
D | rtc.c | 121 unsigned char save_control, save_freq_select; in alpha_rtc_set_mmss() local 150 save_freq_select = CMOS_READ(RTC_FREQ_SELECT); in alpha_rtc_set_mmss() 151 CMOS_WRITE((save_freq_select|RTC_DIV_RESET2), RTC_FREQ_SELECT); in alpha_rtc_set_mmss() 187 CMOS_WRITE(save_freq_select, RTC_FREQ_SELECT); in alpha_rtc_set_mmss()
|
/arch/m68k/atari/ |
D | time.c | 316 unsigned char save_control, save_freq_select, rtc_minutes; in atari_tt_set_clock_mmss() local 321 save_freq_select = RTC_READ (RTC_FREQ_SELECT); /* stop and reset prescaler */ in atari_tt_set_clock_mmss() 322 RTC_WRITE (RTC_FREQ_SELECT, save_freq_select | RTC_DIV_RESET2); in atari_tt_set_clock_mmss() 346 RTC_WRITE (RTC_FREQ_SELECT, save_freq_select); in atari_tt_set_clock_mmss()
|
/arch/x86/kernel/apic/ |
D | io_apic.c | 1967 unsigned char save_control, save_freq_select; in unlock_ExtINT_logic() local 1996 save_freq_select = CMOS_READ(RTC_FREQ_SELECT); in unlock_ExtINT_logic() 1997 CMOS_WRITE((save_freq_select & ~RTC_RATE_SELECT) | 0x6, in unlock_ExtINT_logic() 2009 CMOS_WRITE(save_freq_select, RTC_FREQ_SELECT); in unlock_ExtINT_logic()
|