coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
ec.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define EC_SCI_GPI   6 /* GPIO6 is EC_SCI# */
 
#define EC_SMI_GPI   1 /* GPIO1 is EC_SMI# */
 
#define EC_SMI_LID_CLOSED   0x2B
 

Functions

void stout_ec_init (void)
 
void stout_ec_finalize_smm (void)
 

Macro Definition Documentation

◆ EC_SCI_GPI

#define EC_SCI_GPI   6 /* GPIO6 is EC_SCI# */

Definition at line 6 of file ec.h.

◆ EC_SMI_GPI

#define EC_SMI_GPI   1 /* GPIO1 is EC_SMI# */

Definition at line 7 of file ec.h.

◆ EC_SMI_LID_CLOSED

#define EC_SMI_LID_CLOSED   0x2B

Definition at line 9 of file ec.h.

Function Documentation

◆ stout_ec_finalize_smm()

void stout_ec_finalize_smm ( void  )

Definition at line 41 of file ec.c.

References BIOS_ERR, EC_MBAT_STATUS, EC_PERIPH_STAT_3, ec_read(), PM1_CNT, printk, read_pmbase32(), and write_pmbase32().

Referenced by mainboard_smi_apmc().

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

◆ stout_ec_init()

void stout_ec_init ( void  )

Definition at line 12 of file ec.c.

References BIOS_DEBUG, EC_FW_VER, ec_kbc_write_cmd(), EC_KBD_CMD_UNMUTE, EC_PERIPH_CNTL_3, ec_read(), EC_USB_S3_EN, ec_write(), get_recovery_mode_switch(), and printk.

Referenced by mainboard_init().

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