Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/char/
Dapm-emulation.c42 #define APM_MAX_EVENTS 16 macro
47 apm_event_t events[APM_MAX_EVENTS];
172 q->event_tail = (q->event_tail + 1) % APM_MAX_EVENTS; in queue_get_event()
178 q->event_head = (q->event_head + 1) % APM_MAX_EVENTS; in queue_add_event()
184 q->event_tail = (q->event_tail + 1) % APM_MAX_EVENTS; in queue_add_event()
/Linux-v4.19/arch/x86/kernel/
Dapm_32.c335 #define APM_MAX_EVENTS 20 macro
354 apm_event_t events[APM_MAX_EVENTS];
1180 if (++as->event_tail >= APM_MAX_EVENTS) in get_queued_event()
1195 if (++as->event_head >= APM_MAX_EVENTS) in queue_event()
1203 if (++as->event_tail >= APM_MAX_EVENTS) in queue_event()