Home
last modified time | relevance | path

Searched refs:msi_vectors (Results 1 – 3 of 3) sorted by relevance

/openbmc/qemu/hw/misc/
H A Divshmem.c113 MSIVector *msi_vectors; member
258 int vector = entry - s->msi_vectors; in ivshmem_vector_notify()
280 MSIVector *v = &s->msi_vectors[vector]; in ivshmem_vector_unmask()
309 MSIVector *v = &s->msi_vectors[vector]; in ivshmem_vector_mask()
356 assert(!s->msi_vectors[vector].pdev); in watch_vector_notifier()
357 s->msi_vectors[vector].pdev = PCI_DEVICE(s); in watch_vector_notifier()
360 NULL, &s->msi_vectors[vector]); in watch_vector_notifier()
431 assert(!s->msi_vectors[vector].pdev); in ivshmem_add_kvm_msi_virq()
441 s->msi_vectors[vector].virq = ret; in ivshmem_add_kvm_msi_virq()
442 s->msi_vectors[vector].pdev = pdev; in ivshmem_add_kvm_msi_virq()
[all …]
/openbmc/qemu/hw/vfio/
H A Dpci.c347 int nr = vector - vdev->msi_vectors; in vfio_msi_interrupt()
444 if (vdev->msi_vectors[i].use) { in vfio_enable_vectors()
445 if (vdev->msi_vectors[i].virq < 0 || in vfio_enable_vectors()
447 fd = event_notifier_get_fd(&vdev->msi_vectors[i].interrupt); in vfio_enable_vectors()
449 fd = event_notifier_get_fd(&vdev->msi_vectors[i].kvm_interrupt); in vfio_enable_vectors()
524 vector = &vdev->msi_vectors[nr]; in vfio_msix_vector_do_use()
623 VFIOMSIVector *vector = &vdev->msi_vectors[nr]; in vfio_msix_vector_release()
664 vfio_connect_kvm_msi_virq(&vdev->msi_vectors[i]); in vfio_commit_kvm_msi_virq_batch()
674 vdev->msi_vectors = g_new0(VFIOMSIVector, vdev->msix->entries); in vfio_msix_enable()
735 vdev->msi_vectors = g_new0(VFIOMSIVector, vdev->nr_vectors); in vfio_msi_enable()
[all …]
H A Dpci.h133 VFIOMSIVector *msi_vectors; member