Lines Matching refs:csts
2109 u32 csts, bit = enabled ? NVME_CSTS_RDY : 0; in nvme_wait_ready() local
2112 while ((ret = ctrl->ops->reg_read32(ctrl, NVME_REG_CSTS, &csts)) == 0) { in nvme_wait_ready()
2113 if (csts == ~0) in nvme_wait_ready()
2115 if ((csts & NVME_CSTS_RDY) == bit) in nvme_wait_ready()
2124 enabled ? "initialisation" : "reset", csts); in nvme_wait_ready()
2194 u32 csts; in nvme_shutdown_ctrl() local
2204 while ((ret = ctrl->ops->reg_read32(ctrl, NVME_REG_CSTS, &csts)) == 0) { in nvme_shutdown_ctrl()
2205 if ((csts & NVME_CSTS_SHST_MASK) == NVME_CSTS_SHST_CMPLT) in nvme_shutdown_ctrl()
4196 u32 csts; in nvme_ctrl_pp_status() local
4198 if (ctrl->ops->reg_read32(ctrl, NVME_REG_CSTS, &csts)) in nvme_ctrl_pp_status()
4201 if (csts == ~0) in nvme_ctrl_pp_status()
4204 return ((ctrl->ctrl_config & NVME_CC_ENABLE) && (csts & NVME_CSTS_PP)); in nvme_ctrl_pp_status()