11#ifndef PCIEXPRESS60_H_
12#define PCIEXPRESS60_H_
20#define PCI_EXPRESS_EXTENDED_CAPABILITY_PHYSICAL_LAYER_64_0_ID 0x0031
21#define PCI_EXPRESS_EXTENDED_CAPABILITY_PHYSICAL_LAYER_64_0_VER1 0x1
24#define PCI_EXPRESS_REG_PHYSICAL_LAYER_64_0_CAPABILITIES_OFFSET 0x04
25#define PCI_EXPRESS_REG_PHYSICAL_LAYER_64_0_CONTROL_OFFSET 0x08
26#define PCI_EXPRESS_REG_PHYSICAL_LAYER_64_0_STATUS_OFFSET 0x0C
27#define PCI_EXPRESS_REG_PHYSICAL_LAYER_64_0_LANE_EQUALIZATION_CONTROL_OFFSET 0x10
29#define PCI_EXPRESS_EXTENDED_CAPABILITY_DEVICE3_ID 0x002F
30#define PCI_EXPRESS_EXTENDED_CAPABILITY_DEVICE3_VER1 0x1
32#define EFI_PCIE_CAPABILITY_DEVICE_CAPABILITIES_3_OFFSET 0x04
33#define EFI_PCIE_CAPABILITY_DEVICE_CONTROL_3_OFFSET 0x08
34#define EFI_PCIE_CAPABILITY_DEVICE_STATUS_3_OFFSET 0x0C
54 UINT32 EqualizationComplete : 1;
55 UINT32 EqualizationPhase1Success : 1;
56 UINT32 EqualizationPhase2Success : 1;
57 UINT32 EqualizationPhase3Success : 1;
58 UINT32 LinkEqualizationRequest : 1;
59 UINT32 TransmitterPrecodingOn : 1;
60 UINT32 TransmitterPrecodeRequest : 1;
61 UINT32 NoEqualizationNeededRcvd : 1;
69 UINT8 DownstreamPortTransmitterPreset : 4;
70 UINT8 UpstreamPortTransmitterPreset : 4;
86 UINT32 DmwrRequestRouting : 1;
87 UINT32 FourteenBitTagCompleter : 1;
88 UINT32 FourteenBitTagRequester : 1;
89 UINT32 ReceiverL0p : 1;
90 UINT32 PortL0pExitLatencyLatency : 3;
91 UINT32 RetimerL0pExit : 3;
99 UINT32 DmwrRequesterEnable : 1;
100 UINT32 DmwrEgressBlocking : 1;
101 UINT32 FourteenBitTagRequesterEnable : 1;
102 UINT32 L0pEnable : 1;
103 UINT32 TargetLinkWidth : 3;
104 UINT32 Reserved : 25;
111 UINT32 InitialLinkWidth : 3;
112 UINT32 SegmentCaptured : 1;
113 UINT32 RemoteL0pSupported : 1;
114 UINT32 Reserved : 27;