Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/virtualization/
Dvirt_ivshmem.c161 struct pcie_bar mbar_regs, mbar_msi_x, mbar_shmem; in ivshmem_configure() local
163 if (!pcie_get_mbar(data->pcie->bdf, IVSHMEM_PCIE_REG_BAR_IDX, &mbar_regs)) { in ivshmem_configure()
176 device_map(DEVICE_MMIO_RAM_PTR(dev), mbar_regs.phys_addr, in ivshmem_configure()
177 mbar_regs.size, K_MEM_CACHE_NONE); in ivshmem_configure()
192 if (mbar_regs.size < sizeof(struct ivshmem_v2_reg)) { in ivshmem_configure()
193 LOG_ERR("Invalid ivshmem regs size %zu", mbar_regs.size); in ivshmem_configure()
299 mbar_regs.phys_addr, DEVICE_MMIO_GET(dev)); in ivshmem_configure()
/Zephyr-latest/drivers/disk/nvme/
Dnvme_controller.c327 struct pcie_bar mbar_regs; in nvme_controller_pcie_configure() local
343 NVME_PCIE_BAR_IDX, &mbar_regs)) { in nvme_controller_pcie_configure()
348 device_map(DEVICE_MMIO_RAM_PTR(dev), mbar_regs.phys_addr, in nvme_controller_pcie_configure()
349 mbar_regs.size, K_MEM_CACHE_NONE); in nvme_controller_pcie_configure()