![]() |
coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
#include <arch/io.h>
#include <device/device.h>
#include <device/pci.h>
#include <device/pci_def.h>
#include <console/console.h>
#include <security/vboot/vbnv.h>
#include <security/vboot/vboot_common.h>
#include <southbridge/intel/common/rtc.h>
#include "pch.h"
Go to the source code of this file.
Macros | |
#define | GPIO_ALT_GPI_SMI_STS 0x50 |
#define | GPIO_ALT_GPI_SMI_EN 0x54 |
Definition at line 267 of file pmutil.c.
References print_alt_smi_status(), and reset_alt_smi_status().
Referenced by southbridge_smi_gpi().
Definition at line 491 of file pmutil.c.
References clear_lpt_gpe_status(), clear_lpt_lp_gpe_status(), pch_is_lp(), print_gpe_sts(), and reset_gpe_status().
Referenced by smm_southbridge_clear_state(), southbridge_smi_gpe0(), and southbridge_smi_sleep().
Definition at line 408 of file pmutil.c.
References GPE0_EN, GPE0_EN_2, GPE0_STS, GPE0_STS_2, print_gpe_status(), and reset_gpe_status().
Referenced by clear_gpe_status().
Definition at line 460 of file pmutil.c.
References LP_GPE0_EN_1, LP_GPE0_EN_2, LP_GPE0_EN_3, LP_GPE0_EN_4, LP_GPE0_STS_1, LP_GPE0_STS_2, LP_GPE0_STS_3, LP_GPE0_STS_4, print_gpe_gpio(), print_gpe_status(), and reset_gpe_status().
Referenced by clear_gpe_status().
Definition at line 117 of file pmutil.c.
References print_pm1_status(), and reset_pm1_status().
Referenced by smm_southbridge_clear_state(), and southbridge_smi_pm1().
Definition at line 177 of file pmutil.c.
References print_smi_status(), and reset_smi_status().
Referenced by smm_southbridge_clear_state(), and southbridge_smi_handler().
Definition at line 348 of file pmutil.c.
References print_tco_status(), and reset_tco_status().
Referenced by smm_southbridge_clear_state(), and southbridge_smi_tco().
Definition at line 516 of file pmutil.c.
References disable_gpe(), and enable_all_gpe().
Referenced by southbridge_smi_sleep().
Definition at line 531 of file pmutil.c.
References get_pmbase(), GPE0_EN, inl(), LP_GPE0_EN_4, mask, outl(), pch_is_lp(), and pmbase.
Referenced by smm_southbridge_enable().
Definition at line 73 of file pmutil.c.
References get_pmbase(), inl(), mask, outl(), PM1_CNT, and pmbase.
Referenced by southbridge_smi_apmc(), southbridge_smi_pm1(), and southbridge_smi_sleep().
Definition at line 191 of file pmutil.c.
References get_pmbase(), inl(), mask, outl(), pmbase, and SMI_EN.
Referenced by southbridge_smi_sleep().
Definition at line 500 of file pmutil.c.
References get_pmbase(), GPE0_EN, GPE0_EN_2, GPE_31_0, GPE_63_32, GPE_94_64, GPE_STD, LP_GPE0_EN_1, LP_GPE0_EN_2, LP_GPE0_EN_3, LP_GPE0_EN_4, outl(), pch_is_lp(), and pmbase.
Referenced by pch_power_options().
Definition at line 273 of file pmutil.c.
References ALT_GP_SMI_EN, ALT_GP_SMI_EN2, get_gpiobase(), get_pmbase(), GPIO_ALT_GPI_SMI_EN, inl(), inw(), mask, outl(), outw(), pch_is_lp(), and pmbase.
Referenced by pch_power_options().
Definition at line 522 of file pmutil.c.
References get_pmbase(), GPE0_EN, inl(), LP_GPE0_EN_4, mask, outl(), pch_is_lp(), and pmbase.
Referenced by mainboard_smi_sleep().
Definition at line 123 of file pmutil.c.
References get_pmbase(), outw(), and PM1_EN.
Referenced by smm_southbridge_enable().
Definition at line 65 of file pmutil.c.
References get_pmbase(), inl(), mask, outl(), PM1_CNT, and pmbase.
Referenced by southbridge_smi_apmc(), southbridge_smi_pm1(), and southbridge_smi_sleep().
Definition at line 183 of file pmutil.c.
References get_pmbase(), inl(), mask, outl(), pmbase, and SMI_EN.
Referenced by smm_southbridge_enable(), and southbridge_smi_set_eos().
Definition at line 354 of file pmutil.c.
References enable_gpe(), get_pmbase(), GPE0_STS, LP_GPE0_STS_4, outl(), pch_is_lp(), TCOSCI_EN, and TCOSCI_STS.
Referenced by gma_enable_swsci().
Definition at line 234 of file pmutil.c.
References BIOS_DEBUG, pch_is_lp(), print_gpio_status(), print_status_bits(), and printk.
Referenced by clear_alt_smi_status().
Definition at line 395 of file pmutil.c.
References BIOS_DEBUG, print_gpio_status(), and printk.
Referenced by clear_lpt_lp_gpe_status().
Definition at line 382 of file pmutil.c.
References BIOS_DEBUG, print_status_bits(), and printk.
Referenced by clear_lpt_gpe_status(), and clear_lpt_lp_gpe_status().
Definition at line 47 of file pmutil.c.
References BIOS_DEBUG, and printk.
Referenced by print_alt_smi_status(), and print_gpe_gpio().
Definition at line 93 of file pmutil.c.
References BIOS_SPEW, print_status_bits(), and printk.
Referenced by clear_pm1_status().
Definition at line 141 of file pmutil.c.
References BIOS_DEBUG, print_status_bits(), and printk.
Referenced by clear_smi_status().
Definition at line 29 of file pmutil.c.
References BIOS_DEBUG, and printk.
Referenced by print_alt_smi_status(), print_gpe_status(), print_pm1_status(), print_smi_status(), and print_tco_status().
Definition at line 318 of file pmutil.c.
References BIOS_DEBUG, print_status_bits(), and printk.
Referenced by clear_tco_status().
Definition at line 203 of file pmutil.c.
References ALT_GP_SMI_EN, ALT_GP_SMI_EN2, ALT_GP_SMI_STS, ALT_GP_SMI_STS2, get_gpiobase(), get_pmbase(), GPIO_ALT_GPI_SMI_EN, GPIO_ALT_GPI_SMI_STS, inl(), inw(), outl(), outw(), pch_is_lp(), and pmbase.
Referenced by clear_alt_smi_status().
Definition at line 370 of file pmutil.c.
References get_pmbase(), inl(), and outl().
Referenced by clear_lpt_gpe_status(), and clear_lpt_lp_gpe_status().