Home
last modified time | relevance | path

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

/freebsd-14.2/sys/dev/nvme/
H A Dnvme_ctrlr.c275 uint32_t csts; in nvme_ctrlr_wait_for_ready() local
278 csts = nvme_mmio_read_4(ctrlr, csts); in nvme_ctrlr_wait_for_ready()
279 if (csts == NVME_GONE) /* Hot unplug. */ in nvme_ctrlr_wait_for_ready()
300 uint32_t csts; in nvme_ctrlr_disable() local
305 csts = nvme_mmio_read_4(ctrlr, csts); in nvme_ctrlr_disable()
308 rdy = NVMEV(NVME_CSTS_REG_RDY, csts); in nvme_ctrlr_disable()
345 uint32_t csts; in nvme_ctrlr_enable() local
352 csts = nvme_mmio_read_4(ctrlr, csts); in nvme_ctrlr_enable()
355 rdy = NVMEV(NVME_CSTS_REG_RDY, csts); in nvme_ctrlr_enable()
1596 uint32_t csts; in nvme_ctrlr_shutdown() local
[all …]
H A Dnvme_qpair.c1025 uint32_t csts; in nvme_qpair_timeout() local
1043 csts = nvme_mmio_read_4(ctrlr, csts); in nvme_qpair_timeout()
1044 cfs = NVMEV(NVME_CSTS_REG_CFS, csts); in nvme_qpair_timeout()
1045 if (csts == NVME_GONE || cfs == 1) in nvme_qpair_timeout()
1105 (csts == 0xffffffff) ? " and possible hot unplug" : in nvme_qpair_timeout()
H A Dnvme.h174 #define NVME_CSTS_GET_SHST(csts) \ argument
175 NVMEV(NVME_CSTS_REG_SHST, csts)
715 uint32_t csts; /* controller status */ member
/freebsd-14.2/usr.sbin/bhyve/amd64/
H A Dpci_gvt-d-opregion.h65 uint32_t csts; ///< Offset 0x104 Status member
/freebsd-14.2/usr.sbin/bhyve/
H A Dpci_nvme.c1053 sc->regs.csts = 0; in pci_nvme_reset_locked()
1080 sc->regs.csts |= NVME_CSTS_CFS; in pci_nvme_init_controller()
1089 sc->regs.csts |= NVME_CSTS_CFS; in pci_nvme_init_controller()
1100 sc->regs.csts |= NVME_CSTS_CFS; in pci_nvme_init_controller()
1109 sc->regs.csts |= NVME_CSTS_CFS; in pci_nvme_init_controller()
2304 sc->regs.csts |= NVME_CSTS_RDY; in pci_nvme_release_ioreq()
2957 if ((sc->regs.csts & NVME_CSTS_RDY) == 0) { in pci_nvme_write_bar_0()
3022 sc->regs.csts |= NVMEF(NVME_CSTS_REG_SHST, in pci_nvme_write_bar_0()
3040 sc->regs.csts &= ~NVME_CSTS_RDY; in pci_nvme_write_bar_0()
3042 !(sc->regs.csts & NVME_CSTS_CFS)) { in pci_nvme_write_bar_0()
[all …]