iPXE
Data Fields
pci_device Struct Reference

A PCI device. More...

#include <pci.h>

Data Fields

struct device dev
 Generic device.
unsigned long membase
 Memory base.
unsigned long ioaddr
 I/O address.
uint16_t vendor
 Vendor ID.
uint16_t device
 Device ID.
uint32_t class
 Device class.
uint8_t irq
 Interrupt number.
uint32_t busdevfn
 Segment, bus, device, and function (bus:dev.fn) number.
struct pci_driverdriver
 Driver for this device.
void * priv
 Driver-private data.
struct pci_device_idid
 Driver device ID.

Detailed Description

A PCI device.

Definition at line 176 of file pci.h.


Field Documentation

unsigned long pci_device::membase
unsigned long pci_device::ioaddr

Device class.

Definition at line 195 of file pci.h.

Referenced by efipci_supported(), ehci_companion(), pci_find_driver(), pci_read_config(), and pcibus_probe().

Driver for this device.

Definition at line 201 of file pci.h.

Referenced by pci_probe(), pci_remove(), and pci_set_driver().

Driver-private data.

Use pci_set_drvdata() and pci_get_drvdata() to access this field.

Definition at line 207 of file pci.h.

Referenced by pci_get_drvdata(), and pci_set_drvdata().


The documentation for this struct was generated from the following file: