Searched refs:xe_vdev (Results 1 – 1 of 1) sorted by relevance
23 struct xe_vfio_pci_core_device *xe_vdev; member41 #define xe_vdev_to_dev(xe_vdev) (&(xe_vdev)->core_device.pdev->dev) argument50 static void xe_vfio_pci_put_file(struct xe_vfio_pci_core_device *xe_vdev) in xe_vfio_pci_put_file() argument52 xe_vfio_pci_disable_file(xe_vdev->migf); in xe_vfio_pci_put_file()53 fput(xe_vdev->migf->filp); in xe_vfio_pci_put_file()54 xe_vdev->migf = NULL; in xe_vfio_pci_put_file()57 static void xe_vfio_pci_reset(struct xe_vfio_pci_core_device *xe_vdev) in xe_vfio_pci_reset() argument59 if (xe_vdev->migf) in xe_vfio_pci_reset()60 xe_vfio_pci_put_file(xe_vdev); in xe_vfio_pci_reset()62 xe_vdev->mig_state = VFIO_DEVICE_STATE_RUNNING; in xe_vfio_pci_reset()[all …]