Lines Matching refs:csts
2056 u32 csts, bit = enabled ? NVME_CSTS_RDY : 0; in nvme_wait_ready() local
2059 while ((ret = ctrl->ops->reg_read32(ctrl, NVME_REG_CSTS, &csts)) == 0) { in nvme_wait_ready()
2060 if (csts == ~0) in nvme_wait_ready()
2062 if ((csts & NVME_CSTS_RDY) == bit) in nvme_wait_ready()
2145 u32 csts; in nvme_shutdown_ctrl() local
2155 while ((ret = ctrl->ops->reg_read32(ctrl, NVME_REG_CSTS, &csts)) == 0) { in nvme_shutdown_ctrl()
2156 if ((csts & NVME_CSTS_SHST_MASK) == NVME_CSTS_SHST_CMPLT) in nvme_shutdown_ctrl()
3839 u32 csts; in nvme_ctrl_pp_status() local
3841 if (ctrl->ops->reg_read32(ctrl, NVME_REG_CSTS, &csts)) in nvme_ctrl_pp_status()
3844 if (csts == ~0) in nvme_ctrl_pp_status()
3847 return ((ctrl->ctrl_config & NVME_CC_ENABLE) && (csts & NVME_CSTS_PP)); in nvme_ctrl_pp_status()