Lines Matching defs:seconds
56 uint32 seconds;
58 seconds = (arch_rtc_get_system_time_offset(sRealTimeData) + system_time()
61 arch_rtc_set_hw_time(seconds);
175 /*! Converts the \a tm data to seconds. Note that the base year is not
200 rtc_secs_to_tm(uint32 seconds, struct tm *t)
206 l = seconds / 86400 + 68569 + RTC_EPOCH_JULIAN_DAY;
221 seconds = seconds % RTC_SECONDS_DAY;
222 t->tm_hour = seconds / 3600;
224 seconds = seconds % 3600;
225 t->tm_min = seconds / 60;
226 t->tm_sec = seconds % 60;