/linux-5.19.10/drivers/rtc/ |
D | rtc-mc146818-lib.c | 261 CMOS_WRITE((save_control|RTC_SET), RTC_CONTROL); 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() 269 CMOS_WRITE(real_yrs, RTC_DEC_YEAR); in mc146818_set_time() 271 CMOS_WRITE(yrs, RTC_YEAR); in mc146818_set_time() 272 CMOS_WRITE(mon, RTC_MONTH); in mc146818_set_time() 273 CMOS_WRITE(day, RTC_DAY_OF_MONTH); in mc146818_set_time() 274 CMOS_WRITE(hrs, RTC_HOURS); in mc146818_set_time() 275 CMOS_WRITE(min, RTC_MINUTES); in mc146818_set_time() 276 CMOS_WRITE(sec, RTC_SECONDS); in mc146818_set_time() [all …]
|
D | rtc-cmos.c | 376 CMOS_WRITE(rtc_control, RTC_CONTROL); in cmos_irq_enable() 394 CMOS_WRITE(rtc_control, RTC_CONTROL); in cmos_irq_disable() 492 CMOS_WRITE(p->hrs, RTC_HOURS_ALARM); in cmos_set_alarm_callback() 493 CMOS_WRITE(p->min, RTC_MINUTES_ALARM); in cmos_set_alarm_callback() 494 CMOS_WRITE(p->sec, RTC_SECONDS_ALARM); in cmos_set_alarm_callback() 498 CMOS_WRITE(p->mday, p->cmos->day_alrm); in cmos_set_alarm_callback() 500 CMOS_WRITE(p->mon, p->cmos->mon_alrm); in cmos_set_alarm_callback() 684 CMOS_WRITE(*buf++, off); in cmos_nvram_write() 733 CMOS_WRITE(rtc_control, RTC_CONTROL); in cmos_interrupt() 872 CMOS_WRITE(RTC_REF_CLCK_32KHZ | 0x06, RTC_FREQ_SELECT); in cmos_do_probe() [all …]
|
/linux-5.19.10/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-5.19.10/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-5.19.10/arch/mips/kernel/ |
D | cevt-ds1287.c | 38 CMOS_WRITE(RTC_REF_CLCK_32KHZ | rate, RTC_REG_A); in ds1287_set_base_clock() 57 CMOS_WRITE(val, RTC_REG_B); in ds1287_shutdown() 71 CMOS_WRITE(val, RTC_REG_B); in ds1287_set_periodic()
|
/linux-5.19.10/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-5.19.10/arch/powerpc/platforms/ |
D | fsl_uli1575.c | 161 CMOS_WRITE(RTC_SET, RTC_CONTROL); in quirk_final_uli1575() 162 CMOS_WRITE(RTC_24H, RTC_CONTROL); in quirk_final_uli1575() 165 CMOS_WRITE(0, RTC_VALID); in quirk_final_uli1575()
|
/linux-5.19.10/arch/mips/mti-malta/ |
D | malta-time.c | 186 CMOS_WRITE(RTC_REF_CLCK_32KHZ, RTC_FREQ_SELECT); in init_rtc() 191 CMOS_WRITE(ctrl & ~RTC_SET, RTC_CONTROL); in init_rtc()
|
/linux-5.19.10/arch/alpha/include/asm/ |
D | mc146818rtc.h | 23 #define CMOS_WRITE(val, addr) ({ \ macro
|
/linux-5.19.10/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-5.19.10/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-5.19.10/arch/powerpc/include/asm/ |
D | mc146818rtc.h | 26 #define CMOS_WRITE(val, addr) ({ \ macro
|
/linux-5.19.10/arch/m68k/include/asm/ |
D | mc146818rtc.h | 21 #define CMOS_WRITE(val, addr) ({ \ macro
|
/linux-5.19.10/arch/arm/include/asm/ |
D | mc146818rtc.h | 26 #define CMOS_WRITE(val, addr) ({ \ macro
|
/linux-5.19.10/arch/mips/include/asm/mach-dec/ |
D | mc146818rtc.h | 32 static inline void CMOS_WRITE(unsigned char data, unsigned long addr) in CMOS_WRITE() function
|
/linux-5.19.10/arch/mips/include/asm/mach-malta/ |
D | mc146818rtc.h | 26 static inline void CMOS_WRITE(unsigned char data, unsigned long addr) in CMOS_WRITE() function
|
/linux-5.19.10/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-5.19.10/arch/x86/include/asm/ |
D | mc146818rtc.h | 94 #define CMOS_WRITE(val, addr) rtc_cmos_write(val, addr) macro
|
/linux-5.19.10/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-5.19.10/drivers/acpi/ |
D | acpi_cmos_rtc.c | 47 CMOS_WRITE(*value, address); in acpi_cmos_rtc_space_handler()
|
/linux-5.19.10/arch/x86/kernel/ |
D | bootflag.c | 49 CMOS_WRITE(v, sbf_port); in sbf_write()
|
D | reboot.c | 112 CMOS_WRITE(0x00, 0x8f); in machine_real_restart()
|
/linux-5.19.10/arch/m68k/atari/ |
D | nvram.c | 45 CMOS_WRITE(c, NVRAM_FIRST_BYTE + i); in __nvram_write_byte()
|
/linux-5.19.10/drivers/char/ |
D | nvram.c | 103 CMOS_WRITE(c, NVRAM_FIRST_BYTE + i); in __nvram_write_byte()
|