![]() |
coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
#include <baseboard/variants.h>
#include <cpu/x86/smm.h>
#include <delay.h>
#include <ec/google/chromeec/ec.h>
#include <ec/google/chromeec/smm.h>
#include <elog.h>
#include <gpio.h>
#include <intelblocks/smihandler.h>
#include <soc/pm.h>
#include <soc/gpio.h>
#include <variant/ec.h>
#include <variant/gpio.h>
Go to the source code of this file.
Data Structures | |
struct | gpio_with_delay |
Functions | |
void | mainboard_smi_gpi_handler (const struct gpi_status *sts) |
void | mainboard_smi_sleep (u8 slp_typ) |
int | mainboard_smi_apmc (u8 apmc) |
void | mainboard_smi_espi_handler (void) |
void | elog_gsmi_cb_mainboard_log_wake_source (void) |
void __weak | variant_smi_sleep (u8 slp_typ) |
void | power_off_lte_module (void) |
Definition at line 53 of file smihandler.c.
References google_chromeec_log_events(), MAINBOARD_EC_LOG_EVENTS, and MAINBOARD_EC_S0IX_WAKE_EVENTS.
int mainboard_smi_apmc | ( | u8 | apmc | ) |
Definition at line 41 of file smihandler.c.
References chromeec_smi_apmc(), MAINBOARD_EC_SCI_EVENTS, and MAINBOARD_EC_SMI_EVENTS.
Definition at line 48 of file smihandler.c.
References chromeec_smi_process_events().
void mainboard_smi_gpi_handler | ( | const struct gpi_status * | sts | ) |
Definition at line 21 of file smihandler.c.
References chromeec_smi_process_events(), EC_SMI_GPI, and gpi_status_get().
Definition at line 27 of file smihandler.c.
References chromeec_smi_sleep(), gpio_configure_pads(), MAINBOARD_EC_S3_WAKE_EVENTS, MAINBOARD_EC_S5_WAKE_EVENTS, variant_sleep_gpio_table(), and variant_smi_sleep().
Definition at line 64 of file smihandler.c.
References ARRAY_SIZE, gpio_with_delay::delay_msecs, GPIO_117, GPIO_161, GPIO_67, gpio_output(), and mdelay().
Definition at line 59 of file smihandler.c.