Home
last modified time | relevance | path

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

/Zephyr-Core-3.5.0/drivers/virtualization/
Dvirt_ivshmem.c42 uint8_t n_vectors; in ivshmem_configure_msi_x_interrupts() local
48 n_vectors = pcie_msi_vectors_allocate(data->pcie->bdf, in ivshmem_configure_msi_x_interrupts()
52 if (n_vectors == 0) { in ivshmem_configure_msi_x_interrupts()
58 LOG_DBG("Allocated %u vectors", n_vectors); in ivshmem_configure_msi_x_interrupts()
60 for (i = 0; i < n_vectors; i++) { in ivshmem_configure_msi_x_interrupts()
73 LOG_INF("%u MSI-X Vectors connected", n_vectors); in ivshmem_configure_msi_x_interrupts()
75 if (!pcie_msi_enable(data->pcie->bdf, data->vectors, n_vectors, 0)) { in ivshmem_configure_msi_x_interrupts()
80 data->n_vectors = n_vectors; in ivshmem_configure_msi_x_interrupts()
123 data->n_vectors = 1; in ivshmem_configure_int_x_interrupts()
321 return data->n_vectors; in ivshmem_api_get_vectors()
[all …]
Dvirt_ivshmem.h54 uint16_t n_vectors; member
/Zephyr-Core-3.5.0/drivers/disk/nvme/
Dnvme_controller.c326 uint8_t n_vectors; in nvme_controller_pcie_configure() local
350 n_vectors = pcie_msi_vectors_allocate(nvme_ctrlr_cfg->pcie->bdf, in nvme_controller_pcie_configure()
354 if (n_vectors == 0) { in nvme_controller_pcie_configure()
362 nvme_ctrlr->vectors, n_vectors, 0)) { in nvme_controller_pcie_configure()
/Zephyr-Core-3.5.0/drivers/ethernet/
Deth_ivshmem.c317 uint16_t n_vectors = ivshmem_get_vectors(cfg_data->ivshmem); in eth_ivshmem_initialize() local
322 if (n_vectors == 0) { in eth_ivshmem_initialize()
325 } else if (n_vectors > 1) { in eth_ivshmem_initialize()