Home
last modified time | relevance | path

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

12

/linux-2.6.39/include/asm-generic/
Drtc.h175 CMOS_WRITE((save_control|RTC_SET), RTC_CONTROL); in __set_rtc_time()
177 CMOS_WRITE((save_freq_select|RTC_DIV_RESET2), RTC_FREQ_SELECT); in __set_rtc_time()
180 CMOS_WRITE(real_yrs, RTC_DEC_YEAR); in __set_rtc_time()
182 CMOS_WRITE(yrs, RTC_YEAR); in __set_rtc_time()
183 CMOS_WRITE(mon, RTC_MONTH); in __set_rtc_time()
184 CMOS_WRITE(day, RTC_DAY_OF_MONTH); in __set_rtc_time()
185 CMOS_WRITE(hrs, RTC_HOURS); in __set_rtc_time()
186 CMOS_WRITE(min, RTC_MINUTES); in __set_rtc_time()
187 CMOS_WRITE(sec, RTC_SECONDS); in __set_rtc_time()
189 CMOS_WRITE(save_control, RTC_CONTROL); in __set_rtc_time()
[all …]
/linux-2.6.39/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()
98 CMOS_WRITE(reg_a | DS_REGA_DV0, RTC_REG_A); in debounce()
107 CMOS_WRITE(xctrl_a & ~DS_XCTRL4A_IFS, DS_B1_XCTRL4A); in debounce()
108 CMOS_WRITE(reg_a & ~DS_REGA_DV0, RTC_REG_A); in debounce()
111 CMOS_WRITE(reg_a & ~DS_REGA_DV0, RTC_REG_A); in debounce()
/linux-2.6.39/arch/mn10300/kernel/
Drtc.c61 CMOS_WRITE(save_control | RTC_SET, RTC_CONTROL); in set_rtc_mmss()
65 CMOS_WRITE(save_freq_select | RTC_DIV_RESET2, RTC_FREQ_SELECT); in set_rtc_mmss()
89 CMOS_WRITE(real_seconds, RTC_SECONDS); in set_rtc_mmss()
90 CMOS_WRITE(real_minutes, RTC_MINUTES); in set_rtc_mmss()
105 CMOS_WRITE(save_control, RTC_CONTROL); in set_rtc_mmss()
106 CMOS_WRITE(save_freq_select, RTC_FREQ_SELECT); in set_rtc_mmss()
/linux-2.6.39/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()
/linux-2.6.39/arch/mips/dec/
Dtime.c77 CMOS_WRITE((save_control | RTC_SET), RTC_CONTROL); in rtc_mips_set_mmss()
81 CMOS_WRITE((save_freq_select | RTC_DIV_RESET2), RTC_FREQ_SELECT); in rtc_mips_set_mmss()
104 CMOS_WRITE(real_seconds, RTC_SECONDS); in rtc_mips_set_mmss()
105 CMOS_WRITE(real_minutes, RTC_MINUTES); in rtc_mips_set_mmss()
119 CMOS_WRITE(save_control, RTC_CONTROL); in rtc_mips_set_mmss()
120 CMOS_WRITE(save_freq_select, RTC_FREQ_SELECT); in rtc_mips_set_mmss()
/linux-2.6.39/arch/x86/kernel/
Drtc.c49 CMOS_WRITE((save_control|RTC_SET), RTC_CONTROL); in mach_set_rtc_mmss()
53 CMOS_WRITE((save_freq_select|RTC_DIV_RESET2), RTC_FREQ_SELECT); in mach_set_rtc_mmss()
77 CMOS_WRITE(real_seconds, RTC_SECONDS); in mach_set_rtc_mmss()
78 CMOS_WRITE(real_minutes, RTC_MINUTES); in mach_set_rtc_mmss()
93 CMOS_WRITE(save_control, RTC_CONTROL); in mach_set_rtc_mmss()
94 CMOS_WRITE(save_freq_select, RTC_FREQ_SELECT); in mach_set_rtc_mmss()
/linux-2.6.39/arch/alpha/kernel/
Dtime.c215 CMOS_WRITE(0x26, RTC_FREQ_SELECT); in common_init_rtc()
224 CMOS_WRITE(x, RTC_CONTROL); in common_init_rtc()
473 CMOS_WRITE((save_control|RTC_SET), RTC_CONTROL); in set_rtc_mmss()
477 CMOS_WRITE((save_freq_select|RTC_DIV_RESET2), RTC_FREQ_SELECT); in set_rtc_mmss()
502 CMOS_WRITE(real_seconds,RTC_SECONDS); in set_rtc_mmss()
503 CMOS_WRITE(real_minutes,RTC_MINUTES); in set_rtc_mmss()
518 CMOS_WRITE(save_control, RTC_CONTROL); in set_rtc_mmss()
519 CMOS_WRITE(save_freq_select, RTC_FREQ_SELECT); in set_rtc_mmss()
/linux-2.6.39/drivers/char/
Drtc.c533 CMOS_WRITE(hrs, RTC_HOURS_ALARM); in rtc_do_ioctl()
534 CMOS_WRITE(min, RTC_MINUTES_ALARM); in rtc_do_ioctl()
535 CMOS_WRITE(sec, RTC_SECONDS_ALARM); in rtc_do_ioctl()
624 CMOS_WRITE((save_control|RTC_SET), RTC_CONTROL); in rtc_do_ioctl()
626 CMOS_WRITE((save_freq_select|RTC_DIV_RESET2), RTC_FREQ_SELECT); in rtc_do_ioctl()
629 CMOS_WRITE(real_yrs, RTC_DEC_YEAR); in rtc_do_ioctl()
631 CMOS_WRITE(yrs, RTC_YEAR); in rtc_do_ioctl()
632 CMOS_WRITE(mon, RTC_MONTH); in rtc_do_ioctl()
633 CMOS_WRITE(day, RTC_DAY_OF_MONTH); in rtc_do_ioctl()
634 CMOS_WRITE(hrs, RTC_HOURS); in rtc_do_ioctl()
[all …]
Dds1302.c224 CMOS_WRITE(yrs, RTC_YEAR); in rtc_ioctl()
225 CMOS_WRITE(mon, RTC_MONTH); in rtc_ioctl()
226 CMOS_WRITE(day, RTC_DAY_OF_MONTH); in rtc_ioctl()
227 CMOS_WRITE(hrs, RTC_HOURS); in rtc_ioctl()
228 CMOS_WRITE(min, RTC_MINUTES); in rtc_ioctl()
229 CMOS_WRITE(sec, RTC_SECONDS); in rtc_ioctl()
/linux-2.6.39/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
/linux-2.6.39/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()
/linux-2.6.39/arch/arm/mach-footbridge/
Disa-rtc.c39 CMOS_WRITE(RTC_REF_CLCK_32KHZ, RTC_REG_A); in isa_rtc_init()
47 CMOS_WRITE(reg_b, RTC_REG_B); in isa_rtc_init()
/linux-2.6.39/arch/x86/include/asm/
Dsmpboot_hooks.h13 CMOS_WRITE(0xa, 0xf); in smpboot_setup_warm_reset_vector()
35 CMOS_WRITE(0, 0xf); in smpboot_restore_warm_reset_vector()
/linux-2.6.39/drivers/rtc/
Drtc-cmos.c308 CMOS_WRITE(rtc_control, RTC_CONTROL); in cmos_irq_enable()
320 CMOS_WRITE(rtc_control, RTC_CONTROL); in cmos_irq_disable()
356 CMOS_WRITE(hrs, RTC_HOURS_ALARM); in cmos_set_alarm()
357 CMOS_WRITE(min, RTC_MINUTES_ALARM); in cmos_set_alarm()
358 CMOS_WRITE(sec, RTC_SECONDS_ALARM); in cmos_set_alarm()
362 CMOS_WRITE(mday, cmos->day_alrm); in cmos_set_alarm()
364 CMOS_WRITE(mon, cmos->mon_alrm); in cmos_set_alarm()
515 CMOS_WRITE(*buf++, off); in cmos_nvram_write()
567 CMOS_WRITE(rtc_control, RTC_CONTROL); in cmos_interrupt()
682 CMOS_WRITE(RTC_REF_CLCK_32KHZ | 0x06, RTC_FREQ_SELECT); in cmos_do_probe()
[all …]
/linux-2.6.39/arch/m32r/include/asm/
Drtc.h32 # define CMOS_WRITE(val,reg) ds1302_writereg(reg,val) macro
37 # define CMOS_WRITE(x,y) macro
/linux-2.6.39/arch/mips/kernel/
Dcevt-ds1287.c51 CMOS_WRITE(RTC_REF_CLCK_32KHZ | rate, RTC_REG_A); in ds1287_set_base_clock()
80 CMOS_WRITE(val, RTC_REG_B); in ds1287_set_mode()
/linux-2.6.39/arch/cris/kernel/
Dtime.c86 CMOS_WRITE(real_seconds,RTC_SECONDS); in set_rtc_mmss()
87 CMOS_WRITE(real_minutes,RTC_MINUTES); in set_rtc_mmss()
/linux-2.6.39/arch/powerpc/platforms/
Dfsl_uli1575.c165 CMOS_WRITE(RTC_SET, RTC_CONTROL); in quirk_final_uli1575()
166 CMOS_WRITE(RTC_24H, RTC_CONTROL); in quirk_final_uli1575()
169 CMOS_WRITE(0, RTC_VALID); in quirk_final_uli1575()
/linux-2.6.39/arch/mips/include/asm/mach-ip32/
Dmc146818rtc.h23 static inline void CMOS_WRITE(unsigned char data, unsigned long addr) in CMOS_WRITE() function
/linux-2.6.39/arch/mips/include/asm/mach-pb1x00/
Dmc146818rtc.h26 static inline void CMOS_WRITE(unsigned char data, unsigned long offset) in CMOS_WRITE() function
/linux-2.6.39/arch/arm/include/asm/
Dmc146818rtc.h23 #define CMOS_WRITE(val, addr) ({ \ macro
/linux-2.6.39/arch/alpha/include/asm/
Dmc146818rtc.h22 #define CMOS_WRITE(val, addr) ({ \ macro
/linux-2.6.39/arch/powerpc/include/asm/
Dmc146818rtc.h30 #define CMOS_WRITE(val, addr) ({ \ macro
/linux-2.6.39/arch/mips/include/asm/mach-jazz/
Dmc146818rtc.h28 static inline void CMOS_WRITE(unsigned char data, unsigned long addr) in CMOS_WRITE() function
/linux-2.6.39/arch/sparc/include/asm/
Dmc146818rtc_32.h22 #define CMOS_WRITE(val, addr) ({ \ macro

12