Home
last modified time | relevance | path

Searched refs:event_head (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/drivers/char/
Dapm-emulation.c46 unsigned int event_head; member
168 return q->event_head == q->event_tail; in queue_empty()
179 q->event_head = (q->event_head + 1) % APM_MAX_EVENTS; in queue_add_event()
180 if (q->event_head == q->event_tail) { in queue_add_event()
187 q->events[q->event_head] = event; in queue_add_event()
/linux-6.1.9/arch/x86/kernel/
Dapm_32.c344 int event_head; member
1173 return as->event_head == as->event_tail; in queue_empty()
1193 if (++as->event_head >= APM_MAX_EVENTS) in queue_event()
1194 as->event_head = 0; in queue_event()
1196 if (as->event_head == as->event_tail) { in queue_event()
1204 as->events[as->event_head] = event; in queue_event()
1620 as->event_tail = as->event_head = 0; in do_open()