coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
acpigen_pci.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 
3 #ifndef ACPIGEN_PCI_H
4 #define ACPIGEN_PCI_H
5 
6 #include <device/device.h>
7 #include <device/pci_def.h>
8 #include <device/pci_type.h>
9 
11 void acpigen_write_ADR_pci_device(const struct device *dev);
12 
13 void acpigen_write_PRT_GSI_entry(unsigned int pci_dev, unsigned int acpi_pin, unsigned int gsi);
14 void acpigen_write_PRT_source_entry(unsigned int pci_dev, unsigned int acpi_pin,
15  const char *source_path, unsigned int index);
16 
17 #endif /* ACPIGEN_PCI_H */
void acpigen_write_ADR_pci_devfn(pci_devfn_t devfn)
Definition: acpigen_pci.c:11
void acpigen_write_PRT_GSI_entry(unsigned int pci_dev, unsigned int acpi_pin, unsigned int gsi)
Definition: acpigen_pci.c:28
void acpigen_write_ADR_pci_device(const struct device *dev)
Definition: acpigen_pci.c:22
void acpigen_write_PRT_source_entry(unsigned int pci_dev, unsigned int acpi_pin, const char *source_path, unsigned int index)
Definition: acpigen_pci.c:43
#define pci_dev
u32 pci_devfn_t
Definition: pci_type.h:8
Definition: device.h:107