Home
last modified time | relevance | path

Searched refs:xe_vdev (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/vfio/pci/xe/
H A Dmain.c23 struct xe_vfio_pci_core_device *xe_vdev; member
41 #define xe_vdev_to_dev(xe_vdev) (&(xe_vdev)->core_device.pdev->dev) argument
50 static void xe_vfio_pci_put_file(struct xe_vfio_pci_core_device *xe_vdev) in xe_vfio_pci_put_file() argument
52 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() argument
59 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 …]