Home
last modified time | relevance | path

Searched refs:cmd_reg (Results 1 – 7 of 7) sorted by relevance

/spdk/lib/nvme/
H A Dnvme_vfio_user.c151 uint16_t cmd_reg; in nvme_vfio_ctrlr_construct() local
197 &cmd_reg, false); in nvme_vfio_ctrlr_construct()
203 cmd_reg |= 0x404; in nvme_vfio_ctrlr_construct()
205 &cmd_reg, true); in nvme_vfio_ctrlr_construct()
H A Dnvme_pcie.c909 uint16_t cmd_reg; in nvme_pcie_ctrlr_construct()
957 spdk_pci_device_cfg_read16(pci_dev, &cmd_reg, 4); in nvme_pcie_ctrlr_construct()
958 cmd_reg |= 0x404; in nvme_pcie_ctrlr_construct()
959 spdk_pci_device_cfg_write16(pci_dev, cmd_reg, 4); in nvme_pcie_ctrlr_construct()
897 uint16_t cmd_reg; nvme_pcie_ctrlr_construct() local
/spdk/lib/virtio/
H A Dvirtio_vfio_user.c394 uint16_t cmd_reg; in virtio_vfio_user_dev_init() local
430 &cmd_reg, false); in virtio_vfio_user_dev_init()
436 cmd_reg |= 0x404; in virtio_vfio_user_dev_init()
438 &cmd_reg, true); in virtio_vfio_user_dev_init()
/spdk/lib/idxd/
H A Didxd_user.c511 uint32_t cmd_reg; in idxd_attach() local
556 spdk_pci_device_cfg_read32(device, &cmd_reg, 4); in idxd_attach()
557 cmd_reg |= 0x4; in idxd_attach()
558 spdk_pci_device_cfg_write32(device, cmd_reg, 4); in idxd_attach()
/spdk/test/external_code/nvme/
H A Dnvme.c281 uint16_t cmd_reg; in pcie_enum_cb() local
309 spdk_pci_device_cfg_read16(pci_dev, &cmd_reg, 4); in pcie_enum_cb()
310 cmd_reg |= 0x404; in pcie_enum_cb()
311 spdk_pci_device_cfg_write16(pci_dev, cmd_reg, 4); in pcie_enum_cb()
/spdk/lib/ioat/
H A Dioat.c472 uint32_t cmd_reg; in ioat_attach() local
480 spdk_pci_device_cfg_read32(device, &cmd_reg, 4); in ioat_attach()
481 cmd_reg |= 0x4; in ioat_attach()
482 spdk_pci_device_cfg_write32(device, cmd_reg, 4); in ioat_attach()
/spdk/lib/vmd/
H A Dvmd.c1292 uint32_t cmd_reg = 0; in vmd_enum_cb() local
1297 spdk_pci_device_cfg_read32(pci_dev, &cmd_reg, 4); in vmd_enum_cb()
1298 cmd_reg |= 0x6; /* PCI bus master/memory enable. */ in vmd_enum_cb()
1299 spdk_pci_device_cfg_write32(pci_dev, cmd_reg, 4); in vmd_enum_cb()