Home
last modified time | relevance | path

Searched refs:new_rtc (Results 1 – 1 of 1) sorted by relevance

/linux-6.12.1/drivers/rtc/
Dclass.c149 struct timespec64 new_system, new_rtc; in rtc_resume() local
168 new_rtc.tv_sec = rtc_tm_to_time64(&tm); in rtc_resume()
169 new_rtc.tv_nsec = 0; in rtc_resume()
171 if (new_rtc.tv_sec < old_rtc.tv_sec) { in rtc_resume()
177 sleep_time = timespec64_sub(new_rtc, old_rtc); in rtc_resume()