Lines Matching refs:csts
2313 u32 csts, bit = enabled ? NVME_CSTS_RDY : 0; in nvme_wait_ready() local
2316 while ((ret = ctrl->ops->reg_read32(ctrl, NVME_REG_CSTS, &csts)) == 0) { in nvme_wait_ready()
2317 if (csts == ~0) in nvme_wait_ready()
2319 if ((csts & NVME_CSTS_RDY) == bit) in nvme_wait_ready()
2328 enabled ? "initialisation" : "reset", csts); in nvme_wait_ready()
2398 u32 csts; in nvme_shutdown_ctrl() local
2408 while ((ret = ctrl->ops->reg_read32(ctrl, NVME_REG_CSTS, &csts)) == 0) { in nvme_shutdown_ctrl()
2409 if ((csts & NVME_CSTS_SHST_MASK) == NVME_CSTS_SHST_CMPLT) in nvme_shutdown_ctrl()
4226 u32 csts; in nvme_ctrl_pp_status() local
4228 if (ctrl->ops->reg_read32(ctrl, NVME_REG_CSTS, &csts)) in nvme_ctrl_pp_status()
4231 if (csts == ~0) in nvme_ctrl_pp_status()
4234 return ((ctrl->ctrl_config & NVME_CC_ENABLE) && (csts & NVME_CSTS_PP)); in nvme_ctrl_pp_status()