kernel::pci - Rust
Skip to main content Module pci kernel Module pci Source Expand description Abstractions for the PCI bus. C header: include/linux/pci.h Structs § Adapter An adapter for the registration of PCI drivers. Bar A PCI BAR to perform I/O-Operations on. Class PCI device class codes. Config Space A view of PCI configuration space of a device. Device The PCI device representation. Device Id Abstraction for the PCI device ID structure ( struct pci_device_id ).
ExtCap Id PCI extended capability IDs. ExtSriov Regs SR-IOV register layout per PCIe spec (64 bytes starting at cap offset). ExtSriov VfBar A decoded VF BAR register encoding. IrqTypes Set of IRQ types that can be used for PCI interrupt allocation. IrqVector A resolved IRQ vector from a PCI interrupt vector allocation. IrqVector Registration An allocation of PCI interrupt vectors for a device. Vendor PCI vendor IDs. Enums § Class Mask PCI class mask constants for matching Class codes.
Config Space Size Represents the size of a PCI configuration space. IrqType IRQ type flags for PCI interrupt allocation. Traits § Driver The PCI driver trait. ExtCapability A typed PCI extended capability register layout. Type Aliases § Devres Bar A device-managed PCI BAR mapping. ExtSriov Capability A typed view of an SR-IOV extended capability. Extended Alias for extended (4096-byte) PCIe configuration space. IdTable IdTable type for PCI.
Normal Alias for normal (256-byte) PCI configuration space.