Searched refs:save_freq_select (Results 1 - 10 of 10) sorted by relevance
/linux-4.4.14/arch/powerpc/platforms/chrp/ |
H A D | time.c | 87 unsigned char save_control, save_freq_select; chrp_set_rtc_time() local 96 save_freq_select = chrp_cmos_clock_read(RTC_FREQ_SELECT); /* stop and reset prescaler */ chrp_set_rtc_time() 98 chrp_cmos_clock_write((save_freq_select|RTC_DIV_RESET2), RTC_FREQ_SELECT); chrp_set_rtc_time() 123 chrp_cmos_clock_write(save_freq_select, RTC_FREQ_SELECT); chrp_set_rtc_time()
|
/linux-4.4.14/arch/mips/include/asm/ |
H A D | mc146818-time.h | 34 unsigned char save_control, save_freq_select; mc146818_set_rtc_mmss() local 42 save_freq_select = CMOS_READ(RTC_FREQ_SELECT); /* stop and reset prescaler */ mc146818_set_rtc_mmss() 43 CMOS_WRITE((save_freq_select|RTC_DIV_RESET2), RTC_FREQ_SELECT); mc146818_set_rtc_mmss() 83 CMOS_WRITE(save_freq_select, RTC_FREQ_SELECT); mc146818_set_rtc_mmss()
|
/linux-4.4.14/arch/powerpc/platforms/maple/ |
H A D | time.c | 85 unsigned char save_control, save_freq_select; maple_set_rtc_time() local 94 save_freq_select = maple_clock_read(RTC_FREQ_SELECT); /* stop and reset prescaler */ maple_set_rtc_time() 96 maple_clock_write((save_freq_select|RTC_DIV_RESET2), RTC_FREQ_SELECT); maple_set_rtc_time() 128 maple_clock_write(save_freq_select, RTC_FREQ_SELECT); maple_set_rtc_time()
|
/linux-4.4.14/arch/mips/dec/ |
H A D | time.c | 71 unsigned char save_control, save_freq_select; rtc_mips_set_mmss() local 80 save_freq_select = CMOS_READ(RTC_FREQ_SELECT); rtc_mips_set_mmss() 81 CMOS_WRITE((save_freq_select | RTC_DIV_RESET2), RTC_FREQ_SELECT); rtc_mips_set_mmss() 120 CMOS_WRITE(save_freq_select, RTC_FREQ_SELECT); rtc_mips_set_mmss()
|
/linux-4.4.14/arch/mn10300/kernel/ |
H A D | rtc.c | 53 unsigned char save_control, save_freq_select; set_rtc_mmss() local 63 save_freq_select = CMOS_READ(RTC_FREQ_SELECT); /* stop and reset set_rtc_mmss() 65 CMOS_WRITE(save_freq_select | RTC_DIV_RESET2, RTC_FREQ_SELECT); set_rtc_mmss() 106 CMOS_WRITE(save_freq_select, RTC_FREQ_SELECT); set_rtc_mmss()
|
/linux-4.4.14/arch/alpha/kernel/ |
H A D | rtc.c | 123 unsigned char save_control, save_freq_select; alpha_rtc_set_mmss() local 152 save_freq_select = CMOS_READ(RTC_FREQ_SELECT); alpha_rtc_set_mmss() 153 CMOS_WRITE((save_freq_select|RTC_DIV_RESET2), RTC_FREQ_SELECT); alpha_rtc_set_mmss() 189 CMOS_WRITE(save_freq_select, RTC_FREQ_SELECT); alpha_rtc_set_mmss()
|
/linux-4.4.14/include/asm-generic/ |
H A D | rtc.h | 133 unsigned char save_control, save_freq_select; __set_rtc_time() local 200 save_freq_select = CMOS_READ(RTC_FREQ_SELECT); __set_rtc_time() 201 CMOS_WRITE((save_freq_select|RTC_DIV_RESET2), RTC_FREQ_SELECT); __set_rtc_time() 219 CMOS_WRITE(save_freq_select, RTC_FREQ_SELECT); __set_rtc_time()
|
/linux-4.4.14/arch/m68k/atari/ |
H A D | time.c | 316 unsigned char save_control, save_freq_select, rtc_minutes; atari_tt_set_clock_mmss() local 321 save_freq_select = RTC_READ (RTC_FREQ_SELECT); /* stop and reset prescaler */ atari_tt_set_clock_mmss() 322 RTC_WRITE (RTC_FREQ_SELECT, save_freq_select | RTC_DIV_RESET2); atari_tt_set_clock_mmss() 346 RTC_WRITE (RTC_FREQ_SELECT, save_freq_select); atari_tt_set_clock_mmss()
|
/linux-4.4.14/drivers/char/ |
H A D | rtc.c | 550 unsigned char save_control, save_freq_select; rtc_do_ioctl() local 625 save_freq_select = CMOS_READ(RTC_FREQ_SELECT); rtc_do_ioctl() 626 CMOS_WRITE((save_freq_select|RTC_DIV_RESET2), RTC_FREQ_SELECT); rtc_do_ioctl() 639 CMOS_WRITE(save_freq_select, RTC_FREQ_SELECT); rtc_do_ioctl()
|
/linux-4.4.14/arch/x86/kernel/apic/ |
H A D | io_apic.c | 1964 unsigned char save_control, save_freq_select; unlock_ExtINT_logic() local 1993 save_freq_select = CMOS_READ(RTC_FREQ_SELECT); unlock_ExtINT_logic() 1994 CMOS_WRITE((save_freq_select & ~RTC_RATE_SELECT) | 0x6, unlock_ExtINT_logic() 2006 CMOS_WRITE(save_freq_select, RTC_FREQ_SELECT); unlock_ExtINT_logic()
|
Completed in 574 milliseconds