---
name: "nvme_csts"
section: "2"
platform: "linux"
package: "libnvme-dev"
version: "1.13-2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/nvme_csts"
---

# nvme\_csts(2)

This field indicates the controller status register

## NAME

enum nvme\_csts - This field indicates the controller status register

## SYNOPSIS

enum nvme\_csts {\
     **NVME\_CSTS\_RDY\_SHIFT** , \
\
     **NVME\_CSTS\_CFS\_SHIFT** , \
\
     **NVME\_CSTS\_SHST\_SHIFT** , \
\
     **NVME\_CSTS\_NSSRO\_SHIFT** , \
\
     **NVME\_CSTS\_PP\_SHIFT** , \
\
     **NVME\_CSTS\_ST\_SHIFT** , \
\
     **NVME\_CSTS\_RDY\_MASK** , \
\
     **NVME\_CSTS\_CFS\_MASK** , \
\
     **NVME\_CSTS\_SHST\_MASK** , \
\
     **NVME\_CSTS\_NSSRO\_MASK** , \
\
     **NVME\_CSTS\_PP\_MASK** , \
\
     **NVME\_CSTS\_ST\_MASK** , \
\
     **NVME\_CSTS\_SHST\_NORMAL** , \
\
     **NVME\_CSTS\_SHST\_OCCUR** , \
\
     **NVME\_CSTS\_SHST\_CMPLT** , \
\
     **NVME\_CSTS\_SHN\_MASK**

};

## Constants

- NVME\_CSTS\_RDY\_SHIFT

  Shift amount to get the ready

- NVME\_CSTS\_CFS\_SHIFT

  Shift amount to get the controller fatal status

- NVME\_CSTS\_SHST\_SHIFT

  Shift amount to get the shutdown status

- NVME\_CSTS\_NSSRO\_SHIFT

  Shift amount to get the NVM subsystem reset occurred

- NVME\_CSTS\_PP\_SHIFT

  Shift amount to get the processing paused

- NVME\_CSTS\_ST\_SHIFT

  Shift amount to get the shutdown type

- NVME\_CSTS\_RDY\_MASK

  Mask to get the ready

- NVME\_CSTS\_CFS\_MASK

  Mask to get the controller fatal status

- NVME\_CSTS\_SHST\_MASK

  Mask to get the shutdown status

- NVME\_CSTS\_NSSRO\_MASK

  Mask to get the NVM subsystem reset occurred

- NVME\_CSTS\_PP\_MASK

  Mask to get the processing paused

- NVME\_CSTS\_ST\_MASK

  Mask to get the shutdown type

- NVME\_CSTS\_SHST\_NORMAL

  Normal operation

- NVME\_CSTS\_SHST\_OCCUR

  Shutdown processing occurring

- NVME\_CSTS\_SHST\_CMPLT

  Shutdown processing complete

- NVME\_CSTS\_SHN\_MASK

  Deprecated mask to get the shutdown status
