Skip to main content

Crate fidl_next_fuchsia_hardware_pci

Crate fidl_next_fuchsia_hardware_pci 

Source

Re-exports§

pub use self::natural::*;

Modules§

bus
device
generic
natural
wire
wire_optional

Structs§

Address
An address of a PCI device.
BaseAddress
BoardConfiguration
Bus
The type corresponding to the Bus protocol. The Bus protocol provides information about PCI device children on the PCI providing the service.
BusGetDevicesResponse
BusGetHostBridgeInfoResponse
BusReadBarRequest
BusReadBarResponse
Capability
Command
Device
The type corresponding to the Device protocol.
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.
PciDevice
Service
The type corresponding to the Service service.
ServiceConnector
A strongly-typed service connector for the Service service.
Status

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

Traits§

BusClientHandler
A client handler for the Bus protocol.
BusLocalClientHandler
A client handler for the Bus protocol.
BusLocalServerHandler
A server handler for the Bus protocol.
BusServerHandler
A server handler for the Bus protocol.
DeviceClientHandler
A client handler for the Device protocol.
DeviceLocalClientHandler
A client handler for the Device protocol.
DeviceLocalServerHandler
A server handler for the Device protocol.
DeviceServerHandler
A server handler for the Device protocol.
ServiceHandler
A service handler for the Service service.

Type Aliases§

ConfigOffset
An offset from the beginning of a device’s PCI configuration space. [0, 0x100) is valid.
DeviceAckInterruptResponse
DeviceResetDeviceResponse
DeviceSetBusMasteringResponse
DeviceSetInterruptModeResponse
DeviceWriteConfig8Response
DeviceWriteConfig16Response
DeviceWriteConfig32Response
ExtendedConfigOffset
An offset from the beginning of a device’s PCIe configuration space. [0, 0x800) is valid.
Padding
UseIntxWorkaroundType