struct PciExpressCapabilitiesReg

Defined at line 21 of file ../../src/devices/pci/lib/cpp/capabilities/pci_express.h

Section 7.5.3.2: PCI Express Capabilities Register (Offset +0x02)

Public Members

 field_capability_version_22
 field_device_port_type_23
 field_slot_implemented_24
 field_interrupt_message_number_25
 field_flit_mode_supported_26

Public Methods

template <, >
typename SelfType::ValueType capability_version ()

NOLINTEND(misc-non-private-member-variables-in-classes)

Defined at line 22 of file ../../src/devices/pci/lib/cpp/capabilities/pci_express.h

template <, >
SelfType & set_capability_version (typename SelfType::ValueType val)

Defined at line 22 of file ../../src/devices/pci/lib/cpp/capabilities/pci_express.h

template <, >
typename SelfType::ValueType device_port_type ()

NOLINTEND(misc-non-private-member-variables-in-classes)

Defined at line 23 of file ../../src/devices/pci/lib/cpp/capabilities/pci_express.h

template <, >
SelfType & set_device_port_type (typename SelfType::ValueType val)

Defined at line 23 of file ../../src/devices/pci/lib/cpp/capabilities/pci_express.h

template <, >
SelfType & set_slot_implemented (typename SelfType::ValueType val)

Defined at line 24 of file ../../src/devices/pci/lib/cpp/capabilities/pci_express.h

template <, >
typename SelfType::ValueType slot_implemented ()

NOLINTEND(misc-non-private-member-variables-in-classes)

Defined at line 24 of file ../../src/devices/pci/lib/cpp/capabilities/pci_express.h

template <, >
typename SelfType::ValueType interrupt_message_number ()

NOLINTEND(misc-non-private-member-variables-in-classes)

Defined at line 25 of file ../../src/devices/pci/lib/cpp/capabilities/pci_express.h

template <, >
SelfType & set_interrupt_message_number (typename SelfType::ValueType val)

Defined at line 25 of file ../../src/devices/pci/lib/cpp/capabilities/pci_express.h

template <, >
typename SelfType::ValueType flit_mode_supported ()

NOLINTEND(misc-non-private-member-variables-in-classes)

Defined at line 26 of file ../../src/devices/pci/lib/cpp/capabilities/pci_express.h

template <, >
SelfType & set_flit_mode_supported (typename SelfType::ValueType val)

Defined at line 26 of file ../../src/devices/pci/lib/cpp/capabilities/pci_express.h

Enumerations

enum DevicePortType : uint8_t
Name Value
kEndpoint 0b0000
kLegacyEndpoint 0b0001
kRootPort 0b0100
kSwitchUpstreamPort 0b0101
kSwitchDownstreamPort 0b0110
kPciExpressToPciBridge 0b0111
kPciToPciExpressBridge 0b1000
kRootComplexIntegratedEndpoint 0b1001
kRootComplexEventCollector 0b1010

Defined at line 28 of file ../../src/devices/pci/lib/cpp/capabilities/pci_express.h

Records