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_CRTO ,
29 NVME_REG_PMRCAP ,
30 NVME_REG_PMRCTL ,
31 NVME_REG_PMRSTS ,
32 NVME_REG_PMREBS ,
33 NVME_REG_PMRSWTP ,
34 NVME_REG_PMRMSCL ,
35 NVME_REG_PMRMSCU
36
37 };
38
40 NVME_REG_CAP
41 Controller Capabilities
42
43 NVME_REG_VS Version
44
45 NVME_REG_INTMS
46 Interrupt Mask Set
47
48 NVME_REG_INTMC
49 Interrupt Mask Clear
50
51 NVME_REG_CC Controller Configuration
52
53 NVME_REG_CSTS
54 Controller Status
55
56 NVME_REG_NSSR
57 NVM Subsystem Reset
58
59 NVME_REG_AQA
60 Admin Queue Attributes
61
62 NVME_REG_ASQ
63 Admin SQ Base Address
64
65 NVME_REG_ACQ
66 Admin CQ Base Address
67
68 NVME_REG_CMBLOC
69 Controller Memory Buffer Location
70
71 NVME_REG_CMBSZ
72 Controller Memory Buffer Size
73
74 NVME_REG_BPINFO
75 Boot Partition Information
76
77 NVME_REG_BPRSEL
78 Boot Partition Read Select
79
80 NVME_REG_BPMBL
81 Boot Partition Memory Buffer Location
82
83 NVME_REG_CMBMSC
84 Controller Memory Buffer Memory Space Control
85
86 NVME_REG_CMBSTS
87 Controller Memory Buffer Status
88
89 NVME_REG_CRTO
90 Controller Ready Timeouts
91
92 NVME_REG_PMRCAP
93 Persistent Memory Capabilities
94
95 NVME_REG_PMRCTL
96 Persistent Memory Region Control
97
98 NVME_REG_PMRSTS
99 Persistent Memory Region Status
100
101 NVME_REG_PMREBS
102 Persistent Memory Region Elasticity Buffer Size
103
104 NVME_REG_PMRSWTP
105 Memory Region Sustained Write Throughput
106
107 NVME_REG_PMRMSCL
108 Persistent Memory Region Controller Memory Space Control
109 Lower
110
111 NVME_REG_PMRMSCU
112 Persistent Memory Region Controller Memory Space Control
113 Upper
114
115
116
117October 2023 enum nvme_register_offsets libnvme(9)