coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
smihandler.c File Reference
Include dependency graph for smihandler.c:

Go to the source code of this file.

Functions

static u8 mainboard_smi_ec (void)
 
void mainboard_smi_gpi (u32 gpi_sts)
 
void mainboard_smi_sleep (u8 slp_typ)
 
int mainboard_smi_apmc (u8 apmc)
 

Function Documentation

◆ mainboard_smi_apmc()

int mainboard_smi_apmc ( u8  apmc)

Definition at line 64 of file smihandler.c.

References APM_CNT_ACPI_DISABLE, APM_CNT_ACPI_ENABLE, ec_kbc_write_cmd(), ec_kbc_write_ib(), EC_LID_GPI, GPI_IS_SCI, GPI_IS_SMI, and gpi_route_interrupt().

Here is the call graph for this function:

◆ mainboard_smi_ec()

static u8 mainboard_smi_ec ( void  )
static

Definition at line 14 of file smihandler.c.

References BIOS_DEBUG, EC_BATTERY_CRITICAL, ec_kbc_read_ob(), ec_kbc_write_cmd(), EC_LID_CLOSE, PM1_CNT, printk, read_pmbase32(), and write_pmbase32().

Referenced by mainboard_smi_gpi().

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

◆ mainboard_smi_gpi()

void mainboard_smi_gpi ( u32  gpi_sts)

Definition at line 36 of file smihandler.c.

References BIOS_DEBUG, EC_LID_GPI, EC_NO_EVENT, EC_SMI_GPI, mainboard_smi_ec(), PM1_CNT, printk, read_pmbase32(), and write_pmbase32().

Here is the call graph for this function:

◆ mainboard_smi_sleep()

void mainboard_smi_sleep ( u8  slp_typ)

Definition at line 49 of file smihandler.c.

References ec_kbc_write_cmd(), ec_kbc_write_ib(), gnvs, global_nvs::s3u0, and global_nvs::s3u1.

Here is the call graph for this function: