Lines Matching refs:n_vectors
42 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()
335 if (vector >= data->n_vectors) { in ivshmem_api_int_peer()
372 if (vector >= data->n_vectors) { in ivshmem_api_register_handler()