Lines Matching refs:csts
1364 nvme_reg_csts_t csts; in nvme_wait_cmd() local
1384 csts.r = nvme_get32(nvme, NVME_REG_CSTS); in nvme_wait_cmd()
1387 cmd->nc_sqe.sqe_opc, csts.b.csts_cfs); in nvme_wait_cmd()
1390 if (csts.b.csts_cfs || in nvme_wait_cmd()
2063 nvme_reg_csts_t csts; in nvme_reset() local
2068 csts.r = nvme_get32(nvme, NVME_REG_CSTS); in nvme_reset()
2069 if (csts.b.csts_rdy == 1) { in nvme_reset()
2072 csts.r = nvme_get32(nvme, NVME_REG_CSTS); in nvme_reset()
2073 if (csts.b.csts_rdy == 0) in nvme_reset()
2087 csts.r = nvme_get32(nvme, NVME_REG_CSTS); in nvme_reset()
2088 return (csts.b.csts_rdy == 0 ? B_TRUE : B_FALSE); in nvme_reset()
2095 nvme_reg_csts_t csts; in nvme_shutdown() local
2105 csts.r = nvme_get32(nvme, NVME_REG_CSTS); in nvme_shutdown()
2106 if (csts.b.csts_shst == NVME_CSTS_SHN_COMPLETE) in nvme_shutdown()
2239 nvme_reg_csts_t csts; in nvme_init() local
2350 csts.r = nvme_get32(nvme, NVME_REG_CSTS); in nvme_init()
2351 if (csts.b.csts_rdy == 0) { in nvme_init()
2354 csts.r = nvme_get32(nvme, NVME_REG_CSTS); in nvme_init()
2356 if (csts.b.csts_cfs == 1) { in nvme_init()
2365 if (csts.b.csts_rdy == 1) in nvme_init()
2370 if (csts.b.csts_rdy == 0) { in nvme_init()