Lines Matching refs:time
20 * the local time and change to match daylight savings time. That affects
21 * attributes including date, time, since_epoch, and wakealarm.
58 static DEVICE_ATTR_RO(time);
68 time64_t time;
70 time = rtc_tm_to_time64(&tm);
71 retval = sprintf(buf, "%lld\n", time);
106 * hctosys_show - indicate if the given RTC set the system time
144 alarm = rtc_tm_to_time64(&alm.time);
164 * by writing another time, e.g. 0 meaning Jan 1 1970 UTC.
166 retval = rtc_read_time(rtc, &alm.time);
169 now = rtc_tm_to_time64(&alm.time);
196 push = rtc_tm_to_time64(&alm.time);
206 /* Provide a valid future alarm time. Linux isn't EFI,
207 * this time won't be ignored when disabling the alarm.
211 rtc_time64_to_tm(alarm, &alm.time);