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

Go to the source code of this file.

Functions

static void disable_aspm (struct device *const dev)
 

Variables

static struct device_operations asmedia_noaspm_ops
 
static const unsigned short pci_device_ids []
 
static const struct pci_driver asmedia_noaspm __pci_driver
 

Function Documentation

◆ disable_aspm()

static void disable_aspm ( struct device *const  dev)
static

Definition at line 7 of file aspm_blacklist.c.

Variable Documentation

◆ __pci_driver

const struct pci_driver asmedia_noaspm __pci_driver
static
Initial value:
= {
.vendor = 0x1b21,
.devices = pci_device_ids,
}
static struct device_operations asmedia_noaspm_ops
static const unsigned short pci_device_ids[]

Definition at line 21 of file aspm_blacklist.c.

◆ asmedia_noaspm_ops

struct device_operations asmedia_noaspm_ops
static
Initial value:
= {
.read_resources = pci_dev_read_resources,
.set_resources = pci_dev_set_resources,
.enable_resources = pci_dev_enable_resources,
.enable = disable_aspm,
}
static void disable_aspm(struct device *const dev)
Definition: aspm_blacklist.c:7
void pci_dev_enable_resources(struct device *dev)
Definition: pci_device.c:721
void pci_dev_read_resources(struct device *dev)
Definition: pci_device.c:534
void pci_dev_set_resources(struct device *dev)
Definition: pci_device.c:691

Definition at line 7 of file aspm_blacklist.c.

◆ pci_device_ids

const unsigned short pci_device_ids[]
static
Initial value:
= {
0x0611,
0
}

Definition at line 21 of file aspm_blacklist.c.