/arch/mips/include/asm/ |
D | mc146818-time.h | 39 save_control = CMOS_READ(RTC_CONTROL); /* tell the clock it's being set */ in mc146818_set_rtc_mmss() 42 save_freq_select = CMOS_READ(RTC_FREQ_SELECT); /* stop and reset prescaler */ in mc146818_set_rtc_mmss() 45 cmos_minutes = CMOS_READ(RTC_MINUTES); in mc146818_set_rtc_mmss() 97 sec = CMOS_READ(RTC_SECONDS); in mc146818_get_cmos_time() 98 min = CMOS_READ(RTC_MINUTES); in mc146818_get_cmos_time() 99 hour = CMOS_READ(RTC_HOURS); in mc146818_get_cmos_time() 100 day = CMOS_READ(RTC_DAY_OF_MONTH); in mc146818_get_cmos_time() 101 mon = CMOS_READ(RTC_MONTH); in mc146818_get_cmos_time() 102 year = CMOS_READ(RTC_YEAR); in mc146818_get_cmos_time() 103 } while (sec != CMOS_READ(RTC_SECONDS)); in mc146818_get_cmos_time() [all …]
|
/arch/mips/dec/ |
D | time.c | 29 sec = CMOS_READ(RTC_SECONDS); in read_persistent_clock() 30 min = CMOS_READ(RTC_MINUTES); in read_persistent_clock() 31 hour = CMOS_READ(RTC_HOURS); in read_persistent_clock() 32 day = CMOS_READ(RTC_DAY_OF_MONTH); in read_persistent_clock() 33 mon = CMOS_READ(RTC_MONTH); in read_persistent_clock() 34 year = CMOS_READ(RTC_YEAR); in read_persistent_clock() 40 real_year = CMOS_READ(RTC_DEC_YEAR); in read_persistent_clock() 41 } while (sec != CMOS_READ(RTC_SECONDS)); in read_persistent_clock() 45 if (!(CMOS_READ(RTC_CONTROL) & RTC_DM_BINARY) || RTC_ALWAYS_BCD) { in read_persistent_clock() 76 save_control = CMOS_READ(RTC_CONTROL); in rtc_mips_set_mmss() [all …]
|
/arch/arm/mach-footbridge/ |
D | isa-rtc.c | 34 reg_d = CMOS_READ(RTC_REG_D); in isa_rtc_init() 45 reg_b = CMOS_READ(RTC_REG_B) & 0x7f; in isa_rtc_init() 49 if ((CMOS_READ(RTC_REG_A) & 0x7f) == RTC_REF_CLCK_32KHZ && in isa_rtc_init() 50 CMOS_READ(RTC_REG_B) == reg_b) { in isa_rtc_init()
|
/arch/alpha/kernel/ |
D | time.c | 122 sec = CMOS_READ(RTC_SECONDS); in read_persistent_clock() 123 min = CMOS_READ(RTC_MINUTES); in read_persistent_clock() 124 hour = CMOS_READ(RTC_HOURS); in read_persistent_clock() 125 day = CMOS_READ(RTC_DAY_OF_MONTH); in read_persistent_clock() 126 mon = CMOS_READ(RTC_MONTH); in read_persistent_clock() 127 year = CMOS_READ(RTC_YEAR); in read_persistent_clock() 129 if (!(CMOS_READ(RTC_CONTROL) & RTC_DM_BINARY) || RTC_ALWAYS_BCD) { in read_persistent_clock() 209 x = CMOS_READ(RTC_FREQ_SELECT) & 0x3f; in common_init_rtc() 218 x = CMOS_READ(RTC_CONTROL); in common_init_rtc() 225 (void) CMOS_READ(RTC_INTR_FLAGS); in common_init_rtc() [all …]
|
/arch/x86/kernel/ |
D | rtc.c | 74 while ((CMOS_READ(RTC_FREQ_SELECT) & RTC_UIP)) in mach_get_cmos_time() 77 sec = CMOS_READ(RTC_SECONDS); in mach_get_cmos_time() 78 min = CMOS_READ(RTC_MINUTES); in mach_get_cmos_time() 79 hour = CMOS_READ(RTC_HOURS); in mach_get_cmos_time() 80 day = CMOS_READ(RTC_DAY_OF_MONTH); in mach_get_cmos_time() 81 mon = CMOS_READ(RTC_MONTH); in mach_get_cmos_time() 82 year = CMOS_READ(RTC_YEAR); in mach_get_cmos_time() 87 century = CMOS_READ(acpi_gbl_FADT.century); in mach_get_cmos_time() 90 status = CMOS_READ(RTC_CONTROL); in mach_get_cmos_time()
|
D | bootflag.c | 62 v = CMOS_READ(sbf_port); in sbf_read()
|
/arch/mips/sgi-ip32/ |
D | ip32-reset.c | 58 reg_a = CMOS_READ(RTC_REG_A); in ip32_machine_power_off() 66 xctrl_b = CMOS_READ(DS_B1_XCTRL4B) in ip32_machine_power_off() 69 xctrl_a = CMOS_READ(DS_B1_XCTRL4A) & ~DS_XCTRL4A_IFS; in ip32_machine_power_off() 95 reg_c = CMOS_READ(RTC_INTR_FLAGS); in debounce() 96 reg_a = CMOS_READ(RTC_REG_A); in debounce() 99 xctrl_a = CMOS_READ(DS_B1_XCTRL4A); in debounce() 142 reg_c = CMOS_READ(RTC_INTR_FLAGS); in ip32_rtc_int()
|
/arch/mips/mti-malta/ |
D | malta-time.c | 96 while (CMOS_READ(RTC_REG_A) & RTC_UIP); in estimate_frequencies() 97 while (!(CMOS_READ(RTC_REG_A) & RTC_UIP)); in estimate_frequencies() 107 while (CMOS_READ(RTC_REG_A) & RTC_UIP); in estimate_frequencies() 108 while (!(CMOS_READ(RTC_REG_A) & RTC_UIP)); in estimate_frequencies()
|
/arch/mips/kernel/ |
D | cevt-ds1287.c | 30 return (CMOS_READ(RTC_REG_C) & RTC_PF) != 0; in ds1287_timer_state() 69 val = CMOS_READ(RTC_REG_B); in ds1287_set_mode() 102 CMOS_READ(RTC_REG_C); in ds1287_interrupt()
|
/arch/mn10300/kernel/ |
D | rtc.c | 59 save_control = CMOS_READ(RTC_CONTROL); /* tell the clock it's being in set_rtc_mmss() 63 save_freq_select = CMOS_READ(RTC_FREQ_SELECT); /* stop and reset in set_rtc_mmss() 67 cmos_minutes = CMOS_READ(RTC_MINUTES); in set_rtc_mmss()
|
/arch/m32r/include/asm/ |
D | rtc.h | 31 # define CMOS_READ(x) ds1302_readreg(x) macro 36 # define CMOS_READ(x) 42 macro
|
D | mc146818rtc.h | 18 #define CMOS_READ(addr) ({ \ macro
|
/arch/mips/include/asm/mach-ip32/ |
D | mc146818rtc.h | 18 static unsigned char CMOS_READ(unsigned long addr) in CMOS_READ() function
|
/arch/alpha/include/asm/ |
D | mc146818rtc.h | 18 #define CMOS_READ(addr) ({ \ macro
|
/arch/powerpc/include/asm/ |
D | mc146818rtc.h | 26 #define CMOS_READ(addr) ({ \ macro
|
/arch/mips/include/asm/mach-jazz/ |
D | mc146818rtc.h | 22 static inline unsigned char CMOS_READ(unsigned long addr) in CMOS_READ() function
|
/arch/sparc/include/asm/ |
D | mc146818rtc_32.h | 18 #define CMOS_READ(addr) ({ \ macro
|
D | mc146818rtc_64.h | 19 #define CMOS_READ(addr) ({ \ macro
|
/arch/m68k/include/asm/ |
D | mc146818rtc.h | 16 #define CMOS_READ(addr) ({ \ macro
|
/arch/arm/include/asm/ |
D | mc146818rtc.h | 21 #define CMOS_READ(addr) ({ \ macro
|
/arch/mips/include/asm/mach-dec/ |
D | mc146818rtc.h | 31 static inline unsigned char CMOS_READ(unsigned long addr) in CMOS_READ() function
|
/arch/mips/include/asm/mach-malta/ |
D | mc146818rtc.h | 32 static inline unsigned char CMOS_READ(unsigned long addr) in CMOS_READ() function
|
/arch/mips/include/asm/mach-generic/ |
D | mc146818rtc.h | 18 static inline unsigned char CMOS_READ(unsigned long addr) in CMOS_READ() function
|
/arch/mips/include/asm/mach-loongson/ |
D | mc146818rtc.h | 18 static inline unsigned char CMOS_READ(unsigned long addr) in CMOS_READ() function
|
/arch/x86/include/asm/ |
D | mc146818rtc.h | 93 #define CMOS_READ(addr) rtc_cmos_read(addr) macro
|