1libnvme(9) API Manual libnvme(9)
2
3
4
6 enum nvme_register_offsets - controller registers for all transports.
7 This is the layout of BAR0/1 for PCIe, and properties for fabrics.
8
10 enum nvme_register_offsets {
11 NVME_REG_CAP ,
12 NVME_REG_VS ,
13 NVME_REG_INTMS ,
14 NVME_REG_INTMC ,
15 NVME_REG_CC ,
16 NVME_REG_CSTS ,
17 NVME_REG_NSSR ,
18 NVME_REG_AQA ,
19 NVME_REG_ASQ ,
20 NVME_REG_ACQ ,
21 NVME_REG_CMBLOC ,
22 NVME_REG_CMBSZ ,
23 NVME_REG_BPINFO ,
24 NVME_REG_BPRSEL ,
25 NVME_REG_BPMBL ,
26 NVME_REG_CMBMSC ,
27 NVME_REG_CMBSTS ,
28 NVME_REG_PMRCAP ,
29 NVME_REG_PMRCTL ,
30 NVME_REG_PMRSTS ,
31 NVME_REG_PMREBS ,
32 NVME_REG_PMRSWTP ,
33 NVME_REG_PMRMSCL ,
34 NVME_REG_PMRMSCU
35
36 };
37
39 NVME_REG_CAP
40 Controller Capabilities
41
42 NVME_REG_VS Version
43
44 NVME_REG_INTMS
45 Interrupt Mask Set
46
47 NVME_REG_INTMC
48 Interrupt Mask Clear
49
50 NVME_REG_CC Controller Configuration
51
52 NVME_REG_CSTS
53 Controller Status
54
55 NVME_REG_NSSR
56 NVM Subsystem Reset
57
58 NVME_REG_AQA
59 Admin Queue Attributes
60
61 NVME_REG_ASQ
62 Admin SQ Base Address
63
64 NVME_REG_ACQ
65 Admin CQ Base Address
66
67 NVME_REG_CMBLOC
68 Controller Memory Buffer Location
69
70 NVME_REG_CMBSZ
71 Controller Memory Buffer Size
72
73 NVME_REG_BPINFO
74 Boot Partition Information
75
76 NVME_REG_BPRSEL
77 Boot Partition Read Select
78
79 NVME_REG_BPMBL
80 Boot Partition Memory Buffer Location
81
82 NVME_REG_CMBMSC
83 Controller Memory Buffer Memory Space Control
84
85 NVME_REG_CMBSTS
86 Controller Memory Buffer Status
87
88 NVME_REG_PMRCAP
89 Persistent Memory Capabilities
90
91 NVME_REG_PMRCTL
92 Persistent Memory Region Control
93
94 NVME_REG_PMRSTS
95 Persistent Memory Region Status
96
97 NVME_REG_PMREBS
98 Persistent Memory Region Elasticity Buffer Size
99
100 NVME_REG_PMRSWTP
101 Memory Region Sustained Write Throughput
102
103 NVME_REG_PMRMSCL
104 Persistent Memory Region Controller Memory Space Control
105 Lower
106
107 NVME_REG_PMRMSCU
108 Persistent Memory Region Controller Memory Space Control
109 Upper
110
111
112
113April 2022 enum nvme_register_offsets libnvme(9)