Lines Matching defs:time
19 * the local time and change to match daylight savings time. That affects
20 * attributes including date, time, since_epoch, and wakealarm.
57 static DEVICE_ATTR_RO(time);
67 time64_t time;
69 time = rtc_tm_to_time64(&tm);
70 retval = sprintf(buf, "%lld\n", time);
105 * rtc_sysfs_show_hctosys - indicate if the given RTC set the system time
143 alarm = rtc_tm_to_time64(&alm.time);
163 * by writing another time, e.g. 0 meaning Jan 1 1970 UTC.
165 retval = rtc_read_time(rtc, &alm.time);
168 now = rtc_tm_to_time64(&alm.time);
195 push = rtc_tm_to_time64(&alm.time);
205 /* Provide a valid future alarm time. Linux isn't EFI,
206 * this time won't be ignored when disabling the alarm.
210 rtc_time64_to_tm(alarm, &alm.time);