Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/vfio/fsl-mc/
Dvfio_fsl_mc_intr.c18 struct vfio_fsl_mc_irq *mc_irq; in vfio_fsl_mc_irqs_allocate() local
32 mc_irq = kcalloc(irq_count, sizeof(*mc_irq), GFP_KERNEL_ACCOUNT); in vfio_fsl_mc_irqs_allocate()
33 if (!mc_irq) in vfio_fsl_mc_irqs_allocate()
39 kfree(mc_irq); in vfio_fsl_mc_irqs_allocate()
44 mc_irq[i].count = 1; in vfio_fsl_mc_irqs_allocate()
45 mc_irq[i].flags = VFIO_IRQ_INFO_EVENTFD; in vfio_fsl_mc_irqs_allocate()
48 vdev->mc_irqs = mc_irq; in vfio_fsl_mc_irqs_allocate()
55 struct vfio_fsl_mc_irq *mc_irq = (struct vfio_fsl_mc_irq *)arg; in vfio_fsl_mc_irq_handler() local
57 eventfd_signal(mc_irq->trigger); in vfio_fsl_mc_irq_handler()