libnvme(2)
π NAME π
enum nvme_register_offsets β bestie, this is the controller registers list, and it covers all the transports, no cap. Think of it as the layout of BAR0/1 for PCIe, and the properties for fabrics. That's the whole vibe. π
β¨ SYNOPSIS β¨
Okay so here's the whole enum, and yes, we're listing every single one because every single one matters:
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 π
Grab a snack, we're going through all twenty-eight of them, one by one, zero skips, periodt. π«Ά
NVME_REG_CAPβ Controller Capabilities π the "what can u even do" registerNVME_REG_VSβ Version π¦NVME_REG_INTMSβ Interrupt Mask Set π₯NVME_REG_INTMCβ Interrupt Mask Clear π§ΉNVME_REG_CCβ Controller Configuration ποΈNVME_REG_CSTSβ Controller Status πNVME_REG_NSSRβ NVM Subsystem Reset πNVME_REG_AQAβ Admin Queue Attributes πNVME_REG_ASQβ Admin SQ Base Address πNVME_REG_ACQβ Admin CQ Base Address πNVME_REG_CMBLOCβ Controller Memory Buffer Location πΊοΈNVME_REG_CMBSZβ Controller Memory Buffer Size πNVME_REG_BPINFOβ Boot Partition Information π₯ΎNVME_REG_BPRSELβ Boot Partition Read Select π―NVME_REG_BPMBLβ Boot Partition Memory Buffer Location πNVME_REG_CMBMSCβ Controller Memory Buffer Memory Space Control πΉοΈNVME_REG_CMBSTSβ Controller Memory Buffer Status πNVME_REG_CMBEBSβ Controller Memory Buffer Elasticity Buffer Size π«§NVME_REG_CMBSWTPβ Controller Memory Buffer Sustained Write Throughput πββοΈNVME_REG_NSSDβ NVM Subsystem Shutdown πNVME_REG_CRTOβ Controller Ready Timeouts β°NVME_REG_PMRCAPβ Persistent Memory Capabilities π§NVME_REG_PMRCTLβ Persistent Memory Region Control ποΈNVME_REG_PMRSTSβ Persistent Memory Region Status πNVME_REG_PMREBSβ Persistent Memory Region Elasticity Buffer Size π«§NVME_REG_PMRSWTPβ Memory Region Sustained Write Throughput πNVME_REG_PMRMSCLβ Persistent Memory Region Controller Memory Space Control Lower β¬οΈNVME_REG_PMRMSCUβ Persistent Memory Region Controller Memory Space Control Upper β¬οΈ
okay bestie that's literally the whole page, 28 for 28, nothing left out, we ate and left no crumbs πβ¨ and before u go β this was the enum nvme_register_offsets page of the libnvme API Manual, dated July 2026, and it's giving libnvme(2) energy. slay, bye ππ¦π
π¦ where this page comes from
- ubuntu stonking: libnvme-dev 1.16.2-1build1 Β· LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms