coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
smm.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 
3 #ifndef EC_GOOGLE_WILCO_SMM_H
4 #define EC_GOOGLE_WILCO_SMM_H
5 
6 /* Handlers for SMI events */
7 
8 /**
9  * wilco_ec_smi_sleep
10  *
11  * Perform EC actions before suspend or power-off.
12  *
13  * @slp_type: Requested sleep type
14  */
15 void wilco_ec_smi_sleep(int slp_type);
16 
17 /**
18  * wilco_ec_smi_apmc
19  *
20  * Perform EC actions on ACPI OS commands.
21  * This is used when the OS enables or disables ACPI.
22  *
23  * @apmc: OS command
24  */
25 void wilco_ec_smi_apmc(int apmc);
26 
27 /**
28  * wilco_ec_smi_espi
29  *
30  * Perform EC actions on EC eSPI SMI interrupt.
31  */
32 void wilco_ec_smi_espi(void);
33 
34 #endif /* EC_GOOGLE_WILCO_SMM_H */
void wilco_ec_smi_espi(void)
wilco_ec_smi_espi
Definition: smihandler.c:38
void wilco_ec_smi_sleep(int slp_type)
wilco_ec_smi_sleep
Definition: smihandler.c:11
void wilco_ec_smi_apmc(int apmc)
wilco_ec_smi_apmc
Definition: smihandler.c:26