Lines Matching refs:vdev
62 #define is_intx(vdev) (vdev->irq_type == VFIO_PCI_INTX_IRQ_INDEX) argument
63 #define is_msi(vdev) (vdev->irq_type == VFIO_PCI_MSI_IRQ_INDEX) argument
64 #define is_msix(vdev) (vdev->irq_type == VFIO_PCI_MSIX_IRQ_INDEX) argument
65 #define is_irq_none(vdev) (!(is_intx(vdev) || is_msi(vdev) || is_msix(vdev))) argument
66 #define irq_is(vdev, type) (vdev->irq_type == type) argument
68 extern void vfio_pci_intx_mask(struct vfio_pci_device *vdev);
69 extern void vfio_pci_intx_unmask(struct vfio_pci_device *vdev);
71 extern int vfio_pci_set_irqs_ioctl(struct vfio_pci_device *vdev,
75 extern ssize_t vfio_pci_config_rw(struct vfio_pci_device *vdev,
79 extern ssize_t vfio_pci_bar_rw(struct vfio_pci_device *vdev, char __user *buf,
82 extern ssize_t vfio_pci_vga_rw(struct vfio_pci_device *vdev, char __user *buf,
91 extern int vfio_config_init(struct vfio_pci_device *vdev);
92 extern void vfio_config_free(struct vfio_pci_device *vdev);