Home
last modified time | relevance | path

Searched refs:RCR2 (Results 1 – 4 of 4) sorted by relevance

/linux-2.4.37.9/include/asm-sh/
Dmc146818rtc.h69 rcr2 = ctrl_inb(RCR2); \
84 rcr2 = ctrl_inb(RCR2); \
95 rcr2 = ctrl_inb(RCR2); \
97 ctrl_outb(rcr2, RCR2); \
143 rcr2 = ctrl_inb(RCR2); \
146 ctrl_outb(rcr2, RCR2); \
155 rcr2 = ctrl_inb(RCR2); \
158 ctrl_outb(rcr2, RCR2); \
Drtc.h43 #define RCR2 0xfffffede macro
63 #define RCR2 0xffc8003c macro
/linux-2.4.37.9/arch/sh/kernel/
Drtc.c73 ctrl_outb(RCR2_RESET, RCR2); /* Reset & Stop */ in sh_rtc_gettimeofday()
85 ctrl_outb(RCR2_RTCEN|RCR2_START, RCR2); /* Start */ in sh_rtc_gettimeofday()
104 ctrl_outb(RCR2_RESET, RCR2); /* Reset pre-scaler & stop RTC */ in sh_rtc_settimeofday()
133 ctrl_outb(RCR2_RTCEN|RCR2_START, RCR2); /* Start RTC */ in sh_rtc_settimeofday()
/linux-2.4.37.9/arch/sh64/kernel/
Dtime.c100 #define RCR2 rtc_base+0x3c macro
233 ctrl_outb(RCR2_RESET, RCR2); /* Reset pre-scaler & stop RTC */ in set_rtc_time()
262 ctrl_outb(RCR2_RTCEN|RCR2_START, RCR2); /* Start RTC */ in set_rtc_time()
388 ctrl_outb(RCR2_RESET, RCR2); /* Reset & Stop */ in get_rtc_time()
396 ctrl_outb(RCR2_RTCEN|RCR2_START, RCR2); /* Start */ in get_rtc_time()