Searched refs:old_rtc (Results 1 – 1 of 1) sorted by relevance
48 static struct timespec64 old_rtc, old_system, old_delta; variable72 old_rtc.tv_sec = rtc_tm_to_time64(&tm); in rtc_suspend()81 delta = timespec64_sub(old_system, old_rtc); in rtc_suspend()123 if (new_rtc.tv_sec < old_rtc.tv_sec) { in rtc_resume()129 sleep_time = timespec64_sub(new_rtc, old_rtc); in rtc_resume()