Expand description
Support for Peripheral Component Interconnect (PCI) and PCI Express (PCIe
) devices.
Modules§
Structs§
- Capability
Entry - Information to identify and locate capability registers
Constants§
- INVALID_
VENDOR - Placeholder value that will always be returned in the vendor field when querying PCI configuration space for a device that does not exist.
- MAX_
DEVICE - Highest device number allowed by the PCI specification.
- MAX_
FUNCTION - Highest function number allowed by the PCI specification.
Functions§
- check_
valid - Return true if a function is available at the specified selector.
- enumerate_
bus - Iterate over the devices and functions present on the specified bus.
- enumerate_
bus_ devices - Iterate over the devices present on the specified bus.
- enumerate_
device_ functions - Iterate over the functions available on the specified device.
- iter_
capabilities - Iterate over all capabilities defined in the configuration space for a PCI function