Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/vfio/pci/
Dvfio_pci_intrs.c32 if (likely(is_intx(vdev) && !vdev->virq_disabled)) in vfio_send_intx_eventfd()
49 if (unlikely(!is_intx(vdev))) { in vfio_pci_intx_mask()
87 if (unlikely(!is_intx(vdev))) { in vfio_pci_intx_unmask_handler()
408 if (!is_intx(vdev) || start != 0 || count != 1) in vfio_pci_set_intx_unmask()
435 if (!is_intx(vdev) || start != 0 || count != 1) in vfio_pci_set_intx_mask()
455 if (is_intx(vdev) && !count && (flags & VFIO_IRQ_SET_DATA_NONE)) { in vfio_pci_set_intx_trigger()
460 if (!(is_intx(vdev) || is_irq_none(vdev)) || start != 0 || count != 1) in vfio_pci_set_intx_trigger()
467 if (is_intx(vdev)) in vfio_pci_set_intx_trigger()
481 if (!is_intx(vdev)) in vfio_pci_set_intx_trigger()
Dvfio_pci_private.h127 #define is_intx(vdev) (vdev->irq_type == VFIO_PCI_INTX_IRQ_INDEX) macro
130 #define is_irq_none(vdev) (!(is_intx(vdev) || is_msi(vdev) || is_msix(vdev)))