Lines Matching defs:event
499 EcCheckStatus(struct acpi_ec_cookie* sc, const char* msg, EC_EVENT event)
508 if (EVENT_READY(event, ec_status)) {
553 // Ignore the value for "no outstanding event". (13.3.5)
585 // know another GPE event has occurred while handling the
586 // current GPE event and need to loop.
712 EcWaitEvent(struct acpi_ec_cookie* sc, EC_EVENT event, int32 generationCount)
721 // Wait for event by polling or GPE (interrupt).
728 status = EcCheckStatus(sc, "poll", event);
736 // GPE for an event we're not interested in here (i.e., SCI for
746 * event we are actually waiting for.
748 status = EcCheckStatus(sc, "sleep", event);
765 status = EcCheckStatus(sc, "sleep_end", event);
787 EC_EVENT event;
792 event = EC_EVENT_INPUT_BUFFER_EMPTY;
796 event = EC_EVENT_OUTPUT_BUFFER_FULL;
809 // Run the command and wait for the chosen event.
813 status = EcWaitEvent(sc, event, generationCount);