Home
last modified time | relevance | path

Searched refs:RTC_PORT (Results 1 – 28 of 28) sorted by relevance

/linux-4.4.14/arch/alpha/include/asm/
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)); \
Dio.h553 # define RTC_PORT(x) ((x) + alpha_mv.rtc_port) macro
556 # define RTC_PORT(x) (0x170+(x)) macro
558 # define RTC_PORT(x) (0x70 + (x)) macro
/linux-4.4.14/arch/sparc/include/asm/
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)); \
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)); \
Dio_32.h150 #define RTC_PORT(x) (rtc_port + (x)) macro
/linux-4.4.14/arch/m32r/include/asm/
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.4.14/arch/powerpc/include/asm/
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.4.14/arch/arm/include/asm/
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.4.14/arch/mips/include/asm/mach-generic/
Dmc146818rtc.h15 #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()
/linux-4.4.14/arch/mips/include/asm/mach-loongson64/
Dmc146818rtc.h15 #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()
/linux-4.4.14/arch/mips/include/asm/mach-jazz/
Dmc146818rtc.h19 #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()
/linux-4.4.14/arch/x86/kernel/
Drtc.c121 outb(addr, RTC_PORT(0)); in rtc_cmos_read()
122 val = inb(RTC_PORT(1)); in rtc_cmos_read()
132 outb(addr, RTC_PORT(0)); in rtc_cmos_write()
133 outb(val, RTC_PORT(1)); in rtc_cmos_write()
152 .start = RTC_PORT(0),
153 .end = RTC_PORT(1),
/linux-4.4.14/arch/mips/loongson64/common/
Drtc.c19 .start = RTC_PORT(0),
20 .end = RTC_PORT(1),
/linux-4.4.14/arch/mips/dec/
Dplatform.c39 dec_rtc_resources[0].start = RTC_PORT(0); in dec_add_devices()
40 dec_rtc_resources[0].end = RTC_PORT(0) + dec_kn_slot_size - 1; in dec_add_devices()
/linux-4.4.14/arch/x86/include/asm/
Dmc146818rtc.h11 #ifndef RTC_PORT
12 #define RTC_PORT(x) (0x70 + (x)) macro
/linux-4.4.14/arch/x86/platform/olpc/
Dolpc-xo1-rtc.c32 .start = RTC_PORT(0),
33 .end = RTC_PORT(1),
/linux-4.4.14/arch/mips/mti-malta/
Dmalta-platform.c73 .start = RTC_PORT(0),
74 .end = RTC_PORT(7),
/linux-4.4.14/arch/mips/include/asm/mach-dec/
Dmc146818rtc.h24 #define RTC_PORT(x) CPHYSADDR((long)dec_rtc_base) macro
/linux-4.4.14/arch/mips/include/asm/mach-malta/
Dmc146818rtc.h29 #define RTC_PORT(x) (0x70 + (x)) macro
/linux-4.4.14/arch/arm/mach-footbridge/
Disa-rtc.c17 #define RTC_PORT(x) (0x70+(x)) macro
/linux-4.4.14/drivers/input/serio/
Di8042-io.h24 # define I8042_AUX_IRQ (RTC_PORT(0) == 0x170 ? 9 : 12) /* Jensen is special */
/linux-4.4.14/arch/powerpc/sysdev/
Drtc_cmos_setup.c43 if (res[0].start != RTC_PORT(0)) in add_rtc()
/linux-4.4.14/arch/mn10300/include/asm/
Drtc-regs.h75 #define RTC_PORT(x) 0xd8600000 macro
/linux-4.4.14/drivers/char/
Drtc.c935 r = request_region(RTC_PORT(0), size, "rtc"); in rtc_request_region()
937 r = request_mem_region(RTC_PORT(0), size, "rtc"); in rtc_request_region()
948 release_region(RTC_PORT(0), rtc_size); in rtc_release_region()
950 release_mem_region(RTC_PORT(0), rtc_size); in rtc_release_region()
1024 (long)(RTC_PORT(0))); in rtc_init()
Dnvram.c77 #define RTC_PORT(x) (TT_RTC_BAS + 2*(x)) macro
/linux-4.4.14/drivers/rtc/
Drtc-cmos.c153 #ifdef RTC_PORT
163 outb(addr, RTC_PORT(2)); in cmos_read_bank2()
164 return inb(RTC_PORT(3)); in cmos_read_bank2()
169 outb(addr, RTC_PORT(2)); in cmos_write_bank2()
170 outb(val, RTC_PORT(3)); in cmos_write_bank2()
/linux-4.4.14/arch/powerpc/platforms/maple/
Dtime.c163 maple_rtc_addr = RTC_PORT(0); /* legacy address */ in maple_get_boot_time()
/linux-4.4.14/arch/alpha/kernel/
Dsetup.c254 standard_io_resources[0].start = RTC_PORT(0); in reserve_std_resources()
255 standard_io_resources[0].end = RTC_PORT(0) + 0x10; in reserve_std_resources()