libnvme(9)
π» libnvme(9) β the enum that maps every controller register, bestie
okay so this is the <pink>libnvme</pink> API manual page, and today's main character is enum nvme_register_offsets β the controller registers for all transports. Like, this is the layout of BAR0/1 for PCIe, and the properties for fabrics. One enum to rule them all, no cap. π
β¨ NAME β¨
enum nvme_register_offsets β controller registers for all transports. This is the layout of BAR0/1 for PCIe, and properties for fabrics.
π¦ SYNOPSIS π¦
enum nvme_register_offsets {
NVME_REG_CAP ,
NVME_REG_VS ,
NVME_REG_INTMS ,
NVME_REG_INTMC ,
NVME_REG_CC ,
NVME_REG_CSTS ,
NVME_REG_NSSR ,
NVME_REG_AQA ,
NVME_REG_ASQ ,
NVME_REG_ACQ ,
NVME_REG_CMBLOC ,
NVME_REG_CMBSZ ,
NVME_REG_BPINFO ,
NVME_REG_BPRSEL ,
NVME_REG_BPMBL ,
NVME_REG_CMBMSC ,
NVME_REG_CMBSTS ,
NVME_REG_CMBEBS ,
NVME_REG_CMBSWTP ,
NVME_REG_NSSD ,
NVME_REG_CRTO ,
NVME_REG_PMRCAP ,
NVME_REG_PMRCTL ,
NVME_REG_PMRSTS ,
NVME_REG_PMREBS ,
NVME_REG_PMRSWTP ,
NVME_REG_PMRMSCL ,
NVME_REG_PMRMSCU
};
πΈ Constants πΈ
bestie, here's the full roster β every single one, in order, nothing skipped, we don't do that here π
NVME_REG_CAPβ Controller Capabilities. the vibe check of the whole controller honestlyNVME_REG_VSβ VersionNVME_REG_INTMSβ Interrupt Mask SetNVME_REG_INTMCβ Interrupt Mask ClearNVME_REG_CCβ Controller ConfigurationNVME_REG_CSTSβ Controller StatusNVME_REG_NSSRβ NVM Subsystem ResetNVME_REG_AQAβ Admin Queue AttributesNVME_REG_ASQβ Admin SQ Base AddressNVME_REG_ACQβ Admin CQ Base AddressNVME_REG_CMBLOCβ Controller Memory Buffer LocationNVME_REG_CMBSZβ Controller Memory Buffer SizeNVME_REG_BPINFOβ Boot Partition InformationNVME_REG_BPRSELβ Boot Partition Read SelectNVME_REG_BPMBLβ Boot Partition Memory Buffer LocationNVME_REG_CMBMSCβ Controller Memory Buffer Memory Space ControlNVME_REG_CMBSTSβ Controller Memory Buffer StatusNVME_REG_CMBEBSβ Controller Memory Buffer Elasticity Buffer SizeNVME_REG_CMBSWTPβ Controller Memory Buffer Sustained Write ThroughputNVME_REG_NSSDβ NVM Subsystem ShutdownNVME_REG_CRTOβ Controller Ready TimeoutsNVME_REG_PMRCAPβ Persistent Memory CapabilitiesNVME_REG_PMRCTLβ Persistent Memory Region ControlNVME_REG_PMRSTSβ Persistent Memory Region StatusNVME_REG_PMREBSβ Persistent Memory Region Elasticity Buffer SizeNVME_REG_PMRSWTPβ Memory Region Sustained Write ThroughputNVME_REG_PMRMSCLβ Persistent Memory Region Controller Memory Space Control LowerNVME_REG_PMRMSCUβ Persistent Memory Region Controller Memory Space Control Upper
fr fr, that's all28of them βCAPall the way throughPMRMSCU. memorize them? no. reference them? absolutely, that's the whole point π«Ά
okay that's the page!! slay π this was enum nvme_register_offsets from the libnvme(9) API Manual β brought to you by libnvme, dated October 2026, version vibes included, mwah ππ
π¦ where this page comes from
- arch rolling: nvme-cli 3.2-1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms