Home
last modified time | relevance | path

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

12

/arch/arm/mach-footbridge/
Dtime.c72 CMOS_WRITE((save_control|RTC_SET), RTC_CONTROL); in set_isa_cmos_time()
75 CMOS_WRITE((save_freq_select|RTC_DIV_RESET2), RTC_FREQ_SELECT); in set_isa_cmos_time()
98 CMOS_WRITE(real_seconds,RTC_SECONDS); in set_isa_cmos_time()
99 CMOS_WRITE(real_minutes,RTC_MINUTES); in set_isa_cmos_time()
110 CMOS_WRITE(save_control, RTC_CONTROL); in set_isa_cmos_time()
111 CMOS_WRITE(save_freq_select, RTC_FREQ_SELECT); in set_isa_cmos_time()
137 CMOS_WRITE(RTC_REF_CLCK_32KHZ, RTC_REG_A); in isa_rtc_init()
145 CMOS_WRITE(reg_b, RTC_REG_B); in isa_rtc_init()
/arch/mips/sgi-ip32/
Dip32-reset.c65 CMOS_WRITE(reg_a | DS_REGA_DV0, RTC_REG_A); in ip32_machine_power_off()
69 CMOS_WRITE(xctrl_b, DS_B1_XCTRL4B); in ip32_machine_power_off()
71 CMOS_WRITE(xctrl_a, DS_B1_XCTRL4A); in ip32_machine_power_off()
74 CMOS_WRITE(xctrl_a | DS_XCTRL4A_PAB, DS_B1_XCTRL4A); in ip32_machine_power_off()
75 CMOS_WRITE(reg_a, RTC_REG_A); in ip32_machine_power_off()
97 CMOS_WRITE(reg_a | DS_REGA_DV0, RTC_REG_A); in debounce()
106 CMOS_WRITE(xctrl_a & ~DS_XCTRL4A_IFS, DS_B1_XCTRL4A); in debounce()
107 CMOS_WRITE(reg_a & ~DS_REGA_DV0, RTC_REG_A); in debounce()
110 CMOS_WRITE(reg_a & ~DS_REGA_DV0, RTC_REG_A); in debounce()
/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/mn10300/kernel/
Drtc.c62 CMOS_WRITE(save_control | RTC_SET, RTC_CONTROL); in set_rtc_mmss()
66 CMOS_WRITE(save_freq_select | RTC_DIV_RESET2, RTC_FREQ_SELECT); in set_rtc_mmss()
90 CMOS_WRITE(real_seconds, RTC_SECONDS); in set_rtc_mmss()
91 CMOS_WRITE(real_minutes, RTC_MINUTES); in set_rtc_mmss()
106 CMOS_WRITE(save_control, RTC_CONTROL); in set_rtc_mmss()
107 CMOS_WRITE(save_freq_select, RTC_FREQ_SELECT); in set_rtc_mmss()
/arch/mips/dec/
Dtime.c78 CMOS_WRITE((save_control | RTC_SET), RTC_CONTROL); in rtc_mips_set_mmss()
82 CMOS_WRITE((save_freq_select | RTC_DIV_RESET2), RTC_FREQ_SELECT); in rtc_mips_set_mmss()
105 CMOS_WRITE(real_seconds, RTC_SECONDS); in rtc_mips_set_mmss()
106 CMOS_WRITE(real_minutes, RTC_MINUTES); in rtc_mips_set_mmss()
120 CMOS_WRITE(save_control, RTC_CONTROL); in rtc_mips_set_mmss()
121 CMOS_WRITE(save_freq_select, RTC_FREQ_SELECT); in rtc_mips_set_mmss()
/arch/x86/kernel/
Drtc.c47 CMOS_WRITE((save_control|RTC_SET), RTC_CONTROL); in mach_set_rtc_mmss()
51 CMOS_WRITE((save_freq_select|RTC_DIV_RESET2), RTC_FREQ_SELECT); in mach_set_rtc_mmss()
75 CMOS_WRITE(real_seconds,RTC_SECONDS); in mach_set_rtc_mmss()
76 CMOS_WRITE(real_minutes,RTC_MINUTES); in mach_set_rtc_mmss()
91 CMOS_WRITE(save_control, RTC_CONTROL); in mach_set_rtc_mmss()
92 CMOS_WRITE(save_freq_select, RTC_FREQ_SELECT); in mach_set_rtc_mmss()
/arch/x86/include/asm/mach-default/
Dsmpboot_hooks.h13 CMOS_WRITE(0xa, 0xf); in smpboot_setup_warm_reset_vector()
35 CMOS_WRITE(0, 0xf); in smpboot_restore_warm_reset_vector()
/arch/cris/include/asm/
Drtc.h61 # define CMOS_WRITE(val,reg) ds1302_writereg(reg,val) macro
68 # define CMOS_WRITE(val,reg) pcf8563_writereg(reg,val) macro
73 # define CMOS_WRITE(x,y) macro
/arch/alpha/kernel/
Dtime.c160 CMOS_WRITE(0x26, RTC_FREQ_SELECT); in common_init_rtc()
169 CMOS_WRITE(x, RTC_CONTROL); in common_init_rtc()
530 CMOS_WRITE((save_control|RTC_SET), RTC_CONTROL); in set_rtc_mmss()
534 CMOS_WRITE((save_freq_select|RTC_DIV_RESET2), RTC_FREQ_SELECT); in set_rtc_mmss()
559 CMOS_WRITE(real_seconds,RTC_SECONDS); in set_rtc_mmss()
560 CMOS_WRITE(real_minutes,RTC_MINUTES); in set_rtc_mmss()
575 CMOS_WRITE(save_control, RTC_CONTROL); in set_rtc_mmss()
576 CMOS_WRITE(save_freq_select, RTC_FREQ_SELECT); in set_rtc_mmss()
/arch/cris/arch-v10/drivers/
Dds1302.c306 CMOS_WRITE(yrs, RTC_YEAR); in rtc_ioctl()
307 CMOS_WRITE(mon, RTC_MONTH); in rtc_ioctl()
308 CMOS_WRITE(day, RTC_DAY_OF_MONTH); in rtc_ioctl()
309 CMOS_WRITE(hrs, RTC_HOURS); in rtc_ioctl()
310 CMOS_WRITE(min, RTC_MINUTES); in rtc_ioctl()
311 CMOS_WRITE(sec, RTC_SECONDS); in rtc_ioctl()
/arch/mips/kernel/
Dcevt-ds1287.c50 CMOS_WRITE(RTC_REF_CLCK_32KHZ | rate, RTC_REG_A); in ds1287_set_base_clock()
79 CMOS_WRITE(val, RTC_REG_B); in ds1287_set_mode()
/arch/alpha/include/asm/
Dmc146818rtc.h22 #define CMOS_WRITE(val, addr) ({ \ macro
/arch/mips/include/asm/mach-ip32/
Dmc146818rtc.h23 static inline void CMOS_WRITE(unsigned char data, unsigned long addr) in CMOS_WRITE() function
/arch/mips/include/asm/mach-pb1x00/
Dmc146818rtc.h26 static inline void CMOS_WRITE(unsigned char data, unsigned long offset) in CMOS_WRITE() function
/arch/arm/include/asm/
Dmc146818rtc.h23 #define CMOS_WRITE(val, addr) ({ \ macro
/arch/sparc/include/asm/
Dmc146818rtc_32.h22 #define CMOS_WRITE(val, addr) ({ \ macro
Dmc146818rtc_64.h23 #define CMOS_WRITE(val, addr) ({ \ macro
/arch/powerpc/include/asm/
Dmc146818rtc.h30 #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_mm.h20 #define CMOS_WRITE(val, addr) ({ \ macro
/arch/mips/include/asm/mach-dec/
Dmc146818rtc.h36 static inline void CMOS_WRITE(unsigned char data, unsigned long addr) in CMOS_WRITE() function
/arch/mips/include/asm/mach-malta/
Dmc146818rtc.h38 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-lemote/
Dmc146818rtc.h24 static inline void CMOS_WRITE(unsigned char data, unsigned long addr) in CMOS_WRITE() function
/arch/cris/kernel/
Dtime.c147 CMOS_WRITE(real_seconds,RTC_SECONDS); in set_rtc_mmss()
148 CMOS_WRITE(real_minutes,RTC_MINUTES); in set_rtc_mmss()

12