Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/char/
Dapm-emulation.c57 unsigned int event_tail; member
179 return q->event_head == q->event_tail; in queue_empty()
184 q->event_tail = (q->event_tail + 1) % APM_MAX_EVENTS; in queue_get_event()
185 return q->events[q->event_tail]; in queue_get_event()
191 if (q->event_head == q->event_tail) { in queue_add_event()
196 q->event_tail = (q->event_tail + 1) % APM_MAX_EVENTS; in queue_add_event()
/linux-2.6.39/arch/x86/kernel/
Dapm_32.c351 int event_tail; member
1161 return as->event_head == as->event_tail; in queue_empty()
1166 if (++as->event_tail >= APM_MAX_EVENTS) in get_queued_event()
1167 as->event_tail = 0; in get_queued_event()
1168 return as->events[as->event_tail]; in get_queued_event()
1184 if (as->event_head == as->event_tail) { in queue_event()
1189 if (++as->event_tail >= APM_MAX_EVENTS) in queue_event()
1190 as->event_tail = 0; in queue_event()
1615 as->event_tail = as->event_head = 0; in do_open()