12#ifndef _PCIEXPRESS40_H_
13#define _PCIEXPRESS40_H_
23#define PCI_EXPRESS_EXTENDED_CAPABILITY_PHYSICAL_LAYER_16_0_ID 0x0026
24#define PCI_EXPRESS_EXTENDED_CAPABILITY_PHYSICAL_LAYER_16_0_VER1 0x1
27#define PCI_EXPRESS_REG_PHYSICAL_LAYER_16_0_CAPABILITIES_OFFSET 0x04
28#define PCI_EXPRESS_REG_PHYSICAL_LAYER_16_0_CONTROL_OFFSET 0x08
29#define PCI_EXPRESS_REG_PHYSICAL_LAYER_16_0_STATUS_OFFSET 0x0C
30#define PCI_EXPRESS_REG_PHYSICAL_LAYER_16_0_LOCAL_DATA_PARITY_STATUS_OFFSET 0x10
31#define PCI_EXPRESS_REG_PHYSICAL_LAYER_16_0_FIRST_RETIMER_DATA_PARITY_STATUS_OFFSET 0x14
32#define PCI_EXPRESS_REG_PHYSICAL_LAYER_16_0_SECOND_RETIMER_DATA_PARITY_STATUS_OFFSET 0x18
33#define PCI_EXPRESS_REG_PHYSICAL_LAYER_16_0_LANE_EQUALIZATION_CONTROL_OFFSET 0x20
51 UINT32 EqualizationComplete : 1;
52 UINT32 EqualizationPhase1Success : 1;
53 UINT32 EqualizationPhase2Success : 1;
54 UINT32 EqualizationPhase3Success : 1;
55 UINT32 LinkEqualizationRequest : 1;
63 UINT8 DownstreamPortTransmitterPreset : 4;
64 UINT8 UpstreamPortTransmitterPreset : 4;
74 UINT32 LocalDataParityMismatchStatus;
75 UINT32 FirstRetimerDataParityMismatchStatus;
76 UINT32 SecondRetimerDataParityMismatchStatus;
85#define PCI_EXPRESS_EXTENDED_CAPABILITY_DESIGNATED_VENDOR_SPECIFIC_ID 0x0023
89 UINT32 DvsecVendorId : 16;
90 UINT32 DvsecRevision : 4;
91 UINT32 DvsecLength : 12;
107 UINT8 DesignatedVendorSpecific[1];