coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
#include <device/device.h>
#include <intelblocks/pcie_rp.h>
#include <soc/cpu.h>
#include <soc/pci_devs.h>
#include <soc/pcie.h>
Go to the source code of this file.
Macros | |
#define | CPU_CPIE_VW_IDX_BASE 24 |
Functions | |
const struct pcie_rp_group * | get_pch_pcie_rp_table (void) |
const struct pcie_rp_group * | get_cpu_pcie_rp_table (void) |
const struct pcie_rp_group * | get_tbt_pcie_rp_table (void) |
static bool | is_part_of_group (const struct device *dev, const struct pcie_rp_group *groups) |
enum pcie_rp_type | soc_get_pcie_rp_type (const struct device *dev) |
int | soc_get_cpu_rp_vw_idx (const struct device *dev) |
Variables | |
static const struct pcie_rp_group | pch_lp_rp_groups [] |
static const struct pcie_rp_group | pch_m_rp_groups [] |
static const struct pcie_rp_group | cpu_rp_groups [] |
static const struct pcie_rp_group | cpu_m_rp_groups [] |
static const struct pcie_rp_group | cpu_n_rp_groups [] |
static const struct pcie_rp_group | tbt_rp_groups [] |
const struct pcie_rp_group* get_cpu_pcie_rp_table | ( | void | ) |
Definition at line 53 of file pcie_rp.c.
References CONFIG, cpu_m_rp_groups, cpu_n_rp_groups, and cpu_rp_groups.
Referenced by fill_fspm_pcie_rp_params(), and fill_fsps_cpu_pcie_params().
const struct pcie_rp_group* get_pch_pcie_rp_table | ( | void | ) |
Definition at line 23 of file pcie_rp.c.
Referenced by fill_fspm_pcie_rp_params(), fill_fsps_pcie_params(), and soc_init_pre_device().
const struct pcie_rp_group* get_tbt_pcie_rp_table | ( | void | ) |
Definition at line 75 of file pcie_rp.c.
References tbt_rp_groups.
Referenced by soc_init_pre_device().
|
static |
Definition at line 80 of file pcie_rp.c.
References pcie_rp_group::count, pci_path::devfn, DEVICE_PATH_PCI, device::path, device_path::pci, PCI_FUNC, PCI_SLOT, rp_start_fn(), pcie_rp_group::slot, and device_path::type.
int soc_get_cpu_rp_vw_idx | ( | const struct device * | dev | ) |
Definition at line 113 of file pcie_rp.c.
References CPU_CPIE_VW_IDX_BASE, pci_path::devfn, DEVICE_PATH_PCI, device::path, device_path::pci, SA_DEVFN_CPU_PCIE1_0, SA_DEVFN_CPU_PCIE6_0, SA_DEVFN_CPU_PCIE6_2, and device_path::type.
Referenced by get_pcie_rp_pmc_idx().
enum pcie_rp_type soc_get_pcie_rp_type | ( | const struct device * | dev | ) |
Definition at line 80 of file pcie_rp.c.
Referenced by pcie_rtd3_acpi_fill_ssdt().
|
static |
Definition at line 23 of file pcie_rp.c.
Referenced by get_cpu_pcie_rp_table().
|
static |
Definition at line 23 of file pcie_rp.c.
Referenced by get_cpu_pcie_rp_table().
|
static |
Definition at line 23 of file pcie_rp.c.
Referenced by get_cpu_pcie_rp_table().
|
static |
|
static |
|
static |
Definition at line 53 of file pcie_rp.c.
Referenced by get_tbt_pcie_rp_table().