Home
last modified time | relevance | path

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

12

/openbmc/linux/drivers/rtc/
H A Drtc-mc146818-lib.c282 CMOS_WRITE((save_control|RTC_SET), RTC_CONTROL); in mc146818_set_time()
290 CMOS_WRITE(real_yrs, RTC_DEC_YEAR); in mc146818_set_time()
292 CMOS_WRITE(yrs, RTC_YEAR); in mc146818_set_time()
293 CMOS_WRITE(mon, RTC_MONTH); in mc146818_set_time()
294 CMOS_WRITE(day, RTC_DAY_OF_MONTH); in mc146818_set_time()
295 CMOS_WRITE(hrs, RTC_HOURS); in mc146818_set_time()
296 CMOS_WRITE(min, RTC_MINUTES); in mc146818_set_time()
297 CMOS_WRITE(sec, RTC_SECONDS); in mc146818_set_time()
301 CMOS_WRITE(century, acpi_gbl_FADT.century); in mc146818_set_time()
304 CMOS_WRITE(save_control, RTC_CONTROL); in mc146818_set_time()
[all …]
H A Drtc-cmos.c376 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()
682 CMOS_WRITE(*buf++, off); in cmos_nvram_write()
731 CMOS_WRITE(rtc_control, RTC_CONTROL); in cmos_interrupt()
772 CMOS_WRITE(rtc_control, RTC_CONTROL); in rtc_handler()
887 CMOS_WRITE(*rtc_control, RTC_CONTROL); in cmos_check_acpi_rtc_status()
1244 CMOS_WRITE(tmp, RTC_CONTROL); in cmos_suspend()
[all …]
/openbmc/linux/arch/mips/include/asm/
H A 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()
/openbmc/linux/arch/mips/dec/
H A 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()
/openbmc/linux/arch/mips/kernel/
H A 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()
/openbmc/linux/arch/arm/mach-footbridge/
H A 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()
/openbmc/linux/arch/powerpc/platforms/
H A Dfsl_uli1575.c164 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()
/openbmc/linux/arch/mips/mti-malta/
H A Dmalta-time.c186 CMOS_WRITE(RTC_REF_CLCK_32KHZ, RTC_FREQ_SELECT); in init_rtc()
191 CMOS_WRITE(ctrl & ~RTC_SET, RTC_CONTROL); in init_rtc()
/openbmc/linux/arch/alpha/include/asm/
H A Dmc146818rtc.h23 #define CMOS_WRITE(val, addr) ({ \ macro
/openbmc/u-boot/arch/powerpc/include/asm/
H A Dmc146818rtc.h22 #define CMOS_WRITE(val, addr) ({ \ macro
/openbmc/linux/arch/m68k/include/asm/
H A Dmc146818rtc.h21 #define CMOS_WRITE(val, addr) ({ \ macro
/openbmc/linux/arch/mips/include/asm/mach-jazz/
H A Dmc146818rtc.h28 static inline void CMOS_WRITE(unsigned char data, unsigned long addr) in CMOS_WRITE() function
/openbmc/linux/arch/powerpc/include/asm/
H A Dmc146818rtc.h26 #define CMOS_WRITE(val, addr) ({ \ macro
/openbmc/linux/arch/sparc/include/asm/
H A Dmc146818rtc_32.h23 #define CMOS_WRITE(val, addr) ({ \ macro
H A Dmc146818rtc_64.h24 #define CMOS_WRITE(val, addr) ({ \ macro
/openbmc/linux/arch/arm/include/asm/
H A Dmc146818rtc.h26 #define CMOS_WRITE(val, addr) ({ \ macro
/openbmc/linux/arch/mips/include/asm/mach-dec/
H A Dmc146818rtc.h32 static inline void CMOS_WRITE(unsigned char data, unsigned long addr) in CMOS_WRITE() function
/openbmc/linux/arch/mips/include/asm/mach-malta/
H A Dmc146818rtc.h26 static inline void CMOS_WRITE(unsigned char data, unsigned long addr) in CMOS_WRITE() function
/openbmc/linux/arch/mips/include/asm/mach-generic/
H A Dmc146818rtc.h24 static inline void CMOS_WRITE(unsigned char data, unsigned long addr) in CMOS_WRITE() function
/openbmc/linux/arch/x86/include/asm/
H A Dmc146818rtc.h94 #define CMOS_WRITE(val, addr) rtc_cmos_write(val, addr) macro
/openbmc/linux/arch/x86/kernel/
H A Dbootflag.c49 CMOS_WRITE(v, sbf_port); in sbf_write()
/openbmc/linux/arch/alpha/kernel/
H A Dtime.c224 CMOS_WRITE(sel, RTC_FREQ_SELECT); in common_init_rtc()
233 CMOS_WRITE(x, RTC_CONTROL); in common_init_rtc()
/openbmc/linux/drivers/acpi/
H A Dacpi_cmos_rtc.c47 CMOS_WRITE(*value, address); in acpi_cmos_rtc_space_handler()
/openbmc/linux/arch/m68k/atari/
H A Dnvram.c45 CMOS_WRITE(c, NVRAM_FIRST_BYTE + i); in __nvram_write_byte()
/openbmc/linux/drivers/char/
H A Dnvram.c103 CMOS_WRITE(c, NVRAM_FIRST_BYTE + i); in __nvram_write_byte()

12