Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/vfio/pci/
Dvfio_pci_intrs.c40 static bool is_intx(struct vfio_pci_core_device *vdev) in is_intx() function
92 if (likely(is_intx(vdev) && !vdev->virq_disabled)) { in vfio_send_intx_eventfd()
119 if (unlikely(!is_intx(vdev))) { in __vfio_pci_intx_mask()
179 if (unlikely(!is_intx(vdev))) { in vfio_pci_intx_unmask_handler()
584 if (!is_intx(vdev) || start != 0 || count != 1) in vfio_pci_set_intx_unmask()
615 if (!is_intx(vdev) || start != 0 || count != 1) in vfio_pci_set_intx_mask()
635 if (is_intx(vdev) && !count && (flags & VFIO_IRQ_SET_DATA_NONE)) { in vfio_pci_set_intx_trigger()
640 if (!(is_intx(vdev) || is_irq_none(vdev)) || start != 0 || count != 1) in vfio_pci_set_intx_trigger()
654 if (is_intx(vdev)) in vfio_pci_set_intx_trigger()
665 if (!is_intx(vdev)) in vfio_pci_set_intx_trigger()
/linux-6.12.1/samples/vfio-mdev/
Dmtty.c216 static bool is_intx(struct mdev_state *mdev_state) in is_intx() function
228 return !is_intx(mdev_state) && !is_msi(mdev_state); in is_noirq()
238 } else if (is_intx(mdev_state)) { in mtty_trigger_interrupt()
1567 if (!is_intx(mdev_state) || start != 0 || count != 1) { in mtty_set_irqs()
1584 if (!is_intx(mdev_state) || start != 0 || count != 1) { in mtty_set_irqs()
1601 if (is_intx(mdev_state) && !count && in mtty_set_irqs()
1607 if (!(is_intx(mdev_state) || is_noirq(mdev_state)) || in mtty_set_irqs()
1632 if (!is_intx(mdev_state)) { in mtty_set_irqs()