Home
last modified time | relevance | path

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

/Linux-v5.10/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()
/Linux-v5.10/drivers/rtc/
Drtc-mc146818-lib.c20 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()
Drtc-mrst.c66 uip = (vrtc_cmos_read(RTC_FREQ_SELECT) & RTC_UIP); in vrtc_is_updating()
Drtc-cmos.c818 CMOS_WRITE(RTC_REF_CLCK_32KHZ | 0x06, RTC_FREQ_SELECT); in cmos_do_probe()
1389 CMOS_WRITE(be32_to_cpup(val), RTC_FREQ_SELECT); in cmos_of_init()
/Linux-v5.10/arch/mips/dec/
Dtime.c82 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.10/arch/powerpc/platforms/chrp/
Dtime.c99 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.10/arch/alpha/kernel/
Dtime.c210 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.10/arch/powerpc/platforms/maple/
Dtime.c88 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()
/Linux-v5.10/arch/mips/mti-malta/
Dmalta-time.c189 freq = CMOS_READ(RTC_FREQ_SELECT); in init_rtc()
191 CMOS_WRITE(RTC_REF_CLCK_32KHZ, RTC_FREQ_SELECT); in init_rtc()
/Linux-v5.10/include/linux/
Dmc146818rtc.h74 #define RTC_FREQ_SELECT RTC_REG_A macro
/Linux-v5.10/arch/sh/include/asm/
Dsmc37c93x.h175 #define RTC_FREQ_SELECT 10 macro
/Linux-v5.10/arch/x86/platform/intel-mid/
Dintel_mid_vrtc.c64 while ((vrtc_cmos_read(RTC_FREQ_SELECT) & RTC_UIP)) in vrtc_get_time()
/Linux-v5.10/arch/x86/kernel/
Drtc.c85 while ((CMOS_READ(RTC_FREQ_SELECT) & RTC_UIP)) in mach_get_cmos_time()
/Linux-v5.10/arch/m68k/atari/
Dtime.c253 while( RTC_READ(RTC_FREQ_SELECT) & RTC_UIP ) { in atari_tt_hwclk()
/Linux-v5.10/arch/x86/kernel/apic/
Dio_apic.c2058 save_freq_select = CMOS_READ(RTC_FREQ_SELECT); in unlock_ExtINT_logic()
2060 RTC_FREQ_SELECT); in unlock_ExtINT_logic()
2071 CMOS_WRITE(save_freq_select, RTC_FREQ_SELECT); in unlock_ExtINT_logic()