Lines Matching refs:RTC_WRITE
99 #define RTC_WRITE(reg,val) \ macro
230 RTC_WRITE( RTC_CONTROL, ctrl | RTC_SET ); in atari_tt_hwclk()
241 RTC_WRITE( RTC_SECONDS, sec ); in atari_tt_hwclk()
242 RTC_WRITE( RTC_MINUTES, min ); in atari_tt_hwclk()
243 RTC_WRITE( RTC_HOURS, hour + pm); in atari_tt_hwclk()
244 RTC_WRITE( RTC_DAY_OF_MONTH, day ); in atari_tt_hwclk()
245 RTC_WRITE( RTC_MONTH, mon ); in atari_tt_hwclk()
246 RTC_WRITE( RTC_YEAR, year ); in atari_tt_hwclk()
247 if (wday >= 0) RTC_WRITE( RTC_DAY_OF_WEEK, wday ); in atari_tt_hwclk()
249 RTC_WRITE( RTC_CONTROL, ctrl & ~RTC_SET ); in atari_tt_hwclk()
320 RTC_WRITE (RTC_CONTROL, save_control | RTC_SET); in atari_tt_set_clock_mmss()
323 RTC_WRITE (RTC_FREQ_SELECT, save_freq_select | RTC_DIV_RESET2); in atari_tt_set_clock_mmss()
341 RTC_WRITE (RTC_SECONDS, real_seconds); in atari_tt_set_clock_mmss()
342 RTC_WRITE (RTC_MINUTES, real_minutes); in atari_tt_set_clock_mmss()
347 RTC_WRITE (RTC_FREQ_SELECT, save_freq_select); in atari_tt_set_clock_mmss()
348 RTC_WRITE (RTC_CONTROL, save_control); in atari_tt_set_clock_mmss()