Home
last modified time | relevance | path

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

/linux/arch/alpha/include/asm/
H A 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)); \
H A Dio.h636 #define RTC_PORT(x) (0x70 + (x)) macro
/linux/arch/powerpc/include/asm/
H A Dmc146818rtc.h13 #ifndef RTC_PORT
14 #define RTC_PORT(x) (0x70 + (x)) macro
23 outb_p((addr),RTC_PORT(0)); \
24 inb_p(RTC_PORT(1)); \
27 outb_p((addr),RTC_PORT(0)); \
28 outb_p((val),RTC_PORT(1)); \
/linux/arch/sparc/include/asm/
H A Dmc146818rtc_32.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)); \
H A Dmc146818rtc_64.h10 #ifndef RTC_PORT
12 #define RTC_PORT(x) (cmos_regs + (x)) macro
21 outb_p((addr),RTC_PORT(0)); \
22 inb_p(RTC_PORT(1)); \
25 outb_p((addr),RTC_PORT(0)); \
26 outb_p((val),RTC_PORT(1)); \
/linux/arch/arm/include/asm/
H A Dmc146818rtc.h13 #ifndef RTC_PORT
14 #define RTC_PORT(x) (0x70 + (x)) macro
23 outb_p((addr),RTC_PORT(0)); \
24 inb_p(RTC_PORT(1)); \
27 outb_p((addr),RTC_PORT(0)); \
28 outb_p((val),RTC_PORT(1)); \
/linux/arch/x86/kernel/
H A Drtc.c85 outb(addr, RTC_PORT(0)); in rtc_cmos_read()
86 val = inb(RTC_PORT(1)); in rtc_cmos_read()
96 outb(addr, RTC_PORT(0)); in rtc_cmos_write()
97 outb(val, RTC_PORT(1)); in rtc_cmos_write()
116 .start = RTC_PORT(0),
117 .end = RTC_PORT(1),
/linux/drivers/acpi/
H A Dacpi_watchdog.c40 case RTC_PORT(0): in acpi_watchdog_uses_rtc()
41 case RTC_PORT(1): in acpi_watchdog_uses_rtc()
42 case RTC_PORT(2): in acpi_watchdog_uses_rtc()
43 case RTC_PORT(3): in acpi_watchdog_uses_rtc()
/linux/arch/mips/loongson2ef/common/
H A Drtc.c15 .start = RTC_PORT(0),
16 .end = RTC_PORT(1),
/linux/arch/mips/dec/
H A Dplatform.c35 dec_rtc_resources[0].start = RTC_PORT(0); in dec_add_devices()
36 dec_rtc_resources[0].end = RTC_PORT(0) + dec_kn_slot_size - 1; in dec_add_devices()
/linux/arch/x86/include/asm/
H A Dmc146818rtc.h11 #ifndef RTC_PORT
12 #define RTC_PORT(x) (0x70 + (x)) macro
/linux/arch/mips/include/asm/mach-dec/
H A Dmc146818rtc.h20 #define RTC_PORT(x) CPHYSADDR((long)dec_rtc_base) macro
/linux/arch/arm/mach-footbridge/
H A Disa-rtc.c18 #define RTC_PORT(x) (0x70+(x)) macro
/linux/arch/powerpc/sysdev/
H A Drtc_cmos_setup.c43 if (res[0].start != RTC_PORT(0)) in add_rtc()
/linux/drivers/rtc/
H A Drtc-cmos.c181 #ifdef RTC_PORT
191 outb(addr, RTC_PORT(2)); in cmos_read_bank2()
192 return inb(RTC_PORT(3)); in cmos_read_bank2()
197 outb(addr, RTC_PORT(2)); in cmos_write_bank2()
198 outb(val, RTC_PORT(3)); in cmos_write_bank2()