/linux-4.1.27/arch/sparc/include/asm/ |
H A 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)); \
|
H A 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)); \
|
H A D | io_32.h | 149 #define RTC_PORT(x) (rtc_port + (x)) macro
|
/linux-4.1.27/arch/m32r/include/asm/ |
H A D | mc146818rtc.h | 9 #ifndef RTC_PORT 10 #define RTC_PORT(x) ((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)); \
|
/linux-4.1.27/arch/arm/include/asm/ |
H A D | mc146818rtc.h | 12 #ifndef RTC_PORT 13 #define RTC_PORT(x) (0x70 + (x)) macro 22 outb_p((addr),RTC_PORT(0)); \ 23 inb_p(RTC_PORT(1)); \ 26 outb_p((addr),RTC_PORT(0)); \ 27 outb_p((val),RTC_PORT(1)); \
|
/linux-4.1.27/arch/alpha/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)); \
|
H A D | io.h | 551 # define RTC_PORT(x) ((x) + alpha_mv.rtc_port) macro 554 # define RTC_PORT(x) (0x170+(x)) macro 556 # define RTC_PORT(x) (0x70 + (x)) macro
|
/linux-4.1.27/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)); CMOS_READ() 21 return inb_p(RTC_PORT(1)); CMOS_READ() 26 outb_p(addr, RTC_PORT(0)); CMOS_WRITE() 27 outb_p(data, RTC_PORT(1)); CMOS_WRITE()
|
/linux-4.1.27/arch/mips/include/asm/mach-loongson/ |
H A D | mc146818rtc.h | 15 #define RTC_PORT(x) (0x70 + (x)) macro 20 outb_p(addr, RTC_PORT(0)); CMOS_READ() 21 return inb_p(RTC_PORT(1)); CMOS_READ() 26 outb_p(addr, RTC_PORT(0)); CMOS_WRITE() 27 outb_p(data, RTC_PORT(1)); CMOS_WRITE()
|
/linux-4.1.27/arch/powerpc/include/asm/ |
H A 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)); \
|
/linux-4.1.27/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)); CMOS_READ() 30 outb_p(addr, RTC_PORT(0)); CMOS_WRITE()
|
/linux-4.1.27/arch/mips/dec/ |
H A D | platform.c | 39 dec_rtc_resources[0].start = RTC_PORT(0); dec_add_devices() 40 dec_rtc_resources[0].end = RTC_PORT(0) + dec_kn_slot_size - 1; dec_add_devices()
|
/linux-4.1.27/arch/mips/loongson/common/ |
H A D | rtc.c | 19 .start = RTC_PORT(0), 20 .end = RTC_PORT(1),
|
/linux-4.1.27/arch/x86/kernel/ |
H A D | rtc.c | 121 outb(addr, RTC_PORT(0)); rtc_cmos_read() 122 val = inb(RTC_PORT(1)); rtc_cmos_read() 132 outb(addr, RTC_PORT(0)); rtc_cmos_write() 133 outb(val, RTC_PORT(1)); rtc_cmos_write() 152 .start = RTC_PORT(0), 153 .end = RTC_PORT(1),
|
/linux-4.1.27/arch/x86/platform/olpc/ |
H A D | olpc-xo1-rtc.c | 32 .start = RTC_PORT(0), 33 .end = RTC_PORT(1),
|
/linux-4.1.27/arch/powerpc/sysdev/ |
H A D | rtc_cmos_setup.c | 40 * RTC_PORT(x) is hardcoded in asm/mc146818rtc.h. Verify that the add_rtc() 43 if (res[0].start != RTC_PORT(0)) add_rtc()
|
/linux-4.1.27/arch/mips/include/asm/mach-dec/ |
H A D | mc146818rtc.h | 24 #define RTC_PORT(x) CPHYSADDR((long)dec_rtc_base) macro
|
/linux-4.1.27/arch/arm/mach-footbridge/ |
H A D | isa-rtc.c | 17 #define RTC_PORT(x) (0x70+(x)) macro
|
/linux-4.1.27/arch/mips/mti-malta/ |
H A D | malta-platform.c | 73 .start = RTC_PORT(0), 74 .end = RTC_PORT(7),
|
/linux-4.1.27/arch/x86/include/asm/ |
H A D | mc146818rtc.h | 11 #ifndef RTC_PORT 12 #define RTC_PORT(x) (0x70 + (x)) macro
|
/linux-4.1.27/drivers/input/serio/ |
H A D | i8042-io.h | 24 # define I8042_AUX_IRQ (RTC_PORT(0) == 0x170 ? 9 : 12) /* Jensen is special */
|
/linux-4.1.27/arch/mips/include/asm/mach-malta/ |
H A D | mc146818rtc.h | 29 #define RTC_PORT(x) (0x70 + (x)) macro
|
/linux-4.1.27/arch/mn10300/include/asm/ |
H A D | rtc-regs.h | 75 #define RTC_PORT(x) 0xd8600000 macro
|
/linux-4.1.27/arch/powerpc/platforms/maple/ |
H A D | time.c | 163 maple_rtc_addr = RTC_PORT(0); /* legacy address */ maple_get_boot_time()
|
/linux-4.1.27/drivers/rtc/ |
H A D | rtc-cmos.c | 153 #ifdef RTC_PORT 163 outb(addr, RTC_PORT(2)); cmos_read_bank2() 164 return inb(RTC_PORT(3)); cmos_read_bank2() 169 outb(addr, RTC_PORT(2)); cmos_write_bank2() 170 outb(val, RTC_PORT(3)); cmos_write_bank2()
|
/linux-4.1.27/drivers/char/ |
H A D | rtc.c | 935 r = request_region(RTC_PORT(0), size, "rtc"); rtc_request_region() 937 r = request_mem_region(RTC_PORT(0), size, "rtc"); rtc_request_region() 948 release_region(RTC_PORT(0), rtc_size); rtc_release_region() 950 release_mem_region(RTC_PORT(0), rtc_size); rtc_release_region() 1024 (long)(RTC_PORT(0))); rtc_init()
|
H A D | nvram.c | 77 #define RTC_PORT(x) (TT_RTC_BAS + 2*(x)) macro
|
/linux-4.1.27/arch/alpha/kernel/ |
H A D | core_marvel.c | 659 case 0x70: /* RTC_PORT(0) */ __marvel_rtc_io() 664 case 0x71: /* RTC_PORT(1) */ __marvel_rtc_io()
|
H A D | setup.c | 254 standard_io_resources[0].start = RTC_PORT(0); reserve_std_resources() 255 standard_io_resources[0].end = RTC_PORT(0) + 0x10; reserve_std_resources()
|