Home
last modified time | relevance | path

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

/linux/drivers/char/
H A Dapm-emulation.c46 unsigned int event_head; member
157 return q->event_head == q->event_tail; in queue_empty()
168 q->event_head = (q->event_head + 1) % APM_MAX_EVENTS; in queue_add_event()
169 if (q->event_head == q->event_tail) { in queue_add_event()
176 q->events[q->event_head] = event; in queue_add_event()
/linux/drivers/gpib/include/
H A Dgpib_types.h200 struct list_head event_head; member
208 INIT_LIST_HEAD(&queue->event_head); in init_event_queue()
/linux/arch/x86/kernel/
H A Dapm_32.c337 int event_head; member
1137 return as->event_head == as->event_tail; in queue_empty()
1157 if (++as->event_head >= APM_MAX_EVENTS) in queue_event()
1158 as->event_head = 0; in queue_event()
1160 if (as->event_head == as->event_tail) { in queue_event()
1168 as->events[as->event_head] = event; in queue_event()
1584 as->event_tail = as->event_head = 0; in do_open()
/linux/drivers/gpib/common/
H A Dgpib_os.c1865 struct list_head *head = &queue->event_head; in push_gpib_event_nolock()
1921 struct list_head *head = &queue->event_head; in pop_gpib_event_nolock()