enum nvme_smart_crit {
NVME_SMART_CW_ASCBT_SHIFT ,
NVME_SMART_CW_TTC_SHIFT ,
NVME_SMART_CW_NDR_SHIFT ,
NVME_SMART_CW_AMRO_SHIFT ,
NVME_SMART_CW_VMBF_SHIFT ,
NVME_SMART_CW_PMRRO_SHIFT ,
NVME_SMART_CW_ASCBT_MASK ,
NVME_SMART_CW_TTC_MASK ,
NVME_SMART_CW_NDR_MASK ,
NVME_SMART_CW_AMRO_MASK ,
NVME_SMART_CW_VMBF_MASK ,
NVME_SMART_CW_PMRRO_MASK ,
NVME_SMART_CRIT_SPARE ,
NVME_SMART_CRIT_TEMPERATURE ,
NVME_SMART_CRIT_DEGRADED ,
NVME_SMART_CRIT_MEDIA ,
NVME_SMART_CRIT_VOLATILE_MEMORY ,
NVME_SMART_CRIT_PMR_RO
};
- NVME_SMART_CW_ASCBT_SHIFT
- Shift amount to get the available spare capacity has fallen below the
threshold.
- NVME_SMART_CW_TTC_SHIFT
- Shift amount to get the temperature is either greater than or equal to an
over temperature threshold; or less than or equal to an under temperature
threshold.
- NVME_SMART_CW_NDR_SHIFT
- Shift amount to get the NVM subsystem reliability has been degraded due to
significant media related errors or any internal error that degrades NVM
subsystem reliability.
- NVME_SMART_CW_AMRO_SHIFT
- Shift amount to get the all of the media has been placed in read only
mode. The controller shall not set this bit if the read-only condition on
the media is a result of a change in the write protection state of a
namespace.
- NVME_SMART_CW_VMBF_SHIFT
- Shift amount to get the volatile memory backup device has failed. This
field is only valid if the controller has a volatile memory backup
solution.
- NVME_SMART_CW_PMRRO_SHIFT
- Shift amount to get the Persistent Memory Region has become read-only or
unreliable.
- NVME_SMART_CW_ASCBT_MASK
- If set, then the available spare capacity has fallen below the
threshold.
- NVME_SMART_CW_TTC_MASK
- Mask to get the temperature is either greater than or equal to an over
temperature threshold; or less than or equal to an under temperature
threshold.
- NVME_SMART_CW_NDR_MASK
- Mask to get the NVM subsystem reliability has been degraded due to
significant media related errors or any internal error that degrades NVM
subsystem reliability.
- NVME_SMART_CW_AMRO_MASK
- Mask to get the all of the media has been placed in read only mode. The
controller shall not set this bit if the read-only condition on the media
is a result of a change in the write protection state of a namespace.
- NVME_SMART_CW_VMBF_MASK
- Mask to get the volatile memory backup device has failed. This field is
only valid if the controller has a volatile memory backup solution.
- NVME_SMART_CW_PMRRO_MASK
- Mask to get the Persistent Memory Region has become read-only or
unreliable.
- NVME_SMART_CRIT_SPARE
- If set, then the available spare capacity has fallen below the
threshold.
- NVME_SMART_CRIT_TEMPERATURE
- If set, then a temperature is either greater than or equal to an over
temperature threshold; or less than or equal to an under temperature
threshold.
- NVME_SMART_CRIT_DEGRADED
- If set, then the NVM subsystem reliability has been degraded due to
significant media related errors or any internal error that degrades NVM
subsystem reliability.
- NVME_SMART_CRIT_MEDIA
- If set, then all of the media has been placed in read only mode. The
controller shall not set this bit if the read-only condition on the media
is a result of a change in the write protection state of a namespace.
- NVME_SMART_CRIT_VOLATILE_MEMORY
- If set, then the volatile memory backup device has failed. This field is
only valid if the controller has a volatile memory backup solution.
- NVME_SMART_CRIT_PMR_RO
- If set, then the Persistent Memory Region has become read-only or
unreliable.