Lines Matching refs:vdev
64 #define is_intx(vdev) (vdev->irq_type == VFIO_PCI_INTX_IRQ_INDEX) argument
65 #define is_msi(vdev) (vdev->irq_type == VFIO_PCI_MSI_IRQ_INDEX) argument
66 #define is_msix(vdev) (vdev->irq_type == VFIO_PCI_MSIX_IRQ_INDEX) argument
67 #define is_irq_none(vdev) (!(is_intx(vdev) || is_msi(vdev) || is_msix(vdev))) argument
68 #define irq_is(vdev, type) (vdev->irq_type == type) argument
70 extern void vfio_pci_intx_mask(struct vfio_pci_device *vdev);
71 extern void vfio_pci_intx_unmask(struct vfio_pci_device *vdev);
73 extern int vfio_pci_set_irqs_ioctl(struct vfio_pci_device *vdev,
77 extern ssize_t vfio_pci_config_rw(struct vfio_pci_device *vdev,
81 extern ssize_t vfio_pci_bar_rw(struct vfio_pci_device *vdev, char __user *buf,
84 extern ssize_t vfio_pci_vga_rw(struct vfio_pci_device *vdev, char __user *buf,
90 extern int vfio_config_init(struct vfio_pci_device *vdev);
91 extern void vfio_config_free(struct vfio_pci_device *vdev);