Lines Matching refs:csts
2501 nvme_reg_csts_t csts; in nvme_wait_cmd() local
2537 csts.r = nvme_get32(nvme, NVME_REG_CSTS); in nvme_wait_cmd()
2540 cmd->nc_sqe.sqe_opc, csts.b.csts_cfs); in nvme_wait_cmd()
2548 if (csts.b.csts_cfs || in nvme_wait_cmd()
3414 nvme_reg_csts_t csts; in nvme_reset() local
3419 csts.r = nvme_get32(nvme, NVME_REG_CSTS); in nvme_reset()
3420 if (csts.b.csts_rdy == 1) { in nvme_reset()
3433 csts.r = nvme_get32(nvme, NVME_REG_CSTS); in nvme_reset()
3434 if (csts.b.csts_rdy == 0) in nvme_reset()
3454 csts.r = nvme_get32(nvme, NVME_REG_CSTS); in nvme_reset()
3455 return (csts.b.csts_rdy == 0 ? B_TRUE : B_FALSE); in nvme_reset()
3462 nvme_reg_csts_t csts; in nvme_shutdown() local
3470 csts.r = nvme_get32(nvme, NVME_REG_CSTS); in nvme_shutdown()
3471 if (csts.b.csts_shst == NVME_CSTS_SHN_COMPLETE) in nvme_shutdown()
4052 nvme_reg_csts_t csts; in nvme_init() local
4178 csts.r = nvme_get32(nvme, NVME_REG_CSTS); in nvme_init()
4179 if (csts.b.csts_rdy == 0) { in nvme_init()
4182 csts.r = nvme_get32(nvme, NVME_REG_CSTS); in nvme_init()
4184 if (csts.b.csts_cfs == 1) { in nvme_init()
4193 if (csts.b.csts_rdy == 1) in nvme_init()
4198 if (csts.b.csts_rdy == 0) { in nvme_init()