Searched refs:nr_vectors (Results 1 – 7 of 7) sorted by relevance
144 unsigned int nr_vectors = msi_nr_vectors(flags); in msi_prepare_message() local147 assert(vector < nr_vectors); in msi_prepare_message()157 if (nr_vectors > 1) { in msi_prepare_message()158 msg.data &= ~(nr_vectors - 1); in msi_prepare_message()212 assert(!(nr_vectors & (nr_vectors - 1))); /* power of 2 */ in msi_init()213 assert(nr_vectors > 0); in msi_init()214 assert(nr_vectors <= PCI_MSI_VECTORS_MAX); in msi_init()216 vectors_order = ctz32(nr_vectors); in msi_init()360 assert(vector < nr_vectors); in msi_notify()389 unsigned int nr_vectors; in msi_write_config() local[all …]
432 irq_set->count = vdev->nr_vectors; in vfio_enable_vectors()435 for (i = 0; i < vdev->nr_vectors; i++) { in vfio_enable_vectors()574 vdev->nr_vectors = nr + 1; in vfio_msix_vector_do_use()606 vdev->nr_vectors) == vdev->nr_vectors) { in vfio_msix_vector_do_use()663 for (i = 0; i < vdev->nr_vectors; i++) { in vfio_commit_kvm_msi_virq_batch()693 if (vdev->nr_vectors) { in vfio_msix_enable()737 for (i = 0; i < vdev->nr_vectors; i++) { in vfio_msi_enable()775 vdev->nr_vectors = ret; in vfio_msi_enable()796 for (i = 0; i < vdev->nr_vectors; i++) { in vfio_msi_disable_common()810 vdev->nr_vectors = 0; in vfio_msi_disable_common()[all …]
135 int nr_vectors; /* Number of MSI/MSIX vectors currently in use */ member
20 vfio_msi_enable(const char *name, int nr_vectors) " (%s) Enabled %d MSI vectors"
38 unsigned int nr_vectors, bool msi64bit,
67 int nr_vectors,
310 int nr_vectors, in sh_intc_register_sources() argument318 for (i = 0; i < nr_vectors; i++) { in sh_intc_register_sources()