Home
last modified time | relevance | path

Searched refs:alarm (Results 1 – 3 of 3) sorted by relevance

/kernel/time/
Dalarmtimer.c138 static void alarmtimer_enqueue(struct alarm_base *base, struct alarm *alarm) in alarmtimer_enqueue() argument
140 if (alarm->state & ALARMTIMER_STATE_ENQUEUED) in alarmtimer_enqueue()
141 timerqueue_del(&base->timerqueue, &alarm->node); in alarmtimer_enqueue()
143 timerqueue_add(&base->timerqueue, &alarm->node); in alarmtimer_enqueue()
144 alarm->state |= ALARMTIMER_STATE_ENQUEUED; in alarmtimer_enqueue()
156 static void alarmtimer_dequeue(struct alarm_base *base, struct alarm *alarm) in alarmtimer_dequeue() argument
158 if (!(alarm->state & ALARMTIMER_STATE_ENQUEUED)) in alarmtimer_dequeue()
161 timerqueue_del(&base->timerqueue, &alarm->node); in alarmtimer_dequeue()
162 alarm->state &= ~ALARMTIMER_STATE_ENQUEUED; in alarmtimer_dequeue()
177 struct alarm *alarm = container_of(timer, struct alarm, timer); in alarmtimer_fired() local
[all …]
/kernel/power/
DKconfig180 make it wake up a few seconds later using an RTC wakeup alarm.
/kernel/
Dtimer.c1392 SYSCALL_DEFINE1(alarm, unsigned int, seconds) in SYSCALL_DEFINE1() argument