/Linux-v4.19/drivers/rtc/ |
D | rtc-mc146818-lib.c | 172 CMOS_WRITE((save_control|RTC_SET), RTC_CONTROL); in mc146818_set_time() 174 CMOS_WRITE((save_freq_select|RTC_DIV_RESET2), RTC_FREQ_SELECT); in mc146818_set_time() 177 CMOS_WRITE(real_yrs, RTC_DEC_YEAR); in mc146818_set_time() 179 CMOS_WRITE(yrs, RTC_YEAR); in mc146818_set_time() 180 CMOS_WRITE(mon, RTC_MONTH); in mc146818_set_time() 181 CMOS_WRITE(day, RTC_DAY_OF_MONTH); in mc146818_set_time() 182 CMOS_WRITE(hrs, RTC_HOURS); in mc146818_set_time() 183 CMOS_WRITE(min, RTC_MINUTES); in mc146818_set_time() 184 CMOS_WRITE(sec, RTC_SECONDS); in mc146818_set_time() 188 CMOS_WRITE(century, acpi_gbl_FADT.century); in mc146818_set_time() [all …]
|
D | rtc-cmos.c | 339 CMOS_WRITE(rtc_control, RTC_CONTROL); in cmos_irq_enable() 357 CMOS_WRITE(rtc_control, RTC_CONTROL); in cmos_irq_disable() 471 CMOS_WRITE(hrs, RTC_HOURS_ALARM); in cmos_set_alarm() 472 CMOS_WRITE(min, RTC_MINUTES_ALARM); in cmos_set_alarm() 473 CMOS_WRITE(sec, RTC_SECONDS_ALARM); in cmos_set_alarm() 477 CMOS_WRITE(mday, cmos->day_alrm); in cmos_set_alarm() 479 CMOS_WRITE(mon, cmos->mon_alrm); in cmos_set_alarm() 621 CMOS_WRITE(*buf++, off); in cmos_nvram_write() 670 CMOS_WRITE(rtc_control, RTC_CONTROL); in cmos_interrupt() 803 CMOS_WRITE(RTC_REF_CLCK_32KHZ | 0x06, RTC_FREQ_SELECT); in cmos_do_probe() [all …]
|
/Linux-v4.19/arch/mips/include/asm/ |
D | mc146818-time.h | 40 CMOS_WRITE((save_control|RTC_SET), RTC_CONTROL); in mc146818_set_rtc_mmss() 43 CMOS_WRITE((save_freq_select|RTC_DIV_RESET2), RTC_FREQ_SELECT); in mc146818_set_rtc_mmss() 66 CMOS_WRITE(real_seconds, RTC_SECONDS); in mc146818_set_rtc_mmss() 67 CMOS_WRITE(real_minutes, RTC_MINUTES); in mc146818_set_rtc_mmss() 82 CMOS_WRITE(save_control, RTC_CONTROL); in mc146818_set_rtc_mmss() 83 CMOS_WRITE(save_freq_select, RTC_FREQ_SELECT); in mc146818_set_rtc_mmss()
|
/Linux-v4.19/arch/mips/dec/ |
D | time.c | 79 CMOS_WRITE((save_control | RTC_SET), RTC_CONTROL); in update_persistent_clock64() 83 CMOS_WRITE((save_freq_select | RTC_DIV_RESET2), RTC_FREQ_SELECT); in update_persistent_clock64() 105 CMOS_WRITE(real_seconds, RTC_SECONDS); in update_persistent_clock64() 106 CMOS_WRITE(real_minutes, RTC_MINUTES); in update_persistent_clock64() 120 CMOS_WRITE(save_control, RTC_CONTROL); in update_persistent_clock64() 121 CMOS_WRITE(save_freq_select, RTC_FREQ_SELECT); in update_persistent_clock64()
|
/Linux-v4.19/drivers/char/ |
D | rtc.c | 520 CMOS_WRITE(hrs, RTC_HOURS_ALARM); in rtc_do_ioctl() 521 CMOS_WRITE(min, RTC_MINUTES_ALARM); in rtc_do_ioctl() 522 CMOS_WRITE(sec, RTC_SECONDS_ALARM); in rtc_do_ioctl() 611 CMOS_WRITE((save_control|RTC_SET), RTC_CONTROL); in rtc_do_ioctl() 613 CMOS_WRITE((save_freq_select|RTC_DIV_RESET2), RTC_FREQ_SELECT); in rtc_do_ioctl() 616 CMOS_WRITE(real_yrs, RTC_DEC_YEAR); in rtc_do_ioctl() 618 CMOS_WRITE(yrs, RTC_YEAR); in rtc_do_ioctl() 619 CMOS_WRITE(mon, RTC_MONTH); in rtc_do_ioctl() 620 CMOS_WRITE(day, RTC_DAY_OF_MONTH); in rtc_do_ioctl() 621 CMOS_WRITE(hrs, RTC_HOURS); in rtc_do_ioctl() [all …]
|
/Linux-v4.19/arch/mips/kernel/ |
D | cevt-ds1287.c | 51 CMOS_WRITE(RTC_REF_CLCK_32KHZ | rate, RTC_REG_A); in ds1287_set_base_clock() 70 CMOS_WRITE(val, RTC_REG_B); in ds1287_shutdown() 84 CMOS_WRITE(val, RTC_REG_B); in ds1287_set_periodic()
|
/Linux-v4.19/arch/arm/mach-footbridge/ |
D | isa-rtc.c | 40 CMOS_WRITE(RTC_REF_CLCK_32KHZ, RTC_REG_A); in isa_rtc_init() 48 CMOS_WRITE(reg_b, RTC_REG_B); in isa_rtc_init()
|
/Linux-v4.19/arch/powerpc/platforms/ |
D | fsl_uli1575.c | 164 CMOS_WRITE(RTC_SET, RTC_CONTROL); in quirk_final_uli1575() 165 CMOS_WRITE(RTC_24H, RTC_CONTROL); in quirk_final_uli1575() 168 CMOS_WRITE(0, RTC_VALID); in quirk_final_uli1575()
|
/Linux-v4.19/arch/mips/mti-malta/ |
D | malta-time.c | 203 CMOS_WRITE(RTC_REF_CLCK_32KHZ, RTC_FREQ_SELECT); in init_rtc() 208 CMOS_WRITE(ctrl & ~RTC_SET, RTC_CONTROL); in init_rtc()
|
/Linux-v4.19/arch/alpha/include/asm/ |
D | mc146818rtc.h | 23 #define CMOS_WRITE(val, addr) ({ \ macro
|
/Linux-v4.19/arch/m68k/include/asm/ |
D | mc146818rtc.h | 21 #define CMOS_WRITE(val, addr) ({ \ macro
|
/Linux-v4.19/arch/mips/include/asm/mach-jazz/ |
D | mc146818rtc.h | 28 static inline void CMOS_WRITE(unsigned char data, unsigned long addr) in CMOS_WRITE() function
|
/Linux-v4.19/arch/powerpc/include/asm/ |
D | mc146818rtc.h | 30 #define CMOS_WRITE(val, addr) ({ \ macro
|
/Linux-v4.19/arch/sparc/include/asm/ |
D | mc146818rtc_32.h | 23 #define CMOS_WRITE(val, addr) ({ \ macro
|
D | mc146818rtc_64.h | 24 #define CMOS_WRITE(val, addr) ({ \ macro
|
/Linux-v4.19/arch/arm/include/asm/ |
D | mc146818rtc.h | 26 #define CMOS_WRITE(val, addr) ({ \ macro
|
/Linux-v4.19/arch/mips/include/asm/mach-dec/ |
D | mc146818rtc.h | 36 static inline void CMOS_WRITE(unsigned char data, unsigned long addr) in CMOS_WRITE() function
|
/Linux-v4.19/arch/mips/include/asm/mach-malta/ |
D | mc146818rtc.h | 38 static inline void CMOS_WRITE(unsigned char data, unsigned long addr) in CMOS_WRITE() function
|
/Linux-v4.19/arch/mips/include/asm/mach-loongson64/ |
D | mc146818rtc.h | 24 static inline void CMOS_WRITE(unsigned char data, unsigned long addr) in CMOS_WRITE() function
|
/Linux-v4.19/arch/mips/include/asm/mach-generic/ |
D | mc146818rtc.h | 24 static inline void CMOS_WRITE(unsigned char data, unsigned long addr) in CMOS_WRITE() function
|
/Linux-v4.19/arch/x86/include/asm/ |
D | mc146818rtc.h | 94 #define CMOS_WRITE(val, addr) rtc_cmos_write(val, addr) macro
|
/Linux-v4.19/arch/alpha/kernel/ |
D | time.c | 224 CMOS_WRITE(sel, RTC_FREQ_SELECT); in common_init_rtc() 233 CMOS_WRITE(x, RTC_CONTROL); in common_init_rtc()
|
/Linux-v4.19/arch/x86/kernel/ |
D | bootflag.c | 49 CMOS_WRITE(v, sbf_port); in sbf_write()
|
D | reboot.c | 99 CMOS_WRITE(0x00, 0x8f); in machine_real_restart()
|
/Linux-v4.19/drivers/acpi/ |
D | acpi_cmos_rtc.c | 50 CMOS_WRITE(*value, address); in acpi_cmos_rtc_space_handler()
|