Home
last modified time | relevance | path

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

/linux/arch/m68k/atari/
H A Dtime.c126 #define RTC_READ(reg) \ macro
208 ctrl = RTC_READ(RTC_CONTROL); /* control registers are in atari_tt_hwclk()
256 while( RTC_READ(RTC_FREQ_SELECT) & RTC_UIP ) { in atari_tt_hwclk()
266 sec = RTC_READ( RTC_SECONDS ); in atari_tt_hwclk()
267 min = RTC_READ( RTC_MINUTES ); in atari_tt_hwclk()
268 hour = RTC_READ( RTC_HOURS ); in atari_tt_hwclk()
269 day = RTC_READ( RTC_DAY_OF_MONTH ); in atari_tt_hwclk()
270 mon = RTC_READ( RTC_MONTH ); in atari_tt_hwclk()
271 year = RTC_READ( RTC_YEAR ); in atari_tt_hwclk()
272 wday = RTC_READ( RTC_DAY_OF_WEEK ); in atari_tt_hwclk()
/linux/drivers/rtc/
H A Drtc-stk17ta8.c54 #define RTC_READ 0x01 macro
108 writeb(flags | RTC_READ, ioaddr + RTC_FLAGS); in stk17ta8_rtc_read_time()
117 writeb(flags & ~RTC_READ, ioaddr + RTC_FLAGS); in stk17ta8_rtc_read_time()
H A Drtc-ds1742.c41 #define RTC_READ 0x40 macro
90 writeb(RTC_READ, ioaddr + RTC_CONTROL); in ds1742_rtc_read_time()
H A Drtc-ds1553.c46 #define RTC_READ 0x40 macro
106 writeb(RTC_READ, ioaddr + RTC_CONTROL); in ds1553_rtc_read_time()