Home
last modified time | relevance | path

Searched refs:csts (Results 1 – 4 of 4) sorted by relevance

/illumos-gate/usr/src/test/util-tests/tests/ctf/
H A Dtest-sou.c181 struct csts { struct
183 unsigned int csts:32; member
186 struct csts nvme;
/illumos-gate/usr/src/cmd/bhyve/common/
H A Dpci_nvme.c1062 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 …]
/illumos-gate/usr/src/uts/common/io/nvme/
H A Dnvme.c2519 nvme_reg_csts_t csts; in nvme_wait_cmd() local
2555 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() local
3445 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 …]
/illumos-gate/usr/src/contrib/bhyve/dev/nvme/
H A Dnvme.h190 #define NVME_CSTS_GET_SHST(csts) \ argument
191 NVMEV(NVME_CSTS_REG_SHST, csts)
760 uint32_t csts; /* controller status */ member