Crate fidl_fuchsia_hardware_pci_common

Source

Macros§

CapabilityIdUnknown
Pattern that matches an unknown CapabilityId member.
ConfigUnknown
Pattern that matches an unknown Config member.
ExtendedCapabilityIdUnknown
Pattern that matches an unknown ExtendedCapabilityId member.
HeaderTypeUnknown
Pattern that matches an unknown HeaderType member.
InterruptModeUnknown
Pattern that matches an unknown InterruptMode member.

Structs§

Address
An address of a PCI device.
BaseAddress
BoardConfiguration
BusGetDevicesResponse
BusGetHostBridgeInfoResponse
BusReadBarRequest
BusReadBarResponse
Capability
Command
DeviceGetBarRequest
DeviceGetBtiRequest
DeviceGetCapabilitiesRequest
DeviceGetCapabilitiesResponse
DeviceGetDeviceInfoResponse
DeviceGetExtendedCapabilitiesRequest
DeviceGetExtendedCapabilitiesResponse
DeviceGetInterruptModesResponse
DeviceInfo
Device specific information from a device’s configuration header. PCI Local Bus Specification v3, chapter 6.1.
DeviceMapInterruptRequest
DeviceReadConfig8Request
DeviceReadConfig8Response
DeviceReadConfig16Request
DeviceReadConfig16Response
DeviceReadConfig32Request
DeviceReadConfig32Response
DeviceSetBusMasteringRequest
DeviceSetInterruptModeRequest
DeviceWriteConfig8Request
DeviceWriteConfig16Request
DeviceWriteConfig32Request
ExtendedCapability
HostBridgeInfo
InterruptModes
Returned by |GetInterruptModes|. Contains the number of interrupts supported by a given PCI device interrupt mode. 0 is returned for a mode if unsupported.
Padding
PciDevice
Status
UseIntxWorkaroundType

Enums§

CapabilityId
PCI Capability ID. PCI Local Bus Specification v3, appendex H.
Config
PCI Configuration Header registers. PCI Local Bus Specification v3, chapter 6.1.
ExtendedCapabilityId
PCI Extended Capability IDs. PCIe Base Specification rev4, chapter 7.6.
HeaderType
InterruptMode
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|. To avoid this, LEGACY_NOACK can be used, but the driver’s interrupt function will be disabled by the PCI Bus Driver if it sees excessive interrupt triggers in a given period.

Constants§

BASE_ADDRESS_COUNT
BASE_CONFIG_SIZE
EXTENDED_CONFIG_SIZE
MAX_BAR_COUNT
MAX_CAPABILITIES
MAX_DEVICES
MAX_EXT_CAPABILITIES
MAX_NAME_LEN
READBAR_MAX_SIZE
STATUS_DEVSEL_MASK

Type Aliases§

ConfigOffset
An offset from the beginning of a device’s PCI configuration space. [0, 0x100) is valid.
ExtendedConfigOffset
An offset from the beginning of a device’s PCIe configuration space. [0, 0x800) is valid.