Lines Matching refs:time
114 /* snapshot the current RTC and system time at suspend*/
117 pr_debug("%s: fail to read rtc time\n", dev_name(&rtc->dev));
127 * try to compensate so the difference in system time
128 * and rtc time stays close to constant.
134 * if delta_delta is too large, assume time correction
161 /* snapshot the current rtc and system time at resume */
165 pr_debug("%s: fail to read rtc time\n", dev_name(&rtc->dev));
173 pr_debug("%s: time travel!\n", dev_name(&rtc->dev));
177 /* calculate the RTC time delta (sleep time)*/
183 * some run-time may pass on either sides of the sleep time
184 * so subtract kernel run-time between rtc_suspend to rtc_resume
217 * time of 5ms which is at least halfways close to reality.
292 * If user did not implement the start time for RTC driver, then no
410 if (!err && !rtc_valid_tm(&alrm.time))