Lines Matching full:rdy
261 * Wait for RDY to change.
297 uint8_t en, rdy; in nvme_ctrlr_disable() local
304 rdy = NVMEV(NVME_CSTS_REG_RDY, csts); in nvme_ctrlr_disable()
308 * when CSTS.RDY is 1 or transitioning CC.EN from 1 to 0 when in nvme_ctrlr_disable()
309 * CSTS.RDY is 0 "has undefined results" So make sure that CSTS.RDY in nvme_ctrlr_disable()
313 /* Wait for RDY == 0 or timeout & fail */ in nvme_ctrlr_disable()
314 if (rdy == 0) in nvme_ctrlr_disable()
318 if (rdy == 0) { in nvme_ctrlr_disable()
319 /* EN == 1, wait for RDY == 1 or timeout & fail */ in nvme_ctrlr_disable()
344 uint8_t en, rdy; in nvme_ctrlr_enable() local
351 rdy = NVMEV(NVME_CSTS_REG_RDY, csts); in nvme_ctrlr_enable()
357 if (rdy == 1) in nvme_ctrlr_enable()
362 /* EN == 0 already wait for RDY == 0 or timeout & fail */ in nvme_ctrlr_enable()