Home
last modified time | relevance | path

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

/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.h541 # 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/
Dmc146818rtc.h10 #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/
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.h300 #define RTC_PORT(x) (rtc_port + (x)) macro
/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)); \
/arch/m68k/include/asm/
Dmc146818rtc_mm.h13 #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/
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()
/arch/mips/include/asm/mach-lemote/
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()
/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()
/arch/x86/kernel/
Drtc.c151 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/
Dmc146818rtc.h12 #ifndef RTC_PORT
13 #define RTC_PORT(x) (0x70 + (x)) macro
/arch/mips/mti-malta/
Dmalta-platform.c69 .start = RTC_PORT(0),
70 .end = RTC_PORT(7),
/arch/mips/include/asm/mach-ip32/
Dmc146818rtc.h16 #define RTC_PORT(x) (0x70 + (x)) macro
/arch/mips/include/asm/mach-pb1x00/
Dmc146818rtc.h16 #define RTC_PORT(x) (0x0c000000 + (x)) macro
/arch/mips/include/asm/mach-dec/
Dmc146818rtc.h24 #define RTC_PORT(x) CPHYSADDR((long)dec_rtc_base) macro
/arch/mips/include/asm/mach-malta/
Dmc146818rtc.h29 #define RTC_PORT(x) (0x70 + (x)) macro
/arch/powerpc/sysdev/
Drtc_cmos_setup.c42 if (res[0].start != RTC_PORT(0)) in add_rtc()
/arch/arm/mach-footbridge/
Dtime.c17 #define RTC_PORT(x) (rtc_base+(x)) macro
/arch/powerpc/platforms/maple/
Dtime.c164 maple_rtc_addr = RTC_PORT(0); /* legacy address */ in maple_get_boot_time()
/arch/alpha/kernel/
Dsetup.c247 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()