libnvme(9) API Manual libnvme(9)

enum nvme_pma - Power Measurement Attributes (PMA) field

enum nvme_pma {
NVME_PMA_PME_SHIFT ,
NVME_PMA_NCPDF_SHIFT ,
NVME_PMA_EPF_SHIFT ,
NVME_PMA_MIPWRTS_SHIFT ,
NVME_PMA_PHDO_SHIFT ,
NVME_PMA_PMT_SHIFT ,
NVME_PMA_PME_MASK ,
NVME_PMA_NCPDF_MASK ,
NVME_PMA_EPF_MASK ,
NVME_PMA_MIPWRTS_MASK ,
NVME_PMA_PHDO_MASK ,
NVME_PMA_PMT_MASK

};

Shift amount to get the power measurement enable
Shift amount to get the non-contiguous power data flag
Shift amount to get the estimated power flag
Shift amount to get the maximum interval power timestamp support
Shift amount to get the power histogram descriptor overflow
Shift amount to get the power measurement type
Mask to get the power measurement enable
Mask to get the non-contiguous power data flag
Mask to get the estimated power flag
Mask to get the maximum interval power timestamp support
Mask to get the power histogram descriptor overflow
Mask to get the power measurement type
enum nvme_pma October 2026