Home
last modified time | relevance | path

Searched refs:cmbsts (Results 1 – 2 of 2) sorted by relevance

/openbmc/qemu/include/block/
H A Dnvme.h24 uint32_t cmbsts; member
53 NVME_REG_CMBSTS = offsetof(NvmeBar, cmbsts),
379 #define NVME_CMBSTS_CBAI(cmbsts) \ argument
380 ((cmbsts >> CMBSTS_CBAI_SHIFT) & CMBSTS_CBAI_MASK)
382 #define NVME_CMBSTS_SET_CBAI(cmbsts, val) \ argument
383 (cmbsts |= (uint64_t)(val & CMBSTS_CBAI_MASK) << CMBSTS_CBAI_SHIFT)
/openbmc/qemu/hw/nvme/
H A Dctrl.c7846 uint32_t cmbsts = ldl_le_p(&n->bar.cmbsts); in nvme_write_bar() local
7847 NVME_CMBSTS_SET_CBAI(cmbsts, 1); in nvme_write_bar()
7848 stl_le_p(&n->bar.cmbsts, cmbsts); in nvme_write_bar()