coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
chip.c File Reference
#include <device/device.h>
#include <device/pci.h>
#include <fsp/api.h>
#include <fsp/util.h>
#include <intelblocks/acpi.h>
#include <intelblocks/cfg.h>
#include <intelblocks/gpio.h>
#include <intelblocks/irq.h>
#include <intelblocks/itss.h>
#include <intelblocks/pcie_rp.h>
#include <intelblocks/xdci.h>
#include <soc/intel/common/vbt.h>
#include <soc/itss.h>
#include <soc/pci_devs.h>
#include <soc/ramstage.h>
#include <soc/soc_chip.h>
Include dependency graph for chip.c:

Go to the source code of this file.

Functions

static void soc_fill_gpio_pm_configuration (void)
 
void soc_init_pre_device (void *chip_info)
 
static void cpu_fill_ssdt (const struct device *dev)
 
static void cpu_set_north_irqs (struct device *dev)
 
static void soc_enable (struct device *dev)
 

Variables

static struct device_operations pci_domain_ops
 
static struct device_operations cpu_bus_ops
 
struct chip_operations soc_intel_tigerlake_ops
 

Function Documentation

◆ cpu_fill_ssdt()

static void cpu_fill_ssdt ( const struct device dev)
static

Definition at line 164 of file chip.c.

References BIOS_ERR, generate_cpu_entries(), generate_pin_irq_map(), and printk.

Here is the call graph for this function:

◆ cpu_set_north_irqs()

static void cpu_set_north_irqs ( struct device dev)
static

Definition at line 172 of file chip.c.

◆ soc_enable()

static void soc_enable ( struct device dev)
static

◆ soc_fill_gpio_pm_configuration()

static void soc_fill_gpio_pm_configuration ( void  )
static

Definition at line 136 of file chip.c.

References config, config_of_soc, gpio_pm_configure(), memcpy(), memset(), MISCCFG_GPIO_PM_CONFIG_BITS, TOTAL_GPIO_COMM, and value.

Referenced by soc_init_pre_device().

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

◆ soc_init_pre_device()

void soc_init_pre_device ( void chip_info)

Variable Documentation

◆ cpu_bus_ops

struct device_operations cpu_bus_ops
static
Initial value:
= {
.read_resources = noop_read_resources,
.set_resources = noop_set_resources,
.enable_resources = cpu_set_north_irqs,
}
static void noop_read_resources(struct device *dev)
Standard device operations function pointers shims.
Definition: device.h:73
static void noop_set_resources(struct device *dev)
Definition: device.h:74
static void cpu_set_north_irqs(struct device *dev)
Definition: chip.c:172

Definition at line 172 of file chip.c.

◆ pci_domain_ops

struct device_operations pci_domain_ops
static
Initial value:
= {
.read_resources = &pci_domain_read_resources,
.set_resources = &pci_domain_set_resources,
.scan_bus = &pci_domain_scan_bus,
}
void pci_domain_read_resources(struct device *dev)
Definition: pci_device.c:547
void pci_domain_set_resources(struct device *dev)
Definition: pci_device.c:564
void pci_domain_scan_bus(struct device *dev)
Scan a PCI domain.
Definition: pci_device.c:1610

Definition at line 172 of file chip.c.

Referenced by soc_enable().

◆ soc_intel_tigerlake_ops

struct chip_operations soc_intel_tigerlake_ops
Initial value:
= {
.enable_dev = &soc_enable,
}
void soc_init_pre_device(void *chip_info)
Definition: chip.c:137
static void soc_enable(struct device *dev)
Definition: chip.c:195

Definition at line 195 of file chip.c.