/openbmc/linux/arch/alpha/include/asm/ |
H A D | mc146818rtc.h | 10 #ifndef RTC_PORT 11 #define RTC_PORT(x) (0x70 + (x)) macro 20 outb_p((addr),RTC_PORT(0)); \ 21 inb_p(RTC_PORT(1)); \ 24 outb_p((addr),RTC_PORT(0)); \ 25 outb_p((val),RTC_PORT(1)); \
|
H A D | io.h | 644 # define RTC_PORT(x) ((x) + alpha_mv.rtc_port) macro 647 # define RTC_PORT(x) (0x170+(x)) macro 649 # define RTC_PORT(x) (0x70 + (x)) macro
|
/openbmc/u-boot/arch/powerpc/include/asm/ |
H A D | mc146818rtc.h | 9 #ifndef RTC_PORT 10 #define RTC_PORT(x) (0x70 + (x)) macro 19 outb_p((addr),RTC_PORT(0)); \ 20 inb_p(RTC_PORT(1)); \ 23 outb_p((addr),RTC_PORT(0)); \ 24 outb_p((val),RTC_PORT(1)); \
|
/openbmc/linux/arch/powerpc/include/asm/ |
H A D | mc146818rtc.h | 13 #ifndef RTC_PORT 14 #define RTC_PORT(x) (0x70 + (x)) macro 23 outb_p((addr),RTC_PORT(0)); \ 24 inb_p(RTC_PORT(1)); \ 27 outb_p((addr),RTC_PORT(0)); \ 28 outb_p((val),RTC_PORT(1)); \
|
/openbmc/linux/arch/sparc/include/asm/ |
H A D | mc146818rtc_32.h | 10 #ifndef RTC_PORT 11 #define RTC_PORT(x) (0x70 + (x)) macro 20 outb_p((addr),RTC_PORT(0)); \ 21 inb_p(RTC_PORT(1)); \ 24 outb_p((addr),RTC_PORT(0)); \ 25 outb_p((val),RTC_PORT(1)); \
|
H A D | mc146818rtc_64.h | 10 #ifndef RTC_PORT 12 #define RTC_PORT(x) (cmos_regs + (x)) macro 21 outb_p((addr),RTC_PORT(0)); \ 22 inb_p(RTC_PORT(1)); \ 25 outb_p((addr),RTC_PORT(0)); \ 26 outb_p((val),RTC_PORT(1)); \
|
/openbmc/linux/arch/arm/include/asm/ |
H A D | mc146818rtc.h | 13 #ifndef RTC_PORT 14 #define RTC_PORT(x) (0x70 + (x)) macro 23 outb_p((addr),RTC_PORT(0)); \ 24 inb_p(RTC_PORT(1)); \ 27 outb_p((addr),RTC_PORT(0)); \ 28 outb_p((val),RTC_PORT(1)); \
|
/openbmc/linux/arch/mips/include/asm/mach-generic/ |
H A D | mc146818rtc.h | 15 #define RTC_PORT(x) (0x70 + (x)) macro 20 outb_p(addr, RTC_PORT(0)); in CMOS_READ() 21 return inb_p(RTC_PORT(1)); in CMOS_READ() 26 outb_p(addr, RTC_PORT(0)); in CMOS_WRITE() 27 outb_p(data, RTC_PORT(1)); in CMOS_WRITE()
|
/openbmc/linux/arch/x86/kernel/ |
H A D | rtc.c | 86 outb(addr, RTC_PORT(0)); in rtc_cmos_read() 87 val = inb(RTC_PORT(1)); in rtc_cmos_read() 97 outb(addr, RTC_PORT(0)); in rtc_cmos_write() 98 outb(val, RTC_PORT(1)); in rtc_cmos_write() 117 .start = RTC_PORT(0), 118 .end = RTC_PORT(1),
|
/openbmc/linux/arch/mips/include/asm/mach-jazz/ |
H A D | mc146818rtc.h | 19 #define RTC_PORT(x) (0x70 + (x)) macro 24 outb_p(addr, RTC_PORT(0)); in CMOS_READ() 30 outb_p(addr, RTC_PORT(0)); in CMOS_WRITE()
|
/openbmc/linux/drivers/acpi/ |
H A D | acpi_watchdog.c | 40 case RTC_PORT(0): in acpi_watchdog_uses_rtc() 41 case RTC_PORT(1): in acpi_watchdog_uses_rtc() 42 case RTC_PORT(2): in acpi_watchdog_uses_rtc() 43 case RTC_PORT(3): in acpi_watchdog_uses_rtc()
|
/openbmc/linux/arch/mips/loongson2ef/common/ |
H A D | rtc.c | 15 .start = RTC_PORT(0), 16 .end = RTC_PORT(1),
|
/openbmc/linux/arch/mips/dec/ |
H A D | platform.c | 35 dec_rtc_resources[0].start = RTC_PORT(0); in dec_add_devices() 36 dec_rtc_resources[0].end = RTC_PORT(0) + dec_kn_slot_size - 1; in dec_add_devices()
|
/openbmc/linux/arch/x86/include/asm/ |
H A D | mc146818rtc.h | 11 #ifndef RTC_PORT 12 #define RTC_PORT(x) (0x70 + (x)) macro
|
/openbmc/linux/arch/x86/platform/olpc/ |
H A D | olpc-xo1-rtc.c | 29 .start = RTC_PORT(0), 30 .end = RTC_PORT(1),
|
/openbmc/linux/arch/mips/include/asm/mach-dec/ |
H A D | mc146818rtc.h | 20 #define RTC_PORT(x) CPHYSADDR((long)dec_rtc_base) macro
|
/openbmc/linux/arch/mips/include/asm/mach-malta/ |
H A D | mc146818rtc.h | 17 #define RTC_PORT(x) (0x70 + (x)) macro
|
/openbmc/linux/arch/arm/mach-footbridge/ |
H A D | isa-rtc.c | 18 #define RTC_PORT(x) (0x70+(x)) macro
|
/openbmc/linux/drivers/input/serio/ |
H A D | i8042-io.h | 20 # define I8042_AUX_IRQ (RTC_PORT(0) == 0x170 ? 9 : 12) /* Jensen is special */
|
/openbmc/linux/arch/powerpc/sysdev/ |
H A D | rtc_cmos_setup.c | 43 if (res[0].start != RTC_PORT(0)) in add_rtc()
|
/openbmc/linux/drivers/rtc/ |
H A D | rtc-cmos.c | 186 #ifdef RTC_PORT 196 outb(addr, RTC_PORT(2)); in cmos_read_bank2() 197 return inb(RTC_PORT(3)); in cmos_read_bank2() 202 outb(addr, RTC_PORT(2)); in cmos_write_bank2() 203 outb(val, RTC_PORT(3)); in cmos_write_bank2()
|
/openbmc/linux/arch/powerpc/platforms/maple/ |
H A D | time.c | 158 maple_rtc_addr = RTC_PORT(0); /* legacy address */ in maple_get_boot_time()
|
/openbmc/linux/arch/alpha/kernel/ |
H A D | setup.c | 252 standard_io_resources[0].start = RTC_PORT(0); in reserve_std_resources() 253 standard_io_resources[0].end = RTC_PORT(0) + 0x0f; in reserve_std_resources()
|