coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
acpi_prt.c File Reference
#include <acpi/acpi.h>
#include <acpi/acpigen.h>
#include <acpi/acpigen_pci.h>
#include <amdblocks/amd_pci_util.h>
#include <arch/ioapic.h>
#include <device/device.h>
Include dependency graph for acpi_prt.c:

Go to the source code of this file.

Functions

static void acpigen_write_PRT_GSI (const struct pci_routing_info *routing_info)
 
static void acpigen_write_PRT_PIC (const struct pci_routing_info *routing_info)
 
void acpigen_write_pci_GNB_PRT (const struct device *dev)
 
void acpigen_write_pci_FCH_PRT (const struct device *dev)
 

Function Documentation

◆ acpigen_write_pci_FCH_PRT()

void acpigen_write_pci_FCH_PRT ( const struct device dev)

Definition at line 195 of file acpi_prt.c.

References acpigen_write_name(), acpigen_write_PRT_PIC(), pci_path::devfn, get_pci_routing_info(), device::path, and device_path::pci.

Here is the call graph for this function:

◆ acpigen_write_pci_GNB_PRT()

void acpigen_write_pci_GNB_PRT ( const struct device dev)

◆ acpigen_write_PRT_GSI()

static void acpigen_write_PRT_GSI ( const struct pci_routing_info routing_info)
static

Definition at line 10 of file acpi_prt.c.

References acpigen_pop_len(), acpigen_write_package(), acpigen_write_PRT_GSI_entry(), IO_APIC_INTERRUPTS, and pci_calculate_irq().

Referenced by acpigen_write_pci_GNB_PRT().

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

◆ acpigen_write_PRT_PIC()

static void acpigen_write_PRT_PIC ( const struct pci_routing_info routing_info)
static

Definition at line 28 of file acpi_prt.c.

References acpigen_pop_len(), acpigen_write_package(), acpigen_write_PRT_source_entry(), and pci_calculate_irq().

Referenced by acpigen_write_pci_FCH_PRT(), and acpigen_write_pci_GNB_PRT().

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