coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
smm.h File Reference
#include <stdint.h>
Include dependency graph for smm.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void chromeec_smi_process_events (void)
 
void chromeec_smi_sleep (int slp_type, uint64_t s3_mask, uint64_t s5_mask)
 
void chromeec_smi_device_event_sleep (int slp_type, uint64_t s3_mask, uint64_t s5_mask)
 
void chromeec_smi_apmc (int apmc, uint64_t sci_mask, uint64_t smi_mask)
 

Function Documentation

◆ chromeec_smi_apmc()

void chromeec_smi_apmc ( int  apmc,
uint64_t  sci_mask,
uint64_t  smi_mask 
)

Definition at line 89 of file smihandler.c.

References APM_CNT_ACPI_DISABLE, APM_CNT_ACPI_ENABLE, clear_pending_events(), google_chromeec_set_sci_mask(), and google_chromeec_set_smi_mask().

Referenced by mainboard_smi_apmc().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ chromeec_smi_device_event_sleep()

void chromeec_smi_device_event_sleep ( int  slp_type,
uint64_t  s3_mask,
uint64_t  s5_mask 
)

Definition at line 71 of file smihandler.c.

References ACPI_S3, ACPI_S5, google_chromeec_get_device_current_events(), and google_chromeec_set_device_enabled_events().

Referenced by mainboard_smi_sleep().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ chromeec_smi_process_events()

void chromeec_smi_process_events ( void  )

Definition at line 29 of file smihandler.c.

References chromeec_process_one_event().

Referenced by mainboard_smi_espi_handler(), mainboard_smi_gpi(), and mainboard_smi_gpi_handler().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ chromeec_smi_sleep()

void chromeec_smi_sleep ( int  slp_type,
uint64_t  s3_mask,
uint64_t  s5_mask 
)

Definition at line 48 of file smihandler.c.

References ACPI_S3, ACPI_S5, clear_pending_events(), google_chromeec_is_uhepi_supported(), google_chromeec_set_sci_mask(), google_chromeec_set_smi_mask(), and google_chromeec_set_wake_mask().

Referenced by mainboard_smi_sleep().

Here is the call graph for this function:
Here is the caller graph for this function: