Searched refs:old_rtc (Results 1 – 1 of 1) sorted by relevance
99 static struct timespec64 old_rtc, old_system, old_delta; variable122 old_rtc.tv_sec = rtc_tm_to_time64(&tm); in rtc_suspend()130 delta = timespec64_sub(old_system, old_rtc); in rtc_suspend()172 if (new_rtc.tv_sec < old_rtc.tv_sec) { in rtc_resume()178 sleep_time = timespec64_sub(new_rtc, old_rtc); in rtc_resume()