Lines Matching refs:csts
274 uint32_t csts; in nvme_ctrlr_wait_for_ready() local
277 csts = nvme_mmio_read_4(ctrlr, csts); in nvme_ctrlr_wait_for_ready()
278 if (csts == NVME_GONE) /* Hot unplug. */ in nvme_ctrlr_wait_for_ready()
280 if (((csts >> NVME_CSTS_REG_RDY_SHIFT) & NVME_CSTS_REG_RDY_MASK) 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 = (csts >> NVME_CSTS_REG_RDY_SHIFT) & NVME_CSTS_REG_RDY_MASK; 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 = (csts >> NVME_CSTS_REG_RDY_SHIFT) & NVME_CSTS_REG_RDY_MASK; in nvme_ctrlr_enable()
1511 gone = (nvme_mmio_read_4(ctrlr, csts) == NVME_GONE); in nvme_ctrlr_destruct()
1578 uint32_t csts; in nvme_ctrlr_shutdown() local
1589 csts = nvme_mmio_read_4(ctrlr, csts); in nvme_ctrlr_shutdown()
1590 if (csts == NVME_GONE) /* Hot unplug. */ in nvme_ctrlr_shutdown()
1592 if (NVME_CSTS_GET_SHST(csts) == NVME_SHST_COMPLETE) in nvme_ctrlr_shutdown()