Lines Matching refs:time
78 /* Backup RTC alarm time in terms of seconds since 01-01-1970 00:00:00 */
86 static unsigned long next_polling; /* Next appointed polling time */
364 * Save start time of charging to limit
365 * maximum possible charging time.
382 * Save end time of charging to maintain fully charged state
1084 unsigned long time, now;
1090 * However, the alarm time should be NOW +
1094 rtc_read_time(rtc_dev, &tmp.time);
1095 rtc_tm_to_time(&tmp.time, &now);
1098 time = now + add;
1104 rtc_wkalarm_save_time < time) {
1106 time = now + CM_RTC_SMALL;
1108 time = rtc_wkalarm_save_time;
1114 pr_info("Waking up after %lu secs\n", time - now);
1116 rtc_time_to_tm(time, &tmp.time);
1178 /* It's about the time when the non-CM appointed timer goes off */
2009 rtc_tm_to_time(&rtc_wkalarm_save.time,