Lines Matching refs:csts
275 uint32_t csts; in nvme_ctrlr_wait_for_ready() local
278 csts = nvme_mmio_read_4(ctrlr, csts); in nvme_ctrlr_wait_for_ready()
279 if (csts == NVME_GONE) /* Hot unplug. */ in nvme_ctrlr_wait_for_ready()
281 if (NVMEV(NVME_CSTS_REG_RDY, csts) == desired_val) in nvme_ctrlr_wait_for_ready()
300 uint32_t csts; in nvme_ctrlr_disable() local
305 csts = nvme_mmio_read_4(ctrlr, csts); in nvme_ctrlr_disable()
308 rdy = NVMEV(NVME_CSTS_REG_RDY, csts); in nvme_ctrlr_disable()
345 uint32_t csts; in nvme_ctrlr_enable() local
352 csts = nvme_mmio_read_4(ctrlr, csts); in nvme_ctrlr_enable()
355 rdy = NVMEV(NVME_CSTS_REG_RDY, csts); in nvme_ctrlr_enable()
1529 gone = (nvme_mmio_read_4(ctrlr, csts) == NVME_GONE); in nvme_ctrlr_destruct()
1596 uint32_t csts; in nvme_ctrlr_shutdown() local
1607 csts = nvme_mmio_read_4(ctrlr, csts); in nvme_ctrlr_shutdown()
1608 if (csts == NVME_GONE) /* Hot unplug. */ in nvme_ctrlr_shutdown()
1610 if (NVME_CSTS_GET_SHST(csts) == NVME_SHST_COMPLETE) in nvme_ctrlr_shutdown()