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 ich10_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 ich10_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:
= {
0x3a40,
0x3a42,
0x3a44,
0x3a46,
0x3a48,
0x3a4a,
0x3a70,
0x3a72,
0x3a74,
0x3a76,
0x3a78,
0x3a7a,
0
}

Definition at line 84 of file pcie.c.