Searched refs:RTC_FREQ_SELECT (Results 1 – 16 of 16) sorted by relevance
/Linux-v5.4/arch/mips/include/asm/ |
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()
|
/Linux-v5.4/drivers/rtc/ |
D | rtc-mc146818-lib.c | 20 uip = (CMOS_READ(RTC_FREQ_SELECT) & RTC_UIP); in mc146818_is_updating() 174 save_freq_select = CMOS_READ(RTC_FREQ_SELECT); in mc146818_set_time() 175 CMOS_WRITE((save_freq_select|RTC_DIV_RESET2), RTC_FREQ_SELECT); in mc146818_set_time() 193 CMOS_WRITE(save_freq_select, RTC_FREQ_SELECT); in mc146818_set_time()
|
D | rtc-mrst.c | 66 uip = (vrtc_cmos_read(RTC_FREQ_SELECT) & RTC_UIP); in vrtc_is_updating()
|
D | rtc-cmos.c | 817 CMOS_WRITE(RTC_REF_CLCK_32KHZ | 0x06, RTC_FREQ_SELECT); in cmos_do_probe() 1386 CMOS_WRITE(be32_to_cpup(val), RTC_FREQ_SELECT); in cmos_of_init()
|
/Linux-v5.4/arch/mips/dec/ |
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()
|
/Linux-v5.4/arch/powerpc/platforms/chrp/ |
D | time.c | 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()
|
/Linux-v5.4/arch/alpha/kernel/ |
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()
|
/Linux-v5.4/arch/powerpc/platforms/maple/ |
D | time.c | 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()
|
/Linux-v5.4/drivers/char/ |
D | rtc.c | 211 uip = (CMOS_READ(RTC_FREQ_SELECT) & RTC_UIP); in rtc_is_updating() 608 save_freq_select = CMOS_READ(RTC_FREQ_SELECT); in rtc_do_ioctl() 609 CMOS_WRITE((save_freq_select|RTC_DIV_RESET2), RTC_FREQ_SELECT); in rtc_do_ioctl() 622 CMOS_WRITE(save_freq_select, RTC_FREQ_SELECT); in rtc_do_ioctl() 669 val = CMOS_READ(RTC_FREQ_SELECT) & 0xf0; in rtc_do_ioctl() 671 CMOS_WRITE(val, RTC_FREQ_SELECT); in rtc_do_ioctl() 1014 CMOS_WRITE(((CMOS_READ(RTC_FREQ_SELECT) & 0xF0) | 0x06), in rtc_init() 1015 RTC_FREQ_SELECT); in rtc_init()
|
/Linux-v5.4/arch/mips/mti-malta/ |
D | malta-time.c | 189 freq = CMOS_READ(RTC_FREQ_SELECT); in init_rtc() 191 CMOS_WRITE(RTC_REF_CLCK_32KHZ, RTC_FREQ_SELECT); in init_rtc()
|
/Linux-v5.4/include/linux/ |
D | mc146818rtc.h | 74 #define RTC_FREQ_SELECT RTC_REG_A macro
|
/Linux-v5.4/arch/sh/include/asm/ |
D | smc37c93x.h | 175 #define RTC_FREQ_SELECT 10 macro
|
/Linux-v5.4/arch/x86/platform/intel-mid/ |
D | intel_mid_vrtc.c | 64 while ((vrtc_cmos_read(RTC_FREQ_SELECT) & RTC_UIP)) in vrtc_get_time()
|
/Linux-v5.4/arch/x86/kernel/ |
D | rtc.c | 85 while ((CMOS_READ(RTC_FREQ_SELECT) & RTC_UIP)) in mach_get_cmos_time()
|
/Linux-v5.4/arch/m68k/atari/ |
D | time.c | 253 while( RTC_READ(RTC_FREQ_SELECT) & RTC_UIP ) { in atari_tt_hwclk()
|
/Linux-v5.4/arch/x86/kernel/apic/ |
D | io_apic.c | 2068 save_freq_select = CMOS_READ(RTC_FREQ_SELECT); in unlock_ExtINT_logic() 2070 RTC_FREQ_SELECT); in unlock_ExtINT_logic() 2081 CMOS_WRITE(save_freq_select, RTC_FREQ_SELECT); in unlock_ExtINT_logic()
|