Modules§
Macros§
- BarResult
Unknown - Pattern that matches an unknown
BarResultmember. - Capability
IdUnknown - Pattern that matches an unknown
CapabilityIdmember. - Config
Unknown - Pattern that matches an unknown
Configmember. - Extended
Capability IdUnknown - Pattern that matches an unknown
ExtendedCapabilityIdmember. - Header
Type Unknown - Pattern that matches an unknown
HeaderTypemember.
Structs§
- Address
- An address of a PCI device.
- Bar
- Describes and provides access to a given Base Address Register for the device.
- Base
Address - Bdf
- Bus/device/function address used by the PCI root protocols.
- Board
Configuration - Capability
- Command
- Debug
Control Handle - Debug
Event Stream - Debug
GetDevices Responder - Debug
GetDevices Response - Debug
GetHost Bridge Info Responder - Debug
GetHost Bridge Info Response - Debug
Marker - Debug
Proxy - Debug
Read BarRequest - Debug
Read BarResponder - Debug
Read BarResponse - Debug
Request Stream - A Stream of incoming requests for fuchsia.hardware.pci/Debug.
- Debug
Service Marker - Debug
Service Proxy - Debug
Synchronous Proxy - Device
AckInterrupt Responder - Device
Control Handle - Device
Event Stream - Device
GetBar Request - Device
GetBar Responder - Device
GetBar Response - Device
GetBti Request - Device
GetBti Responder - Device
GetBti Response - Device
GetCapabilities Request - Device
GetCapabilities Responder - Device
GetCapabilities Response - Device
GetDevice Info Responder - Device
GetDevice Info Response - Device
GetExtended Capabilities Request - Device
GetExtended Capabilities Responder - Device
GetExtended Capabilities Response - Device
GetInterrupt Modes Responder - Device
GetInterrupt Modes Response - Device
Info - Device specific information from a device’s configuration header. PCI Local Bus Specification v3, chapter 6.1.
- Device
MapInterrupt Request - Device
MapInterrupt Responder - Device
MapInterrupt Response - Device
Marker - Device
Proxy - Device
Read Config8 Request - Device
Read Config8 Responder - Device
Read Config8 Response - Device
Read Config16 Request - Device
Read Config16 Responder - Device
Read Config16 Response - Device
Read Config32 Request - Device
Read Config32 Responder - Device
Read Config32 Response - Device
Request Stream - A Stream of incoming requests for fuchsia.hardware.pci/Device.
- Device
Reset Device Responder - Device
SetBus Mastering Request - Device
SetBus Mastering Responder - Device
SetInterrupt Mode Request - Device
SetInterrupt Mode Responder - Device
Synchronous Proxy - Device
Write Config8 Request - Device
Write Config8 Responder - Device
Write Config16 Request - Device
Write Config16 Responder - Device
Write Config32 Request - Device
Write Config32 Responder - Extended
Capability - Host
Bridge Info - Interrupt
Modes - Returned by |GetInterruptModes|. Contains the number of interrupts supported by a given PCI device interrupt mode. 0 is returned for a mode if unsupported.
- IoBar
- Padding
- PciDevice
- Service
Marker - Service
Proxy - Status
- UseIntx
Workaround Type
Enums§
- BarResult
- Capability
Id - PCI Capability ID. PCI Local Bus Specification v3, appendex H.
- Config
- PCI Configuration Header registers. PCI Local Bus Specification v3, chapter 6.1.
- Debug
Event - Debug
Request - The Debug protocol provides information about devices on a particular bus. It is used for tools like lspci and not for driver operations.
- Debug
Service Request - A request for one of the member protocols of DebugService.
- Device
Event - Device
Request - Extended
Capability Id - PCI Extended Capability IDs. PCIe Base Specification rev4, chapter 7.6.
- Header
Type - Interrupt
Mode - Used with ||SetInterruptMode| to configure an interrupt mode for the device. Devices configured to use the LEGACY Irq mode must ack their interrupt after servicing by calling |AckInterrupt|.
- Service
Request - A request for one of the member protocols of Service.
Constants§
- BASE_
ADDRESS_ COUNT - BASE_
CONFIG_ SIZE - Per the PCI specification.
- EXTENDED_
CONFIG_ SIZE - LEGACY_
INTERRUPT_ COUNT - Legacy interrupt pins INTA through INTD.
- MAX_
BAR_ COUNT - MAX_
CAPABILITIES - MAX_
DEVICES - At the time of writing, a Device is 571 bytes.
- MAX_
EXT_ CAPABILITIES - MAX_
NAME_ LEN - READBAR_
MAX_ SIZE - STATUS_
DEVSEL_ MASK
Traits§
Type Aliases§
- Config
Offset - An offset from the beginning of a device’s PCI configuration space. [0, 0x100) is valid.
- Debug
Read BarResult - Device
AckInterrupt Result - Device
GetBar Result - Device
GetBti Result - Device
MapInterrupt Result - Device
Read Config8 Result - Device
Read Config16 Result - Device
Read Config32 Result - Device
Reset Device Result - Device
SetBus Mastering Result - Device
SetInterrupt Mode Result - Device
Write Config8 Result - Device
Write Config16 Result - Device
Write Config32 Result - Extended
Config Offset - An offset from the beginning of a device’s PCIe configuration space. [0, 0x800) is valid.