Searched refs:old_rtc (Results 1 – 1 of 1) sorted by relevance
89 static struct timespec64 old_rtc, old_system, old_delta; variable112 old_rtc.tv_sec = rtc_tm_to_time64(&tm); in rtc_suspend()120 delta = timespec64_sub(old_system, old_rtc); in rtc_suspend()162 if (new_rtc.tv_sec < old_rtc.tv_sec) { in rtc_resume()168 sleep_time = timespec64_sub(new_rtc, old_rtc); in rtc_resume()