TianoCore EDK2 master
Loading...
Searching...
No Matches
PciExpress30.h
Go to the documentation of this file.
1
11#ifndef _PCIEXPRESS30_H_
12#define _PCIEXPRESS30_H_
13
15
16#pragma pack(1)
17
18#define PCI_EXPRESS_EXTENDED_CAPABILITY_SECONDARY_PCIE_ID 0x0019
19#define PCI_EXPRESS_EXTENDED_CAPABILITY_SECONDARY_PCIE_VER1 0x1
20
21typedef union {
22 struct {
23 UINT32 PerformEqualization : 1;
24 UINT32 LinkEqualizationRequestInterruptEnable : 1;
25 UINT32 Reserved : 30;
26 } Bits;
27 UINT32 Uint32;
29
30typedef union {
31 struct {
32 UINT16 DownstreamPortTransmitterPreset : 4;
33 UINT16 DownstreamPortReceiverPresetHint : 3;
34 UINT16 Reserved : 1;
35 UINT16 UpstreamPortTransmitterPreset : 4;
36 UINT16 UpstreamPortReceiverPresetHint : 3;
37 UINT16 Reserved2 : 1;
38 } Bits;
39 UINT16 Uint16;
41
42typedef struct {
45 UINT32 LaneErrorStatus;
46 PCI_EXPRESS_REG_LANE_EQUALIZATION_CONTROL EqualizationControl[2];
48
49#pragma pack()
50
51#endif