Searched refs:alarm (Results 1 – 4 of 4) sorted by relevance
160 static void alarmtimer_enqueue(struct alarm_base *base, struct alarm *alarm) in alarmtimer_enqueue() argument162 if (alarm->state & ALARMTIMER_STATE_ENQUEUED) in alarmtimer_enqueue()163 timerqueue_del(&base->timerqueue, &alarm->node); in alarmtimer_enqueue()165 timerqueue_add(&base->timerqueue, &alarm->node); in alarmtimer_enqueue()166 alarm->state |= ALARMTIMER_STATE_ENQUEUED; in alarmtimer_enqueue()178 static void alarmtimer_dequeue(struct alarm_base *base, struct alarm *alarm) in alarmtimer_dequeue() argument180 if (!(alarm->state & ALARMTIMER_STATE_ENQUEUED)) in alarmtimer_dequeue()183 timerqueue_del(&base->timerqueue, &alarm->node); in alarmtimer_dequeue()184 alarm->state &= ~ALARMTIMER_STATE_ENQUEUED; in alarmtimer_dequeue()199 struct alarm *alarm = container_of(timer, struct alarm, timer); in alarmtimer_fired() local[all …]
51 SYS_NI(alarm);
306 SYSCALL_DEFINE1(alarm, unsigned int, seconds) in SYSCALL_DEFINE1() argument
218 make it wake up a few seconds later using an RTC wakeup alarm.