TianoCore EDK2 master
Loading...
Searching...
No Matches
PciExpress31.h
Go to the documentation of this file.
1
11#ifndef _PCIEXPRESS31_H_
12#define _PCIEXPRESS31_H_
13
15
16#pragma pack(1)
17
18#define PCI_EXPRESS_EXTENDED_CAPABILITY_L1_PM_SUBSTATES_ID 0x001E
19#define PCI_EXPRESS_EXTENDED_CAPABILITY_L1_PM_SUBSTATES_VER1 0x1
20
21typedef union {
22 struct {
23 UINT32 PciPmL12 : 1;
24 UINT32 PciPmL11 : 1;
25 UINT32 AspmL12 : 1;
26 UINT32 AspmL11 : 1;
27 UINT32 L1PmSubstates : 1;
28 UINT32 Reserved : 3;
29 UINT32 CommonModeRestoreTime : 8;
30 UINT32 TPowerOnScale : 2;
31 UINT32 Reserved2 : 1;
32 UINT32 TPowerOnValue : 5;
33 UINT32 Reserved3 : 8;
34 } Bits;
35 UINT32 Uint32;
37
38typedef union {
39 struct {
40 UINT32 PciPmL12 : 1;
41 UINT32 PciPmL11 : 1;
42 UINT32 AspmL12 : 1;
43 UINT32 AspmL11 : 1;
44 UINT32 Reserved : 4;
45 UINT32 CommonModeRestoreTime : 8;
46 UINT32 LtrL12ThresholdValue : 10;
47 UINT32 Reserved2 : 3;
48 UINT32 LtrL12ThresholdScale : 3;
49 } Bits;
50 UINT32 Uint32;
52
53typedef union {
54 struct {
55 UINT32 TPowerOnScale : 2;
56 UINT32 Reserved : 1;
57 UINT32 TPowerOnValue : 5;
58 UINT32 Reserved2 : 24;
59 } Bits;
60 UINT32 Uint32;
62
63typedef struct {
69
70#pragma pack()
71
72#endif