Searched refs:csts (Results 1 – 4 of 4) sorted by relevance
181 struct csts { struct183 unsigned int csts:32; argument186 struct csts nvme;
1073 sc->regs.csts = 0; in pci_nvme_reset_locked()1100 sc->regs.csts |= NVME_CSTS_CFS; in pci_nvme_init_controller()1109 sc->regs.csts |= NVME_CSTS_CFS; in pci_nvme_init_controller()1120 sc->regs.csts |= NVME_CSTS_CFS; in pci_nvme_init_controller()1129 sc->regs.csts |= NVME_CSTS_CFS; in pci_nvme_init_controller()2323 NVME_CC_GET_EN(sc->regs.cc) && !(NVME_CSTS_GET_RDY(sc->regs.csts))) in pci_nvme_release_ioreq()2324 sc->regs.csts |= NVME_CSTS_RDY; in pci_nvme_release_ioreq()2983 if ((sc->regs.csts & NVME_CSTS_RDY) == 0) { in pci_nvme_write_bar_0()3047 sc->regs.csts &= ~NVMEM(NVME_CSTS_REG_SHST); in pci_nvme_write_bar_0()3048 sc->regs.csts |= NVMEF(NVME_CSTS_REG_SHST, in pci_nvme_write_bar_0()[all …]
2747 nvme_reg_csts_t csts; in nvme_wait_cmd() local2784 csts.r = nvme_get32(nvme, NVME_REG_CSTS); in nvme_wait_cmd()2788 csts.b.csts_cfs, csts.r); in nvme_wait_cmd()2796 if (csts.b.csts_cfs || in nvme_wait_cmd()3750 nvme_reg_csts_t csts; in nvme_reset() local3763 csts.r = nvme_get32(nvme, NVME_REG_CSTS); in nvme_reset()3764 if (csts.b.csts_rdy == 1) { in nvme_reset()3777 csts.r = nvme_get32(nvme, NVME_REG_CSTS); in nvme_reset()3778 if (csts.b.csts_rdy == 0) in nvme_reset()3798 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