Lines Matching refs:time
113 /* snapshot the current RTC and system time at suspend*/
116 pr_debug("%s: fail to read rtc time\n", dev_name(&rtc->dev));
126 * try to compensate so the difference in system time
127 * and rtc time stays close to constant.
133 * if delta_delta is too large, assume time correction
160 /* snapshot the current rtc and system time at resume */
164 pr_debug("%s: fail to read rtc time\n", dev_name(&rtc->dev));
172 pr_debug("%s: time travel!\n", dev_name(&rtc->dev));
176 /* calculate the RTC time delta (sleep time)*/
182 * some run-time may pass on either sides of the sleep time
183 * so subtract kernel run-time between rtc_suspend to rtc_resume
283 * If user did not implement the start time for RTC driver, then no
412 if (!err && !rtc_valid_tm(&alrm.time))