Lines Matching refs:alarm
131 time64_t alarm;
138 * NOTE: RTC implementations where the alarm doesn't match an
144 alarm = rtc_tm_to_time64(&alm.time);
145 retval = sprintf(buf, "%lld\n", alarm);
156 time64_t now, alarm;
181 retval = kstrtos64(buf_ptr, 0, &alarm);
185 alarm += now;
186 if (alarm > now || push) {
197 alarm += push;
206 /* Provide a valid future alarm time. Linux isn't EFI,
207 * this time won't be ignored when disabling the alarm.
209 alarm = now + 300;
211 rtc_time64_to_tm(alarm, &alm.time);
267 /* The reason to trigger an alarm with no process watching it (via sysfs)