Lines Matching defs:RTC_WRITE
98 #define RTC_WRITE(reg,val) \
229 RTC_WRITE( RTC_CONTROL, ctrl | RTC_SET );
240 RTC_WRITE( RTC_SECONDS, sec );
241 RTC_WRITE( RTC_MINUTES, min );
242 RTC_WRITE( RTC_HOURS, hour + pm);
243 RTC_WRITE( RTC_DAY_OF_MONTH, day );
244 RTC_WRITE( RTC_MONTH, mon );
245 RTC_WRITE( RTC_YEAR, year );
246 if (wday >= 0) RTC_WRITE( RTC_DAY_OF_WEEK, wday );
248 RTC_WRITE( RTC_CONTROL, ctrl & ~RTC_SET );
319 RTC_WRITE (RTC_CONTROL, save_control | RTC_SET);
322 RTC_WRITE (RTC_FREQ_SELECT, save_freq_select | RTC_DIV_RESET2);
340 RTC_WRITE (RTC_SECONDS, real_seconds);
341 RTC_WRITE (RTC_MINUTES, real_minutes);
346 RTC_WRITE (RTC_FREQ_SELECT, save_freq_select);
347 RTC_WRITE (RTC_CONTROL, save_control);