The Pedigree Project 0.1
Public Member Functions | Public Attributes | List of all members
PciExpress::State Struct Reference
+ Collaboration diagram for PciExpress::State:

Public Member Functions

bool supportsFlr () const
 
uint8_t linkSpeed () const
 
uint8_t linkWidth () const
 
bool linkTraining () const
 

Public Attributes

uint8_t offset = 0
 
uint8_t version = 0
 
Type type = Type::Endpoint
 
uint8_t interruptMessage = 0
 
uint32_t deviceCapabilities = 0
 
uint16_t deviceControl = 0
 
uint16_t deviceStatus = 0
 
uint32_t linkCapabilities = 0
 
uint16_t linkControl = 0
 
uint16_t linkStatus = 0
 
uint32_t slotCapabilities = 0
 
uint16_t slotControl = 0
 
uint16_t slotStatus = 0
 
bool hasLink = false
 
bool slotImplemented = false
 

Detailed Description

Definition at line 25 of file PciExpress.h.

Member Function Documentation

◆ linkSpeed()

uint8_t PciExpress::State::linkSpeed ( ) const
inline

Definition at line 47 of file PciExpress.h.

◆ linkTraining()

bool PciExpress::State::linkTraining ( ) const
inline

Definition at line 53 of file PciExpress.h.

◆ linkWidth()

uint8_t PciExpress::State::linkWidth ( ) const
inline

Definition at line 50 of file PciExpress.h.

◆ supportsFlr()

bool PciExpress::State::supportsFlr ( ) const
inline

Definition at line 42 of file PciExpress.h.

Member Data Documentation

◆ deviceCapabilities

uint32_t PciExpress::State::deviceCapabilities = 0

Definition at line 30 of file PciExpress.h.

◆ deviceControl

uint16_t PciExpress::State::deviceControl = 0

Definition at line 31 of file PciExpress.h.

◆ deviceStatus

uint16_t PciExpress::State::deviceStatus = 0

Definition at line 32 of file PciExpress.h.

◆ hasLink

bool PciExpress::State::hasLink = false

Definition at line 39 of file PciExpress.h.

◆ interruptMessage

uint8_t PciExpress::State::interruptMessage = 0

Definition at line 29 of file PciExpress.h.

◆ linkCapabilities

uint32_t PciExpress::State::linkCapabilities = 0

Definition at line 33 of file PciExpress.h.

◆ linkControl

uint16_t PciExpress::State::linkControl = 0

Definition at line 34 of file PciExpress.h.

◆ linkStatus

uint16_t PciExpress::State::linkStatus = 0

Definition at line 35 of file PciExpress.h.

◆ offset

uint8_t PciExpress::State::offset = 0

Definition at line 26 of file PciExpress.h.

◆ slotCapabilities

uint32_t PciExpress::State::slotCapabilities = 0

Definition at line 36 of file PciExpress.h.

◆ slotControl

uint16_t PciExpress::State::slotControl = 0

Definition at line 37 of file PciExpress.h.

◆ slotImplemented

bool PciExpress::State::slotImplemented = false

Definition at line 40 of file PciExpress.h.

◆ slotStatus

uint16_t PciExpress::State::slotStatus = 0

Definition at line 38 of file PciExpress.h.

◆ type

Type PciExpress::State::type = Type::Endpoint

Definition at line 28 of file PciExpress.h.

◆ version

uint8_t PciExpress::State::version = 0

Definition at line 27 of file PciExpress.h.


The documentation for this struct was generated from the following file: