Searched refs:RTC_PORT (Results 1 - 29 of 29) sorted by relevance

/linux-4.1.27/arch/sparc/include/asm/
H A Dmc146818rtc_32.h9 #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 Dmc146818rtc_64.h9 #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 Dio_32.h149 #define RTC_PORT(x) (rtc_port + (x)) macro
/linux-4.1.27/arch/m32r/include/asm/
H A Dmc146818rtc.h9 #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 Dmc146818rtc.h12 #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 Dmc146818rtc.h9 #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 Dio.h551 # 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 Dmc146818rtc.h15 #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 Dmc146818rtc.h15 #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 Dmc146818rtc.h17 #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 Dmc146818rtc.h19 #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 Dplatform.c39 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 Drtc.c19 .start = RTC_PORT(0),
20 .end = RTC_PORT(1),
/linux-4.1.27/arch/x86/kernel/
H A Drtc.c121 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 Dolpc-xo1-rtc.c32 .start = RTC_PORT(0),
33 .end = RTC_PORT(1),
/linux-4.1.27/arch/powerpc/sysdev/
H A Drtc_cmos_setup.c40 * 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 Dmc146818rtc.h24 #define RTC_PORT(x) CPHYSADDR((long)dec_rtc_base) macro
/linux-4.1.27/arch/arm/mach-footbridge/
H A Disa-rtc.c17 #define RTC_PORT(x) (0x70+(x)) macro
/linux-4.1.27/arch/mips/mti-malta/
H A Dmalta-platform.c73 .start = RTC_PORT(0),
74 .end = RTC_PORT(7),
/linux-4.1.27/arch/x86/include/asm/
H A Dmc146818rtc.h11 #ifndef RTC_PORT
12 #define RTC_PORT(x) (0x70 + (x)) macro
/linux-4.1.27/drivers/input/serio/
H A Di8042-io.h24 # 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 Dmc146818rtc.h29 #define RTC_PORT(x) (0x70 + (x)) macro
/linux-4.1.27/arch/mn10300/include/asm/
H A Drtc-regs.h75 #define RTC_PORT(x) 0xd8600000 macro
/linux-4.1.27/arch/powerpc/platforms/maple/
H A Dtime.c163 maple_rtc_addr = RTC_PORT(0); /* legacy address */ maple_get_boot_time()
/linux-4.1.27/drivers/rtc/
H A Drtc-cmos.c153 #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 Drtc.c935 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 Dnvram.c77 #define RTC_PORT(x) (TT_RTC_BAS + 2*(x)) macro
/linux-4.1.27/arch/alpha/kernel/
H A Dcore_marvel.c659 case 0x70: /* RTC_PORT(0) */ __marvel_rtc_io()
664 case 0x71: /* RTC_PORT(1) */ __marvel_rtc_io()
H A Dsetup.c254 standard_io_resources[0].start = RTC_PORT(0); reserve_std_resources()
255 standard_io_resources[0].end = RTC_PORT(0) + 0x10; reserve_std_resources()

Completed in 570 milliseconds