Searched refs:RTC_PORT (Results 1 – 17 of 17) sorted by relevance
| /arch/alpha/include/asm/ |
| 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)); \
|
| A D | io.h | 636 #define RTC_PORT(x) (0x70 + (x)) macro
|
| /arch/powerpc/include/asm/ |
| 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)); \
|
| /arch/sparc/include/asm/ |
| 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)); \
|
| 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)); \
|
| /arch/arm/include/asm/ |
| 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)); \
|
| /arch/mips/include/asm/mach-generic/ |
| 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()
|
| /arch/x86/kernel/ |
| A D | rtc.c | 85 outb(addr, RTC_PORT(0)); in rtc_cmos_read() 86 val = inb(RTC_PORT(1)); in rtc_cmos_read() 96 outb(addr, RTC_PORT(0)); in rtc_cmos_write() 97 outb(val, RTC_PORT(1)); in rtc_cmos_write() 116 .start = RTC_PORT(0), 117 .end = RTC_PORT(1),
|
| /arch/mips/include/asm/mach-jazz/ |
| 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()
|
| /arch/mips/loongson2ef/common/ |
| A D | rtc.c | 15 .start = RTC_PORT(0), 16 .end = RTC_PORT(1),
|
| /arch/mips/dec/ |
| 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()
|
| /arch/x86/include/asm/ |
| A D | mc146818rtc.h | 11 #ifndef RTC_PORT 12 #define RTC_PORT(x) (0x70 + (x)) macro
|
| /arch/x86/platform/olpc/ |
| A D | olpc-xo1-rtc.c | 29 .start = RTC_PORT(0), 30 .end = RTC_PORT(1),
|
| /arch/mips/include/asm/mach-malta/ |
| A D | mc146818rtc.h | 17 #define RTC_PORT(x) (0x70 + (x)) macro
|
| /arch/mips/include/asm/mach-dec/ |
| A D | mc146818rtc.h | 20 #define RTC_PORT(x) CPHYSADDR((long)dec_rtc_base) macro
|
| /arch/arm/mach-footbridge/ |
| A D | isa-rtc.c | 18 #define RTC_PORT(x) (0x70+(x)) macro
|
| /arch/powerpc/sysdev/ |
| A D | rtc_cmos_setup.c | 43 if (res[0].start != RTC_PORT(0)) in add_rtc()
|
Completed in 18 milliseconds