Searched refs:csts (Results 1 – 4 of 4) sorted by relevance
181 struct csts { struct183 unsigned int csts:32; member186 struct csts nvme;
1062 sc->regs.csts = 0; in pci_nvme_reset_locked()1089 sc->regs.csts |= NVME_CSTS_CFS; in pci_nvme_init_controller()1098 sc->regs.csts |= NVME_CSTS_CFS; in pci_nvme_init_controller()1109 sc->regs.csts |= NVME_CSTS_CFS; in pci_nvme_init_controller()1118 sc->regs.csts |= NVME_CSTS_CFS; in pci_nvme_init_controller()2312 NVME_CC_GET_EN(sc->regs.cc) && !(NVME_CSTS_GET_RDY(sc->regs.csts))) in pci_nvme_release_ioreq()2313 sc->regs.csts |= NVME_CSTS_RDY; in pci_nvme_release_ioreq()2918 if ((sc->regs.csts & NVME_CSTS_RDY) == 0) { in pci_nvme_write_bar_0()2982 sc->regs.csts &= ~NVMEM(NVME_CSTS_REG_SHST); in pci_nvme_write_bar_0()2983 sc->regs.csts |= NVMEF(NVME_CSTS_REG_SHST, in pci_nvme_write_bar_0()[all …]
2519 nvme_reg_csts_t csts; in nvme_wait_cmd() local2555 csts.r = nvme_get32(nvme, NVME_REG_CSTS); in nvme_wait_cmd()2558 cmd->nc_sqe.sqe_opc, csts.b.csts_cfs); in nvme_wait_cmd()2566 if (csts.b.csts_cfs || in nvme_wait_cmd()3432 nvme_reg_csts_t csts; in nvme_reset() local3445 csts.r = nvme_get32(nvme, NVME_REG_CSTS); in nvme_reset()3446 if (csts.b.csts_rdy == 1) { in nvme_reset()3459 csts.r = nvme_get32(nvme, NVME_REG_CSTS); in nvme_reset()3460 if (csts.b.csts_rdy == 0) in nvme_reset()3480 csts.r = nvme_get32(nvme, NVME_REG_CSTS); in nvme_reset()[all …]
190 #define NVME_CSTS_GET_SHST(csts) \ argument191 NVMEV(NVME_CSTS_REG_SHST, csts)760 uint32_t csts; /* controller status */ member