Lines Matching refs:seconds
50 uint32 seconds;
52 seconds = (arch_rtc_get_system_time_offset(sRealTimeData) + system_time()
55 arch_rtc_set_hw_time(seconds);
157 /*! Converts the \a tm data to seconds. Note that the base year is not
182 rtc_secs_to_tm(uint32 seconds, struct tm *t)
188 l = seconds / 86400 + 68569 + RTC_EPOCH_JULIAN_DAY;
203 seconds = seconds % RTC_SECONDS_DAY;
204 t->tm_hour = seconds / 3600;
206 seconds = seconds % 3600;
207 t->tm_min = seconds / 60;
208 t->tm_sec = seconds % 60;