Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/char/
Dapm-emulation.c43 #define APM_MAX_EVENTS 16 macro
48 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()
/linux-6.1.9/arch/x86/kernel/
Dapm_32.c327 #define APM_MAX_EVENTS 20 macro
346 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()