Searched refs:old_rtc (Results 1 – 1 of 1) sorted by relevance
90 static struct timespec64 old_rtc, old_system, old_delta; variable113 old_rtc.tv_sec = rtc_tm_to_time64(&tm); in rtc_suspend()121 delta = timespec64_sub(old_system, old_rtc); in rtc_suspend()163 if (new_rtc.tv_sec < old_rtc.tv_sec) { in rtc_resume()169 sleep_time = timespec64_sub(new_rtc, old_rtc); in rtc_resume()