libnvme(9)
π NAME π
okay so bestie, this whole page is about one thing: enum nvme_tdisp_ti β the NVMe TDISP DEVICE_INTERFACE_REPORT - TDISP Information (TI) enum. it's a libnvme(9) situation, and honestly it's giving "one struct, twenty constants, zero chill" β¨
π¦ SYNOPSIS π¦
here's the whole enum, and yes we're keeping every single member, periodt:
enum nvme_tdisp_ti {
NVME_TDISP_TI_VER_SHIFT ,
NVME_TDISP_TI_VER_MASK ,
NVME_TDISP_TI_ACPS_SHIFT ,
NVME_TDISP_TI_ACPS_MASK ,
NVME_TDISP_TI_ENV_SHIFT ,
NVME_TDISP_TI_ENV_MASK ,
NVME_TDISP_TI_SHNV_SHIFT ,
NVME_TDISP_TI_SHNV_MASK ,
NVME_TDISP_TI_SHSTV_SHIFT ,
NVME_TDISP_TI_SHSTV_MASK ,
NVME_TDISP_TI_STV_SHIFT ,
NVME_TDISP_TI_STV_MASK ,
NVME_TDISP_TI_CSSV_SHIFT ,
NVME_TDISP_TI_CSSV_MASK ,
NVME_TDISP_TI_MPSV_SHIFT ,
NVME_TDISP_TI_MPSV_MASK ,
NVME_TDISP_TI_IOSQESV_SHIFT ,
NVME_TDISP_TI_IOSQESV_MASK ,
NVME_TDISP_TI_IOCQESV_SHIFT ,
NVME_TDISP_TI_IOCQESV_MASK
};
like, the pattern is right there babes: every field gets a _SHIFT and a _MASK, no field is left behind, we love a consistent king π
π CONSTANTS π
lowkey the best part, highkey the whole page. every constant, in order, unpacked for you π«Ά
NVME_TDISP_TI_VER_SHIFTβ the shift amount you use to get the Version (VER) πNVME_TDISP_TI_VER_MASKβ the mask that gets you VERNVME_TDISP_TI_ACPS_SHIFTβ the shift amount that gets you the Admin Command Processing Status (ACPS)NVME_TDISP_TI_ACPS_MASKβ the mask that gets you ACPSNVME_TDISP_TI_ENV_SHIFTβ the shift amount that gets you the Enable Value (ENV)NVME_TDISP_TI_ENV_MASKβ the mask that gets you ENVNVME_TDISP_TI_SHNV_SHIFTβ the shift amount that gets you the Shutdown Notification Value (SHNV)NVME_TDISP_TI_SHNV_MASKβ the mask that gets you SHNVNVME_TDISP_TI_SHSTV_SHIFTβ the shift amount that gets you the Shutdown Status Value (SHSTV)NVME_TDISP_TI_SHSTV_MASKβ the mask that gets you SHSTVNVME_TDISP_TI_STV_SHIFTβ the shift amount that gets you the Shutdown Type Value (STV)NVME_TDISP_TI_STV_MASKβ the mask that gets you STVNVME_TDISP_TI_CSSV_SHIFTβ the shift amount that gets you the Command Sets Supported Value (CSSV)NVME_TDISP_TI_CSSV_MASKβ the mask that gets you CSSVNVME_TDISP_TI_MPSV_SHIFTβ the shift amount that gets you the Memory Page Size Value (MPSV)NVME_TDISP_TI_MPSV_MASKβ the mask that gets you MPSVNVME_TDISP_TI_IOSQESV_SHIFTβ the shift amount that gets you the I/O Submission Queue Entry Size Value (IOSQESV)NVME_TDISP_TI_IOSQESV_MASKβ the mask that gets you IOSQESVNVME_TDISP_TI_IOCQESV_SHIFTβ the shift amount that gets you the I/O Completion Queue Entry Size Value (IOCQESV)NVME_TDISP_TI_IOCQESV_MASKβ the mask that gets you IOCQESV
ngl the move is always the same: shift, then mask. every field, every time. that's the vibe check and it passes π―
and that's the whole page, bestie β this was enum nvme_tdisp_ti from the libnvme(9) API Manual, dated October 2026. you ate that. go shift something ππΈπ
π¦ 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