Home
last modified time | relevance | path

Searched refs:RTC_FREQ_SELECT (Results 1 – 13 of 13) sorted by relevance

/arch/mn10300/kernel/
Drtc.c63 save_freq_select = CMOS_READ(RTC_FREQ_SELECT); /* stop and reset in set_rtc_mmss()
65 CMOS_WRITE(save_freq_select | RTC_DIV_RESET2, RTC_FREQ_SELECT); in set_rtc_mmss()
106 CMOS_WRITE(save_freq_select, RTC_FREQ_SELECT); in set_rtc_mmss()
/arch/mips/include/asm/
Dmc146818-time.h42 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.c80 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/
Dtime.c98 save_freq_select = chrp_cmos_clock_read(RTC_FREQ_SELECT); /* stop and reset prescaler */ in chrp_set_rtc_time()
100 chrp_cmos_clock_write((save_freq_select|RTC_DIV_RESET2), RTC_FREQ_SELECT); in chrp_set_rtc_time()
125 chrp_cmos_clock_write(save_freq_select, RTC_FREQ_SELECT); in chrp_set_rtc_time()
/arch/powerpc/platforms/maple/
Dtime.c94 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/
Dtime.c209 x = CMOS_READ(RTC_FREQ_SELECT) & 0x3f; in common_init_rtc()
223 CMOS_WRITE(sel, RTC_FREQ_SELECT); in common_init_rtc()
382 do { } while (!(CMOS_READ(RTC_FREQ_SELECT) & RTC_UIP)); in rpcc_after_update_in_progress()
383 do { } while (CMOS_READ(RTC_FREQ_SELECT) & RTC_UIP); in rpcc_after_update_in_progress()
Drtc.c152 save_freq_select = CMOS_READ(RTC_FREQ_SELECT); in alpha_rtc_set_mmss()
153 CMOS_WRITE((save_freq_select|RTC_DIV_RESET2), RTC_FREQ_SELECT); in alpha_rtc_set_mmss()
189 CMOS_WRITE(save_freq_select, RTC_FREQ_SELECT); in alpha_rtc_set_mmss()
/arch/mips/mti-malta/
Dmalta-time.c178 freq = CMOS_READ(RTC_FREQ_SELECT); in init_rtc()
180 CMOS_WRITE(RTC_REF_CLCK_32KHZ, RTC_FREQ_SELECT); in init_rtc()
/arch/m68k/atari/
Dtime.c234 while( RTC_READ(RTC_FREQ_SELECT) & RTC_UIP ) { in atari_tt_hwclk()
334 save_freq_select = RTC_READ (RTC_FREQ_SELECT); /* stop and reset prescaler */ in atari_tt_set_clock_mmss()
335 RTC_WRITE (RTC_FREQ_SELECT, save_freq_select | RTC_DIV_RESET2); in atari_tt_set_clock_mmss()
359 RTC_WRITE (RTC_FREQ_SELECT, save_freq_select); in atari_tt_set_clock_mmss()
/arch/sh/include/asm/
Dsmc37c93x.h174 #define RTC_FREQ_SELECT 10 macro
/arch/x86/platform/intel-mid/
Dintel_mid_vrtc.c67 while ((vrtc_cmos_read(RTC_FREQ_SELECT) & RTC_UIP)) in vrtc_get_time()
/arch/x86/kernel/
Drtc.c75 while ((CMOS_READ(RTC_FREQ_SELECT) & RTC_UIP)) in mach_get_cmos_time()
/arch/x86/kernel/apic/
Dio_apic.c2008 save_freq_select = CMOS_READ(RTC_FREQ_SELECT); in unlock_ExtINT_logic()
2010 RTC_FREQ_SELECT); in unlock_ExtINT_logic()
2021 CMOS_WRITE(save_freq_select, RTC_FREQ_SELECT); in unlock_ExtINT_logic()