Searched refs:RTC_FREQ_SELECT (Results 1 – 13 of 13) sorted by relevance
/openbmc/linux/drivers/rtc/ |
H A D | rtc-mc146818-lib.c | 43 if (CMOS_READ(RTC_FREQ_SELECT) & RTC_UIP) { in mc146818_avoid_UIP() 62 if (CMOS_READ(RTC_FREQ_SELECT) & RTC_UIP) { in mc146818_avoid_UIP() 283 save_freq_select = CMOS_READ(RTC_FREQ_SELECT); in mc146818_set_time() 285 CMOS_WRITE((save_freq_select & ~RTC_AMD_BANK_SELECT), RTC_FREQ_SELECT); in mc146818_set_time() 287 CMOS_WRITE((save_freq_select|RTC_DIV_RESET2), RTC_FREQ_SELECT); in mc146818_set_time() 305 CMOS_WRITE(save_freq_select, RTC_FREQ_SELECT); in mc146818_set_time()
|
H A D | rtc-cmos.c | 1057 CMOS_WRITE(RTC_REF_CLCK_32KHZ | 0x06, RTC_FREQ_SELECT); in cmos_do_probe() 1478 CMOS_WRITE(be32_to_cpup(val), RTC_FREQ_SELECT); in cmos_of_init()
|
/openbmc/linux/arch/mips/include/asm/ |
H A D | mc146818-time.h | 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()
|
/openbmc/linux/arch/mips/dec/ |
H A D | time.c | 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()
|
/openbmc/linux/arch/powerpc/platforms/chrp/ |
H A D | time.c | 97 save_freq_select = chrp_cmos_clock_read(RTC_FREQ_SELECT); /* stop and reset prescaler */ in chrp_set_rtc_time() 99 chrp_cmos_clock_write((save_freq_select|RTC_DIV_RESET2), RTC_FREQ_SELECT); in chrp_set_rtc_time() 124 chrp_cmos_clock_write(save_freq_select, RTC_FREQ_SELECT); in chrp_set_rtc_time()
|
/openbmc/linux/arch/alpha/kernel/ |
H A D | time.c | 210 x = CMOS_READ(RTC_FREQ_SELECT) & 0x3f; in common_init_rtc() 224 CMOS_WRITE(sel, RTC_FREQ_SELECT); in common_init_rtc() 383 do { } while (!(CMOS_READ(RTC_FREQ_SELECT) & RTC_UIP)); in rpcc_after_update_in_progress() 384 do { } while (CMOS_READ(RTC_FREQ_SELECT) & RTC_UIP); in rpcc_after_update_in_progress()
|
/openbmc/linux/arch/powerpc/platforms/maple/ |
H A D | time.c | 88 save_freq_select = maple_clock_read(RTC_FREQ_SELECT); /* stop and reset prescaler */ in maple_set_rtc_time() 90 maple_clock_write((save_freq_select|RTC_DIV_RESET2), RTC_FREQ_SELECT); in maple_set_rtc_time() 122 maple_clock_write(save_freq_select, RTC_FREQ_SELECT); in maple_set_rtc_time()
|
/openbmc/linux/arch/mips/mti-malta/ |
H A D | malta-time.c | 184 freq = CMOS_READ(RTC_FREQ_SELECT); in init_rtc() 186 CMOS_WRITE(RTC_REF_CLCK_32KHZ, RTC_FREQ_SELECT); in init_rtc()
|
/openbmc/u-boot/include/linux/ |
H A D | mc146818rtc.h | 45 #define RTC_FREQ_SELECT RTC_REG_A macro
|
/openbmc/linux/include/linux/ |
H A D | mc146818rtc.h | 74 #define RTC_FREQ_SELECT RTC_REG_A macro
|
/openbmc/linux/arch/sh/include/asm/ |
H A D | smc37c93x.h | 175 #define RTC_FREQ_SELECT 10 macro
|
/openbmc/linux/arch/m68k/atari/ |
H A D | time.c | 254 while( RTC_READ(RTC_FREQ_SELECT) & RTC_UIP ) { in atari_tt_hwclk()
|
/openbmc/linux/arch/x86/kernel/apic/ |
H A D | io_apic.c | 2100 save_freq_select = CMOS_READ(RTC_FREQ_SELECT); in unlock_ExtINT_logic() 2102 RTC_FREQ_SELECT); in unlock_ExtINT_logic() 2113 CMOS_WRITE(save_freq_select, RTC_FREQ_SELECT); in unlock_ExtINT_logic()
|