#include <IOKit/pci/IOPCIDevice.h>

IOKit/pci/IOPCIDevice.h Kernel.framework

11 macros · 10 enums · 3 typedefs · 2 structs · 1 union

macroTARGET_OS_HAS_PCIDRIVERKIT_IOPCIDEVICE

#define TARGET_OS_HAS_PCIDRIVERKIT_IOPCIDEVICE __has_include(<PCIDriverKit/IOPCIDevice.h>)

enum(anonymous)

Definitions of PCI Config Registers
underlying type unsigned int
kIOPCIConfigVendorID0
kIOPCIConfigDeviceID2
kIOPCIConfigCommand4
kIOPCIConfigStatus6
kIOPCIConfigRevisionID8
kIOPCIConfigClassCode9
kIOPCIConfigCacheLineSize12
kIOPCIConfigLatencyTimer13
kIOPCIConfigHeaderType14
kIOPCIConfigBIST15
kIOPCIConfigBaseAddress016
kIOPCIConfigBaseAddress120
kIOPCIConfigBaseAddress224
kIOPCIConfigBaseAddress328
kIOPCIConfigBaseAddress432
kIOPCIConfigBaseAddress536
kIOPCIConfigCardBusCISPtr40
kIOPCIConfigSubSystemVendorID44
kIOPCIConfigSubSystemID46
kIOPCIConfigExpansionROMBase48
kIOPCIConfigCapabilitiesPtr52
kIOPCIConfigInterruptLine60
kIOPCIConfigInterruptPin61
kIOPCIConfigMinimumGrant62
kIOPCIConfigMaximumLatency63

enum(anonymous)

Definitions of Capabilities PCI Config Register
underlying type unsigned int
kIOPCIPowerManagementCapability1
kIOPCIAGPCapability2
kIOPCIVitalProductDataCapability3
kIOPCISlotIDCapability4
kIOPCIMSICapability5
kIOPCICPCIHotswapCapability6
kIOPCIPCIXCapability7
kIOPCILDTCapability8
kIOPCIVendorSpecificCapability9
kIOPCIDebugPortCapability10
kIOPCICPCIResourceControlCapability11
kIOPCIHotplugCapability12
kIOPCIAGP8Capability14
kIOPCISecureCapability15
kIOPCIPCIExpressCapability16
kIOPCIMSIXCapability17
kIOPCIFPBCapability21
kIOPCIExpressErrorReportingCapability4294967295
kIOPCIExpressVirtualChannelCapability4294967294
kIOPCIExpressDeviceSerialNumberCapability4294967293
kIOPCIExpressPowerBudgetCapability4294967292
kIOPCIExpressAccessControlServicesCapability4294967283
kIOPCIExpressLatencyTolerenceReportingCapability4294967272
kIOPCIExpressL1PMSubstatesCapability4294967266

enum(anonymous)

Space definitions
underlying type unsigned int
kIOPCIConfigSpace0
kIOPCIIOSpace1
kIOPCI32BitMemorySpace2
kIOPCI64BitMemorySpace3

enum(anonymous)

underlying type unsigned int
kPCI2PCIPrimaryBus24
kPCI2PCISecondaryBus25
kPCI2PCISubordinateBus26
kPCI2PCISecondaryLT27
kPCI2PCIIORange28
kPCI2PCIMemoryRange32
kPCI2PCIPrefetchMemoryRange36
kPCI2PCIPrefetchUpperBase40
kPCI2PCIPrefetchUpperLimit44
kPCI2PCIUpperIORange48
kPCI2PCIBridgeControl62

macroIOPCIPMCSPMEDISABLEINS3_DEFINED

#define IOPCIPMCSPMEDISABLEINS3_DEFINED 1

macroIOPCIPMCSPMEWAKEREASON_DEFINED

#define IOPCIPMCSPMEWAKEREASON_DEFINED 1

unionIOPCIAddressSpace

size 4, align 4
UInt32bits
unnamed struct at Kernel/IOKit/pci/IOPCIDevice.h:121:5s
unsigned int:8registerNum
unsigned int:3functionNum
unsigned int:5deviceNum
unsigned int:8busNum
unsigned int:2space
unsigned int:3resv
unsigned int:1t
unsigned int:1prefetch
unsigned int:1reloc
unnamed struct at Kernel/IOKit/pci/IOPCIDevice.h:144:5es
unsigned int:8registerNum
unsigned int:3functionNum
unsigned int:5deviceNum
unsigned int:8busNum
unsigned int:4registerNumExtended
unsigned int:4resv

typedefIOPCIAddressSpace

typedef union IOPCIAddressSpace IOPCIAddressSpace

structIOPCIPhysicalAddress

size 20, align 4
IOPCIAddressSpacephysHi
UInt32physLo
UInt32physMid
UInt32lengthLo
UInt32lengthHi

macrokIOPlatformDeviceASPMEnableKey

#define kIOPlatformDeviceASPMEnableKey "IOPlatformDeviceASPMEnable"

macrokIOPCIDeviceASPMSupportedKey

#define kIOPCIDeviceASPMSupportedKey "pci-aspm-supported"

macrokIOPCIPMEOptionsKey

#define kIOPCIPMEOptionsKey "IOPCIPMEOptions"

macrokIOPCITunnelIDKey

#define kIOPCITunnelIDKey "IOPCITunnelID"

macrokIOPCITunnelControllerIDKey

#define kIOPCITunnelControllerIDKey "IOPCITunnelControllerID"

macrokIOPCIBridgeInterruptESKey

#define kIOPCIBridgeInterruptESKey "IOPCIBridgeInterruptES"

macrokIOPCIDeviceDeviceTreeEntryKey

#define kIOPCIDeviceDeviceTreeEntryKey "IOPCIDeviceDeviceTreeEntry"

enum(anonymous)

underlying type unsigned int
kIOPCIDevicePowerStateCount4
kIOPCIDeviceOffState0
kIOPCIDeviceDozeState1
kIOPCIDeviceOnState2
kIOPCIDevicePausedState3

enum(anonymous)

setLatencyTolerance options
underlying type unsigned int
kIOPCILatencySnooped1
kIOPCILatencyUnsnooped2

enum(anonymous)

underlying type unsigned int
kIOPCIProbeOptionDone2147483648
kIOPCIProbeOptionEject1048576
kIOPCIProbeOptionNeedsScan2097152

enum(anonymous)

saveDeviceState options
underlying type unsigned int
kIOPCIConfigShadowPermanent2147483648

enum(anonymous)

IOPCIEvent.event
underlying type unsigned int
kIOPCIEventCorrectableError1
kIOPCIEventNonFatalError2
kIOPCIEventFatalError3
kIOPCIEventLinkEnableChange4
kIOPCIEventIOMMUError5

structIOPCIEvent

size 32, align 8
IOPCIDevice *reporter
uint32_tevent
uint32_t[5]data

enumIOPCIResetType

underlying type unsigned int
kIOPCIResetNone0
kIOPCIResetHot1

macroIOPCIEventAction

#define IOPCIEventAction IOPCIEventSource::Action

typedefIOPCIDeviceConfigHandler

typedef IOReturn (*)(void *, IOMessage, IOPCIDevice *, uint32_t) IOPCIDeviceConfigHandler;

typedefIOPCIDeviceCrashNotification_t

typedef IOPCIResetType (* IOPCIDeviceCrashNotification_t)(void *clientObject, IOPCIDevice *device)