coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
lpm.c File Reference
#include <arch/cpu.h>
#include <device/device.h>
#include <device/pci_ops.h>
#include <device/pci_ids.h>
#include <cpu/intel/cpu_ids.h>
#include <soc/lpm.h>
#include <soc/pci_devs.h>
#include <soc/soc_chip.h>
#include <types.h>
Include dependency graph for lpm.c:

Go to the source code of this file.

Functions

static bool platform_is_up3 (void)
 
int get_supported_lpm_mask (struct soc_intel_tigerlake_config *config)
 

Function Documentation

◆ get_supported_lpm_mask()

int get_supported_lpm_mask ( struct soc_intel_tigerlake_config config)

Definition at line 27 of file lpm.c.

References config, is_devfn_enabled(), LPM_S0i2_2, LPM_S0i3_0, LPM_S0i3_1, LPM_S0i3_2, LPM_S0i3_3, LPM_S0i3_4, LPM_S0iX_ALL, PCH_DEVFN_CNVI_WIFI, PCH_DEVFN_ISH, and platform_is_up3().

Here is the call graph for this function:

◆ platform_is_up3()

static bool platform_is_up3 ( void  )
static

Definition at line 14 of file lpm.c.

References cpu_get_cpuid(), cpu_id, CPUID_TIGERLAKE_A0, CPUID_TIGERLAKE_B0, mchid, PCI_DEVICE_ID, PCI_DID_INTEL_TGL_ID_U_2_2, PCI_DID_INTEL_TGL_ID_U_4_2, pci_read_config16(), pcidev_path_on_root(), and SA_DEVFN_ROOT.

Referenced by get_supported_lpm_mask().

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