Lines Matching refs:vdev
66 #define is_intx(vdev) (vdev->irq_type == VFIO_PCI_INTX_IRQ_INDEX) argument
67 #define is_msi(vdev) (vdev->irq_type == VFIO_PCI_MSI_IRQ_INDEX) argument
68 #define is_msix(vdev) (vdev->irq_type == VFIO_PCI_MSIX_IRQ_INDEX) argument
69 #define is_irq_none(vdev) (!(is_intx(vdev) || is_msi(vdev) || is_msix(vdev))) argument
70 #define irq_is(vdev, type) (vdev->irq_type == type) argument
72 extern void vfio_pci_intx_mask(struct vfio_pci_device *vdev);
73 extern void vfio_pci_intx_unmask(struct vfio_pci_device *vdev);
75 extern int vfio_pci_set_irqs_ioctl(struct vfio_pci_device *vdev,
79 extern ssize_t vfio_pci_config_rw(struct vfio_pci_device *vdev,
83 extern ssize_t vfio_pci_bar_rw(struct vfio_pci_device *vdev, char __user *buf,
86 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);