Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/gpu/drm/i915/gvt/
Dkvmgt.c106 #define vfio_dev_to_vgpu(vfio_dev) \ argument
107 container_of((vfio_dev), struct intel_vgpu, vfio_device)
612 static void intel_vgpu_dma_unmap(struct vfio_device *vfio_dev, u64 iova, in intel_vgpu_dma_unmap() argument
615 struct intel_vgpu *vgpu = vfio_dev_to_vgpu(vfio_dev); in intel_vgpu_dma_unmap()
654 static int intel_vgpu_open_device(struct vfio_device *vfio_dev) in intel_vgpu_open_device() argument
656 struct intel_vgpu *vgpu = vfio_dev_to_vgpu(vfio_dev); in intel_vgpu_open_device()
701 static void intel_vgpu_close_device(struct vfio_device *vfio_dev) in intel_vgpu_close_device() argument
703 struct intel_vgpu *vgpu = vfio_dev_to_vgpu(vfio_dev); in intel_vgpu_close_device()
868 static ssize_t intel_vgpu_read(struct vfio_device *vfio_dev, char __user *buf, in intel_vgpu_read() argument
871 struct intel_vgpu *vgpu = vfio_dev_to_vgpu(vfio_dev); in intel_vgpu_read()
[all …]
/linux-6.1.9/drivers/vfio/
Dcontainer.c419 static struct miscdevice vfio_dev = { variable
656 ret = misc_register(&vfio_dev); in vfio_container_init()
670 misc_deregister(&vfio_dev); in vfio_container_init()
678 misc_deregister(&vfio_dev); in vfio_container_cleanup()