/linux-2.4.37.9/drivers/char/ |
D | ds1742.c | 53 #define RTC_CONTROL (rtc_base + 0x7f8) macro 111 CMOS_WRITE(RTC_READ, RTC_CONTROL); in rtc_ds1742_get_time() 119 CMOS_WRITE(0, RTC_CONTROL); in rtc_ds1742_get_time() 133 CMOS_WRITE(RTC_READ, RTC_CONTROL); in rtc_ds1742_set_time() 142 CMOS_WRITE(RTC_WRITE, RTC_CONTROL); in rtc_ds1742_set_time() 187 CMOS_WRITE(cmos_century, RTC_CONTROL); in rtc_ds1742_set_time() 205 CMOS_WRITE(RTC_READ, RTC_CONTROL); in rtc_ds1742_init() 207 CMOS_WRITE(RTC_WRITE, RTC_CONTROL); in rtc_ds1742_init() 209 CMOS_WRITE(0, RTC_CONTROL); in rtc_ds1742_init()
|
D | rtc.c | 402 if (!(CMOS_READ(RTC_CONTROL) & RTC_DM_BINARY) || in rtc_ioctl() 493 if (!(CMOS_READ(RTC_CONTROL) & RTC_DM_BINARY) in rtc_ioctl() 503 save_control = CMOS_READ(RTC_CONTROL); in rtc_ioctl() 504 CMOS_WRITE((save_control|RTC_SET), RTC_CONTROL); in rtc_ioctl() 518 CMOS_WRITE(save_control, RTC_CONTROL); in rtc_ioctl() 635 tmp = CMOS_READ(RTC_CONTROL); in rtc_release() 639 CMOS_WRITE(tmp, RTC_CONTROL); in rtc_release() 815 ctrl = CMOS_READ(RTC_CONTROL); in rtc_init() 944 ctrl = CMOS_READ(RTC_CONTROL); in rtc_proc_output() 1077 ctrl = CMOS_READ(RTC_CONTROL); in get_rtc_time() [all …]
|
/linux-2.4.37.9/arch/mips/mips-boards/generic/ |
D | time.c | 118 save_control = CMOS_READ(RTC_CONTROL); in mips_rtc_get_time() 121 CMOS_WRITE(save_control | RTC_SET, RTC_CONTROL); in mips_rtc_get_time() 140 CMOS_WRITE(save_control, RTC_CONTROL); in mips_rtc_get_time() 156 CMOS_WRITE(CMOS_READ(RTC_CONTROL) | RTC_DM_BINARY, RTC_CONTROL); in mips_time_init()
|
/linux-2.4.37.9/include/asm-arm/arch-riscstation/ |
D | time.h | 78 if (!(CMOS_READ(RTC_CONTROL) & RTC_DM_BINARY) || RTC_ALWAYS_BCD) { in get_isa_cmos_time() 106 save_control = CMOS_READ(RTC_CONTROL); /* tell the clock it's being set */ in set_isa_cmos_time() 107 CMOS_WRITE((save_control|RTC_SET), RTC_CONTROL); in set_isa_cmos_time() 145 CMOS_WRITE(save_control, RTC_CONTROL); in set_isa_cmos_time()
|
/linux-2.4.37.9/arch/mips/dec/ |
D | time.c | 54 if (!(CMOS_READ(RTC_CONTROL) & RTC_DM_BINARY) || RTC_ALWAYS_BCD) { in dec_rtc_get_time() 87 save_control = CMOS_READ(RTC_CONTROL); in dec_rtc_set_mmss() 88 CMOS_WRITE((save_control | RTC_SET), RTC_CONTROL); in dec_rtc_set_mmss() 130 CMOS_WRITE(save_control, RTC_CONTROL); in dec_rtc_set_mmss()
|
/linux-2.4.37.9/arch/ppc/platforms/ |
D | chrp_time.c | 82 save_control = chrp_cmos_clock_read(RTC_CONTROL); /* tell the clock it's being set */ in chrp_set_rtc_time() 84 chrp_cmos_clock_write((save_control|RTC_SET), RTC_CONTROL); in chrp_set_rtc_time() 113 chrp_cmos_clock_write(save_control, RTC_CONTROL); in chrp_set_rtc_time() 153 if (!(chrp_cmos_clock_read(RTC_CONTROL) & RTC_DM_BINARY) || RTC_ALWAYS_BCD) in chrp_get_rtc_time()
|
D | prep_time.c | 64 save_control = CMOS_READ(RTC_CONTROL); in mc146818_set_rtc_time() 66 CMOS_WRITE((save_control|RTC_SET), RTC_CONTROL); in mc146818_set_rtc_time() 96 CMOS_WRITE(save_control, RTC_CONTROL); in mc146818_set_rtc_time() 135 if (!(CMOS_READ(RTC_CONTROL) & RTC_DM_BINARY) in mc146818_get_rtc_time()
|
/linux-2.4.37.9/arch/alpha/kernel/ |
D | time.c | 154 x = CMOS_READ(RTC_CONTROL); in common_init_rtc() 159 CMOS_WRITE(x, RTC_CONTROL); in common_init_rtc() 342 if (!(CMOS_READ(RTC_CONTROL) & RTC_DM_BINARY) || RTC_ALWAYS_BCD) { in time_init() 506 save_control = CMOS_READ(RTC_CONTROL); in set_rtc_mmss() 507 CMOS_WRITE((save_control|RTC_SET), RTC_CONTROL); in set_rtc_mmss() 552 CMOS_WRITE(save_control, RTC_CONTROL); in set_rtc_mmss()
|
/linux-2.4.37.9/include/asm-arm/arch-ebsa285/ |
D | time.h | 113 if (!(CMOS_READ(RTC_CONTROL) & RTC_DM_BINARY) || RTC_ALWAYS_BCD) { in get_isa_cmos_time() 134 save_control = CMOS_READ(RTC_CONTROL); /* tell the clock it's being set */ in set_isa_cmos_time() 135 CMOS_WRITE((save_control|RTC_SET), RTC_CONTROL); in set_isa_cmos_time() 173 CMOS_WRITE(save_control, RTC_CONTROL); in set_isa_cmos_time()
|
/linux-2.4.37.9/arch/m68k/atari/ |
D | time.c | 144 ctrl = RTC_READ(RTC_CONTROL); in atari_tt_gettod() 234 ctrl = RTC_READ(RTC_CONTROL); /* control registers are in atari_tt_hwclk() 288 RTC_WRITE( RTC_CONTROL, ctrl | RTC_SET ); in atari_tt_hwclk() 307 RTC_WRITE( RTC_CONTROL, ctrl & ~RTC_SET ); in atari_tt_hwclk() 377 save_control = RTC_READ (RTC_CONTROL); /* tell the clock it's being set */ in atari_tt_set_clock_mmss() 378 RTC_WRITE (RTC_CONTROL, save_control | RTC_SET); in atari_tt_set_clock_mmss() 406 RTC_WRITE (RTC_CONTROL, save_control); in atari_tt_set_clock_mmss()
|
/linux-2.4.37.9/arch/i386/kernel/ |
D | time.c | 511 save_control = CMOS_READ(RTC_CONTROL); /* tell the clock it's being set */ in set_rtc_mmss() 512 CMOS_WRITE((save_control|RTC_SET), RTC_CONTROL); in set_rtc_mmss() 554 CMOS_WRITE(save_control, RTC_CONTROL); in set_rtc_mmss() 743 if (!(CMOS_READ(RTC_CONTROL) & RTC_DM_BINARY) || RTC_ALWAYS_BCD) in get_cmos_time()
|
D | io_apic.c | 1554 save_control = CMOS_READ(RTC_CONTROL); in unlock_ExtINT_logic() 1558 CMOS_WRITE(save_control | RTC_PIE, RTC_CONTROL); in unlock_ExtINT_logic() 1567 CMOS_WRITE(save_control, RTC_CONTROL); in unlock_ExtINT_logic()
|
/linux-2.4.37.9/arch/ppc/kernel/ |
D | todc_time.c | 67 #ifdef RTC_CONTROL 68 #undef RTC_CONTROL 69 #define RTC_CONTROL control_a /* Register B */ macro
|
/linux-2.4.37.9/include/asm-mips/jmr3927/ |
D | ds1742rtc.h | 25 #define RTC_CONTROL (RTC_OFFSET + 0) macro
|
/linux-2.4.37.9/include/linux/ |
D | mc146818rtc.h | 67 #define RTC_CONTROL RTC_REG_B macro
|
/linux-2.4.37.9/arch/x86_64/kernel/ |
D | time.c | 279 control = CMOS_READ(RTC_CONTROL); in set_rtc_mmss() 280 CMOS_WRITE(control | RTC_SET, RTC_CONTROL); in set_rtc_mmss() 318 CMOS_WRITE(control, RTC_CONTROL); in set_rtc_mmss()
|
D | io_apic.c | 1552 save_control = CMOS_READ(RTC_CONTROL); in unlock_ExtINT_logic() 1556 CMOS_WRITE(save_control | RTC_PIE, RTC_CONTROL); in unlock_ExtINT_logic() 1565 CMOS_WRITE(save_control, RTC_CONTROL); in unlock_ExtINT_logic()
|
/linux-2.4.37.9/include/asm-cris/ |
D | rtc.h | 15 # define RTC_CONTROL 7 macro
|
/linux-2.4.37.9/include/asm-sh/ |
D | smc37c93x.h | 180 #define RTC_CONTROL 11 macro
|
/linux-2.4.37.9/arch/sparc64/kernel/ |
D | time.c | 674 if (!(CMOS_READ(RTC_CONTROL) & RTC_DM_BINARY) || RTC_ALWAYS_BCD) { in set_system_time() 1124 save_control = CMOS_READ(RTC_CONTROL); /* tell the clock it's being set */ in set_rtc_mmss() 1125 CMOS_WRITE((save_control|RTC_SET), RTC_CONTROL); in set_rtc_mmss() 1153 CMOS_WRITE(save_control, RTC_CONTROL); in set_rtc_mmss()
|
/linux-2.4.37.9/arch/mips/ite-boards/generic/ |
D | time.c | 218 saved_control = CMOS_READ(RTC_CONTROL); in it8172_time_init()
|
/linux-2.4.37.9/drivers/acpi/ |
D | system.c | 959 rtc_control = CMOS_READ(RTC_CONTROL); in acpi_system_write_alarm() 1041 CMOS_WRITE(rtc_control,RTC_CONTROL); in acpi_system_write_alarm()
|