Lines Matching refs:csts
268 uint32_t csts; in nvme_ctrlr_wait_for_ready() local
271 csts = nvme_mmio_read_4(ctrlr, csts); in nvme_ctrlr_wait_for_ready()
272 if (csts == NVME_GONE) /* Hot unplug. */ in nvme_ctrlr_wait_for_ready()
274 if (NVMEV(NVME_CSTS_REG_RDY, csts) == desired_val) in nvme_ctrlr_wait_for_ready()
293 uint32_t csts; in nvme_ctrlr_disable() local
298 csts = nvme_mmio_read_4(ctrlr, csts); in nvme_ctrlr_disable()
301 rdy = NVMEV(NVME_CSTS_REG_RDY, csts); in nvme_ctrlr_disable()
338 uint32_t csts; in nvme_ctrlr_enable() local
345 csts = nvme_mmio_read_4(ctrlr, csts); in nvme_ctrlr_enable()
348 rdy = NVMEV(NVME_CSTS_REG_RDY, csts); in nvme_ctrlr_enable()
1675 (nvme_mmio_read_4(ctrlr, csts) == NVME_GONE); in nvme_ctrlr_destruct()
1751 uint32_t csts; in nvme_ctrlr_shutdown() local
1762 csts = nvme_mmio_read_4(ctrlr, csts); in nvme_ctrlr_shutdown()
1763 if (csts == NVME_GONE) /* Hot unplug. */ in nvme_ctrlr_shutdown()
1765 if (NVME_CSTS_GET_SHST(csts) == NVME_SHST_COMPLETE) in nvme_ctrlr_shutdown()