Lines Matching refs:RTC_READ
85 #define RTC_READ(reg) \ macro
132 while (!(RTC_READ(RTC_FREQ_SELECT) & RTC_UIP)) ; in atari_tt_gettod()
133 while (RTC_READ(RTC_FREQ_SELECT) & RTC_UIP) ; in atari_tt_gettod()
135 *secp = RTC_READ(RTC_SECONDS); in atari_tt_gettod()
136 *minp = RTC_READ(RTC_MINUTES); in atari_tt_gettod()
137 hour = RTC_READ(RTC_HOURS); in atari_tt_gettod()
138 *dayp = RTC_READ(RTC_DAY_OF_MONTH); in atari_tt_gettod()
139 *monp = RTC_READ(RTC_MONTH); in atari_tt_gettod()
140 *yearp = RTC_READ(RTC_YEAR); in atari_tt_gettod()
144 ctrl = RTC_READ(RTC_CONTROL); in atari_tt_gettod()
234 ctrl = RTC_READ(RTC_CONTROL); /* control registers are in atari_tt_hwclk()
281 while( RTC_READ(RTC_FREQ_SELECT) & RTC_UIP ) { in atari_tt_hwclk()
290 sec = RTC_READ( RTC_SECONDS ); in atari_tt_hwclk()
291 min = RTC_READ( RTC_MINUTES ); in atari_tt_hwclk()
292 hour = RTC_READ( RTC_HOURS ); in atari_tt_hwclk()
293 day = RTC_READ( RTC_DAY_OF_MONTH ); in atari_tt_hwclk()
294 mon = RTC_READ( RTC_MONTH ); in atari_tt_hwclk()
295 year = RTC_READ( RTC_YEAR ); in atari_tt_hwclk()
296 wday = RTC_READ( RTC_DAY_OF_WEEK ); in atari_tt_hwclk()
377 save_control = RTC_READ (RTC_CONTROL); /* tell the clock it's being set */ in atari_tt_set_clock_mmss()
380 save_freq_select = RTC_READ (RTC_FREQ_SELECT); /* stop and reset prescaler */ in atari_tt_set_clock_mmss()
383 rtc_minutes = RTC_READ (RTC_MINUTES); in atari_tt_set_clock_mmss()