/arch/alpha/include/asm/ |
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)); \
|
D | io.h | 541 # define RTC_PORT(x) ((x) + alpha_mv.rtc_port) macro 544 # define RTC_PORT(x) (0x170+(x)) macro 546 # define RTC_PORT(x) (0x70 + (x)) macro
|
/arch/arm/include/asm/ |
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)); \
|
/arch/sparc/include/asm/ |
D | mc146818rtc_32.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)); \
|
D | mc146818rtc_64.h | 9 #ifndef RTC_PORT 11 #define RTC_PORT(x) (cmos_regs + (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)); \
|
D | io_32.h | 300 #define RTC_PORT(x) (rtc_port + (x)) macro
|
/arch/powerpc/include/asm/ |
D | mc146818rtc.h | 17 #ifndef RTC_PORT 18 #define RTC_PORT(x) (0x70 + (x)) macro 27 outb_p((addr),RTC_PORT(0)); \ 28 inb_p(RTC_PORT(1)); \ 31 outb_p((addr),RTC_PORT(0)); \ 32 outb_p((val),RTC_PORT(1)); \
|
/arch/m68k/include/asm/ |
D | mc146818rtc_mm.h | 13 #define RTC_PORT(x) (TT_RTC_BAS + 2*(x)) macro 17 atari_outb_p((addr),RTC_PORT(0)); \ 18 atari_inb_p(RTC_PORT(1)); \ 21 atari_outb_p((addr),RTC_PORT(0)); \ 22 atari_outb_p((val),RTC_PORT(1)); \
|
/arch/mips/include/asm/mach-generic/ |
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/mips/include/asm/mach-lemote/ |
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/mips/include/asm/mach-jazz/ |
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/x86/kernel/ |
D | rtc.c | 151 outb(addr, RTC_PORT(0)); in rtc_cmos_read() 152 val = inb(RTC_PORT(1)); in rtc_cmos_read() 161 outb(addr, RTC_PORT(0)); in rtc_cmos_write() 162 outb(val, RTC_PORT(1)); in rtc_cmos_write() 205 .start = RTC_PORT(0), 206 .end = RTC_PORT(1),
|
/arch/x86/include/asm/ |
D | mc146818rtc.h | 12 #ifndef RTC_PORT 13 #define RTC_PORT(x) (0x70 + (x)) macro
|
/arch/mips/mti-malta/ |
D | malta-platform.c | 69 .start = RTC_PORT(0), 70 .end = RTC_PORT(7),
|
/arch/mips/include/asm/mach-ip32/ |
D | mc146818rtc.h | 16 #define RTC_PORT(x) (0x70 + (x)) macro
|
/arch/mips/include/asm/mach-pb1x00/ |
D | mc146818rtc.h | 16 #define RTC_PORT(x) (0x0c000000 + (x)) macro
|
/arch/mips/include/asm/mach-dec/ |
D | mc146818rtc.h | 24 #define RTC_PORT(x) CPHYSADDR((long)dec_rtc_base) macro
|
/arch/mips/include/asm/mach-malta/ |
D | mc146818rtc.h | 29 #define RTC_PORT(x) (0x70 + (x)) macro
|
/arch/powerpc/sysdev/ |
D | rtc_cmos_setup.c | 42 if (res[0].start != RTC_PORT(0)) in add_rtc()
|
/arch/arm/mach-footbridge/ |
D | time.c | 17 #define RTC_PORT(x) (rtc_base+(x)) macro
|
/arch/powerpc/platforms/maple/ |
D | time.c | 164 maple_rtc_addr = RTC_PORT(0); /* legacy address */ in maple_get_boot_time()
|
/arch/alpha/kernel/ |
D | setup.c | 247 standard_io_resources[0].start = RTC_PORT(0); in reserve_std_resources() 248 standard_io_resources[0].end = RTC_PORT(0) + 0x10; in reserve_std_resources()
|