Searched refs:APM_MAX_EVENTS (Results 1 – 2 of 2) sorted by relevance
43 #define APM_MAX_EVENTS 16 macro48 apm_event_t events[APM_MAX_EVENTS];173 q->event_tail = (q->event_tail + 1) % APM_MAX_EVENTS; in queue_get_event()179 q->event_head = (q->event_head + 1) % APM_MAX_EVENTS; in queue_add_event()185 q->event_tail = (q->event_tail + 1) % APM_MAX_EVENTS; in queue_add_event()
327 #define APM_MAX_EVENTS 20 macro346 apm_event_t events[APM_MAX_EVENTS];1178 if (++as->event_tail >= APM_MAX_EVENTS) in get_queued_event()1193 if (++as->event_head >= APM_MAX_EVENTS) in queue_event()1201 if (++as->event_tail >= APM_MAX_EVENTS) in queue_event()