Home
last modified time | relevance | path

Searched refs:CMOS_WRITE (Results 1 – 24 of 24) sorted by relevance

/arch/mips/include/asm/
Dmc146818-time.h40 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()
/arch/mips/dec/
Dtime.c79 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()
/arch/arm/mach-footbridge/
Disa-rtc.c40 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()
/arch/mips/kernel/
Dcevt-ds1287.c38 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()
/arch/alpha/include/asm/
Dmc146818rtc.h23 #define CMOS_WRITE(val, addr) ({ \ macro
/arch/powerpc/include/asm/
Dmc146818rtc.h26 #define CMOS_WRITE(val, addr) ({ \ macro
/arch/sparc/include/asm/
Dmc146818rtc_32.h23 #define CMOS_WRITE(val, addr) ({ \ macro
Dmc146818rtc_64.h24 #define CMOS_WRITE(val, addr) ({ \ macro
/arch/mips/include/asm/mach-jazz/
Dmc146818rtc.h28 static inline void CMOS_WRITE(unsigned char data, unsigned long addr) in CMOS_WRITE() function
/arch/m68k/include/asm/
Dmc146818rtc.h21 #define CMOS_WRITE(val, addr) ({ \ macro
/arch/arm/include/asm/
Dmc146818rtc.h26 #define CMOS_WRITE(val, addr) ({ \ macro
/arch/mips/include/asm/mach-dec/
Dmc146818rtc.h32 static inline void CMOS_WRITE(unsigned char data, unsigned long addr) in CMOS_WRITE() function
/arch/mips/include/asm/mach-malta/
Dmc146818rtc.h26 static inline void CMOS_WRITE(unsigned char data, unsigned long addr) in CMOS_WRITE() function
/arch/mips/include/asm/mach-generic/
Dmc146818rtc.h24 static inline void CMOS_WRITE(unsigned char data, unsigned long addr) in CMOS_WRITE() function
/arch/mips/include/asm/mach-loongson64/
Dmc146818rtc.h24 static inline void CMOS_WRITE(unsigned char data, unsigned long addr) in CMOS_WRITE() function
/arch/powerpc/platforms/
Dfsl_uli1575.c160 CMOS_WRITE(RTC_SET, RTC_CONTROL); in quirk_final_uli1575()
161 CMOS_WRITE(RTC_24H, RTC_CONTROL); in quirk_final_uli1575()
164 CMOS_WRITE(0, RTC_VALID); in quirk_final_uli1575()
/arch/mips/mti-malta/
Dmalta-time.c191 CMOS_WRITE(RTC_REF_CLCK_32KHZ, RTC_FREQ_SELECT); in init_rtc()
196 CMOS_WRITE(ctrl & ~RTC_SET, RTC_CONTROL); in init_rtc()
/arch/x86/include/asm/
Dmc146818rtc.h94 #define CMOS_WRITE(val, addr) rtc_cmos_write(val, addr) macro
/arch/x86/kernel/
Dbootflag.c49 CMOS_WRITE(v, sbf_port); in sbf_write()
Dreboot.c112 CMOS_WRITE(0x00, 0x8f); in machine_real_restart()
Dsmpboot.c138 CMOS_WRITE(0xa, 0xf); in smpboot_setup_warm_reset_vector()
155 CMOS_WRITE(0, 0xf); in smpboot_restore_warm_reset_vector()
/arch/alpha/kernel/
Dtime.c224 CMOS_WRITE(sel, RTC_FREQ_SELECT); in common_init_rtc()
233 CMOS_WRITE(x, RTC_CONTROL); in common_init_rtc()
/arch/m68k/atari/
Dnvram.c45 CMOS_WRITE(c, NVRAM_FIRST_BYTE + i); in __nvram_write_byte()
/arch/x86/kernel/apic/
Dio_apic.c2084 CMOS_WRITE((save_freq_select & ~RTC_RATE_SELECT) | 0x6, in unlock_ExtINT_logic()
2086 CMOS_WRITE(save_control | RTC_PIE, RTC_CONTROL); in unlock_ExtINT_logic()
2095 CMOS_WRITE(save_control, RTC_CONTROL); in unlock_ExtINT_logic()
2096 CMOS_WRITE(save_freq_select, RTC_FREQ_SELECT); in unlock_ExtINT_logic()