Lines Matching full:rdy
258 * Wait for RDY to change.
294 uint8_t en, rdy; in nvme_ctrlr_disable() local
301 rdy = NVMEV(NVME_CSTS_REG_RDY, csts); in nvme_ctrlr_disable()
305 * when CSTS.RDY is 1 or transitioning CC.EN from 1 to 0 when in nvme_ctrlr_disable()
306 * CSTS.RDY is 0 "has undefined results" So make sure that CSTS.RDY in nvme_ctrlr_disable()
310 /* Wait for RDY == 0 or timeout & fail */ in nvme_ctrlr_disable()
311 if (rdy == 0) in nvme_ctrlr_disable()
315 if (rdy == 0) { in nvme_ctrlr_disable()
316 /* EN == 1, wait for RDY == 1 or timeout & fail */ in nvme_ctrlr_disable()
341 uint8_t en, rdy; in nvme_ctrlr_enable() local
348 rdy = NVMEV(NVME_CSTS_REG_RDY, csts); in nvme_ctrlr_enable()
354 if (rdy == 1) in nvme_ctrlr_enable()
359 /* EN == 0 already wait for RDY == 0 or timeout & fail */ in nvme_ctrlr_enable()