Home
last modified time | relevance | path

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

/openbmc/linux/drivers/vfio/pci/
H A Dvfio_pci_intrs.c39 static bool is_intx(struct vfio_pci_core_device *vdev) in is_intx() function
91 if (likely(is_intx(vdev) && !vdev->virq_disabled)) { in vfio_send_intx_eventfd()
123 if (unlikely(!is_intx(vdev))) { in __vfio_pci_intx_mask()
183 if (unlikely(!is_intx(vdev))) { in vfio_pci_intx_unmask_handler()
593 if (!is_intx(vdev) || start != 0 || count != 1) in vfio_pci_set_intx_unmask()
624 if (!is_intx(vdev) || start != 0 || count != 1) in vfio_pci_set_intx_mask()
644 if (is_intx(vdev) && !count && (flags & VFIO_IRQ_SET_DATA_NONE)) { in vfio_pci_set_intx_trigger()
649 if (!(is_intx(vdev) || is_irq_none(vdev)) || start != 0 || count != 1) in vfio_pci_set_intx_trigger()
663 if (is_intx(vdev)) in vfio_pci_set_intx_trigger()
674 if (!is_intx(vdev)) in vfio_pci_set_intx_trigger()
/openbmc/linux/samples/vfio-mdev/
H A Dmtty.c185 static bool is_intx(struct mdev_state *mdev_state) in is_intx() function
197 return !is_intx(mdev_state) && !is_msi(mdev_state); in is_noirq()
207 } else if (is_intx(mdev_state)) { in mtty_trigger_interrupt()
980 if (!is_intx(mdev_state) || start != 0 || count != 1) { in mtty_set_irqs()
997 if (!is_intx(mdev_state) || start != 0 || count != 1) { in mtty_set_irqs()
1014 if (is_intx(mdev_state) && !count && in mtty_set_irqs()
1020 if (!(is_intx(mdev_state) || is_noirq(mdev_state)) || in mtty_set_irqs()
1045 if (!is_intx(mdev_state)) { in mtty_set_irqs()