coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
pcie.c File Reference
#include <console/console.h>
#include <device/device.h>
#include <device/pci.h>
#include <device/pci_def.h>
#include <device/pci_ops.h>
#include <device/pciexp.h>
#include <device/pci_ids.h>
#include <southbridge/intel/common/pciehp.h>
#include "chip.h"
Include dependency graph for pcie.c:

Go to the source code of this file.

Functions

static void pci_init (struct device *dev)
 
static void pch_pciexp_scan_bridge (struct device *dev)
 

Variables

static struct device_operations device_ops
 
static const unsigned short pci_device_ids []
 
static const struct pci_driver ich9_pcie __pci_driver
 

Function Documentation

◆ pch_pciexp_scan_bridge()

static void pch_pciexp_scan_bridge ( struct device dev)
static

Definition at line 62 of file pcie.c.

◆ pci_init()

Variable Documentation

◆ __pci_driver

const struct pci_driver ich9_pcie __pci_driver
static
Initial value:
= {
.ops = &device_ops,
.vendor = PCI_VID_INTEL,
.devices = pci_device_ids,
}
#define PCI_VID_INTEL
Definition: pci_ids.h:2157
static struct device_operations device_ops
Definition: pcie.c:74
static const unsigned short pci_device_ids[]
Definition: pcie.c:84

Definition at line 84 of file pcie.c.

◆ device_ops

struct device_operations device_ops
static
Initial value:
= {
.read_resources = pci_bus_read_resources,
.set_resources = pci_dev_set_resources,
.enable_resources = pci_bus_enable_resources,
.init = pci_init,
.ops_pci = &pci_dev_ops_pci,
}
void pci_bus_enable_resources(struct device *dev)
Definition: pci_device.c:758
void pci_bus_read_resources(struct device *dev)
Definition: pci_device.c:540
struct pci_operations pci_dev_ops_pci
Default device operation for PCI devices.
Definition: pci_device.c:911
void pci_dev_set_resources(struct device *dev)
Definition: pci_device.c:691
static void pci_init(struct device *dev)
Definition: pcie.c:13
static void pch_pciexp_scan_bridge(struct device *dev)
Definition: pcie.c:62

Definition at line 62 of file pcie.c.

◆ pci_device_ids

const unsigned short pci_device_ids[]
static
Initial value:
= {
0
}
#define PCI_DID_INTEL_82801IB_PCIE6
Definition: pci_ids.h:2653
#define PCI_DID_INTEL_82801IB_PCIE2
Definition: pci_ids.h:2649
#define PCI_DID_INTEL_82801IB_PCIE3
Definition: pci_ids.h:2650
#define PCI_DID_INTEL_82801IB_PCIE4
Definition: pci_ids.h:2651
#define PCI_DID_INTEL_82801IB_PCIE5
Definition: pci_ids.h:2652
#define PCI_DID_INTEL_82801IB_PCIE1
Definition: pci_ids.h:2648

Definition at line 84 of file pcie.c.