Lines Matching refs:vdev
63 #define is_intx(vdev) (vdev->irq_type == VFIO_PCI_INTX_IRQ_INDEX)
64 #define is_msi(vdev) (vdev->irq_type == VFIO_PCI_MSI_IRQ_INDEX)
65 #define is_msix(vdev) (vdev->irq_type == VFIO_PCI_MSIX_IRQ_INDEX)
66 #define is_irq_none(vdev) (!(is_intx(vdev) || is_msi(vdev) || is_msix(vdev)))
67 #define irq_is(vdev, type) (vdev->irq_type == type)
69 extern void vfio_pci_intx_mask(struct vfio_pci_device *vdev);
70 extern void vfio_pci_intx_unmask(struct vfio_pci_device *vdev);
72 extern int vfio_pci_set_irqs_ioctl(struct vfio_pci_device *vdev,
76 extern ssize_t vfio_pci_config_rw(struct vfio_pci_device *vdev,
80 extern ssize_t vfio_pci_bar_rw(struct vfio_pci_device *vdev, char __user *buf,
83 extern ssize_t vfio_pci_vga_rw(struct vfio_pci_device *vdev, char __user *buf,
92 extern int vfio_config_init(struct vfio_pci_device *vdev);
93 extern void vfio_config_free(struct vfio_pci_device *vdev);