Searched refs:save_freq_select (Results 1 – 6 of 6) sorted by relevance
/linux-5.19.10/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()
|
/linux-5.19.10/arch/mips/dec/ |
D | time.c | 73 unsigned char save_control, save_freq_select; in update_persistent_clock64() local 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-5.19.10/arch/powerpc/platforms/chrp/ |
D | time.c | 88 unsigned char save_control, save_freq_select; in chrp_set_rtc_time() local 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()
|
/linux-5.19.10/drivers/rtc/ |
D | rtc-mc146818-lib.c | 195 unsigned char save_control, save_freq_select; in mc146818_set_time() local 262 save_freq_select = CMOS_READ(RTC_FREQ_SELECT); in mc146818_set_time() 264 CMOS_WRITE((save_freq_select & ~RTC_AMD_BANK_SELECT), RTC_FREQ_SELECT); in mc146818_set_time() 266 CMOS_WRITE((save_freq_select|RTC_DIV_RESET2), RTC_FREQ_SELECT); in mc146818_set_time() 284 CMOS_WRITE(save_freq_select, RTC_FREQ_SELECT); in mc146818_set_time()
|
/linux-5.19.10/arch/powerpc/platforms/maple/ |
D | time.c | 79 unsigned char save_control, save_freq_select; in maple_set_rtc_time() local 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()
|
/linux-5.19.10/arch/x86/kernel/apic/ |
D | io_apic.c | 2080 unsigned char save_control, save_freq_select; in unlock_ExtINT_logic() local 2112 save_freq_select = CMOS_READ(RTC_FREQ_SELECT); in unlock_ExtINT_logic() 2113 CMOS_WRITE((save_freq_select & ~RTC_RATE_SELECT) | 0x6, in unlock_ExtINT_logic() 2125 CMOS_WRITE(save_freq_select, RTC_FREQ_SELECT); in unlock_ExtINT_logic()
|