coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
pci_devs.h File Reference
#include <device/pci.h>
#include <device/pci_def.h>
Include dependency graph for pci_devs.h:

Go to the source code of this file.

Macros

#define MC_BDF   PCI_DEV(PCI_BUS_NUMBER_QNC, MC_DEV, MC_FUN)
 
#define I2CGPIO_DEVID   0x0934
 
#define HSUART_DEVID   0x0936
 
#define EHCI_DEVID   0x0939
 
#define LPC_DEVID   0x095E
 
#define PCIE_PORT0_DEVID   0x11c3
 
#define PCIE_PORT1_DEVID   0x11c4
 
#define SIO1_DEV   0x14
 
#define SD_MMC_DEV   SIO1_DEV
 
#define HSUART0_DEV   SIO1_DEV
 
#define HSUART1_DEV   SIO1_DEV
 
#define SD_MMC_FUNC   0
 
#define HSUART0_FUNC   1
 
#define USB_DEV_PORT_FUNC   2
 
#define EHCI_FUNC   3
 
#define OHCI_FUNC   4
 
#define HSUART1_FUNC   5
 
#define HSUART0_BDF   PCI_DEV(PCI_BUS_NUMBER_QNC, HSUART0_DEV, HSUART0_FUNC)
 
#define HSUART1_BDF   PCI_DEV(PCI_BUS_NUMBER_QNC, HSUART1_DEV, HSUART1_FUNC)
 
#define SIO2_DEV   0x15
 
#define I2CGPIO_DEV   SIO2_DEV
 
#define I2CGPIO_FUNC   2
 
#define I2CGPIO_BDF   PCI_DEV(PCI_BUS_NUMBER_QNC, I2CGPIO_DEV, I2CGPIO_FUNC)
 
#define PCIE_DEV   0x17
 
#define PCIE_PORT0_DEV   PCIE_DEV
 
#define PCIE_PORT0_FUNC   0
 
#define PCIE_PORT0_BDF   PCI_DEV(PCI_BUS_NUMBER_QNC, PCIE_DEV, PCIE_PORT0_FUNC)
 
#define PCIE_PORT1_DEV   PCIE_DEV
 
#define PCIE_PORT1_FUNC   1
 
#define PCIE_PORT1_BDF   PCI_DEV(PCI_BUS_NUMBER_QNC, PCIE_DEV, PCIE_PORT1_FUNC)
 
#define LPC_DEV   PCI_DEVICE_NUMBER_QNC_LPC
 
#define LPC_FUNC   PCI_FUNCTION_NUMBER_QNC_LPC
 
#define LPC_BDF   PCI_DEV(PCI_BUS_NUMBER_QNC, LPC_DEV, LPC_FUNC)
 

Macro Definition Documentation

◆ EHCI_DEVID

#define EHCI_DEVID   0x0939

Definition at line 15 of file pci_devs.h.

◆ EHCI_FUNC

#define EHCI_FUNC   3

Definition at line 28 of file pci_devs.h.

◆ HSUART0_BDF

#define HSUART0_BDF   PCI_DEV(PCI_BUS_NUMBER_QNC, HSUART0_DEV, HSUART0_FUNC)

Definition at line 31 of file pci_devs.h.

◆ HSUART0_DEV

#define HSUART0_DEV   SIO1_DEV

Definition at line 23 of file pci_devs.h.

◆ HSUART0_FUNC

#define HSUART0_FUNC   1

Definition at line 26 of file pci_devs.h.

◆ HSUART1_BDF

#define HSUART1_BDF   PCI_DEV(PCI_BUS_NUMBER_QNC, HSUART1_DEV, HSUART1_FUNC)

Definition at line 32 of file pci_devs.h.

◆ HSUART1_DEV

#define HSUART1_DEV   SIO1_DEV

Definition at line 24 of file pci_devs.h.

◆ HSUART1_FUNC

#define HSUART1_FUNC   5

Definition at line 30 of file pci_devs.h.

◆ HSUART_DEVID

#define HSUART_DEVID   0x0936

Definition at line 14 of file pci_devs.h.

◆ I2CGPIO_BDF

#define I2CGPIO_BDF   PCI_DEV(PCI_BUS_NUMBER_QNC, I2CGPIO_DEV, I2CGPIO_FUNC)

Definition at line 38 of file pci_devs.h.

◆ I2CGPIO_DEV

#define I2CGPIO_DEV   SIO2_DEV

Definition at line 36 of file pci_devs.h.

◆ I2CGPIO_DEVID

#define I2CGPIO_DEVID   0x0934

Definition at line 13 of file pci_devs.h.

◆ I2CGPIO_FUNC

#define I2CGPIO_FUNC   2

Definition at line 37 of file pci_devs.h.

◆ LPC_BDF

#define LPC_BDF   PCI_DEV(PCI_BUS_NUMBER_QNC, LPC_DEV, LPC_FUNC)

Definition at line 53 of file pci_devs.h.

◆ LPC_DEV

#define LPC_DEV   PCI_DEVICE_NUMBER_QNC_LPC

Definition at line 51 of file pci_devs.h.

◆ LPC_DEVID

#define LPC_DEVID   0x095E

Definition at line 16 of file pci_devs.h.

◆ LPC_FUNC

#define LPC_FUNC   PCI_FUNCTION_NUMBER_QNC_LPC

Definition at line 52 of file pci_devs.h.

◆ MC_BDF

#define MC_BDF   PCI_DEV(PCI_BUS_NUMBER_QNC, MC_DEV, MC_FUN)

Definition at line 10 of file pci_devs.h.

◆ OHCI_FUNC

#define OHCI_FUNC   4

Definition at line 29 of file pci_devs.h.

◆ PCIE_DEV

#define PCIE_DEV   0x17

Definition at line 41 of file pci_devs.h.

◆ PCIE_PORT0_BDF

#define PCIE_PORT0_BDF   PCI_DEV(PCI_BUS_NUMBER_QNC, PCIE_DEV, PCIE_PORT0_FUNC)

Definition at line 44 of file pci_devs.h.

◆ PCIE_PORT0_DEV

#define PCIE_PORT0_DEV   PCIE_DEV

Definition at line 42 of file pci_devs.h.

◆ PCIE_PORT0_DEVID

#define PCIE_PORT0_DEVID   0x11c3

Definition at line 17 of file pci_devs.h.

◆ PCIE_PORT0_FUNC

#define PCIE_PORT0_FUNC   0

Definition at line 43 of file pci_devs.h.

◆ PCIE_PORT1_BDF

#define PCIE_PORT1_BDF   PCI_DEV(PCI_BUS_NUMBER_QNC, PCIE_DEV, PCIE_PORT1_FUNC)

Definition at line 48 of file pci_devs.h.

◆ PCIE_PORT1_DEV

#define PCIE_PORT1_DEV   PCIE_DEV

Definition at line 46 of file pci_devs.h.

◆ PCIE_PORT1_DEVID

#define PCIE_PORT1_DEVID   0x11c4

Definition at line 18 of file pci_devs.h.

◆ PCIE_PORT1_FUNC

#define PCIE_PORT1_FUNC   1

Definition at line 47 of file pci_devs.h.

◆ SD_MMC_DEV

#define SD_MMC_DEV   SIO1_DEV

Definition at line 22 of file pci_devs.h.

◆ SD_MMC_FUNC

#define SD_MMC_FUNC   0

Definition at line 25 of file pci_devs.h.

◆ SIO1_DEV

#define SIO1_DEV   0x14

Definition at line 21 of file pci_devs.h.

◆ SIO2_DEV

#define SIO2_DEV   0x15

Definition at line 35 of file pci_devs.h.

◆ USB_DEV_PORT_FUNC

#define USB_DEV_PORT_FUNC   2

Definition at line 27 of file pci_devs.h.