Lines Matching refs:vfio_dev

106 #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()
942 static ssize_t intel_vgpu_write(struct vfio_device *vfio_dev, in intel_vgpu_write() argument
946 struct intel_vgpu *vgpu = vfio_dev_to_vgpu(vfio_dev); in intel_vgpu_write()
1016 static int intel_vgpu_mmap(struct vfio_device *vfio_dev, in intel_vgpu_mmap() argument
1019 struct intel_vgpu *vgpu = vfio_dev_to_vgpu(vfio_dev); in intel_vgpu_mmap()
1146 static long intel_vgpu_ioctl(struct vfio_device *vfio_dev, unsigned int cmd, in intel_vgpu_ioctl() argument
1149 struct intel_vgpu *vgpu = vfio_dev_to_vgpu(vfio_dev); in intel_vgpu_ioctl()
1446 static int intel_vgpu_init_dev(struct vfio_device *vfio_dev) in intel_vgpu_init_dev() argument
1448 struct mdev_device *mdev = to_mdev_device(vfio_dev->dev); in intel_vgpu_init_dev()
1449 struct intel_vgpu *vgpu = vfio_dev_to_vgpu(vfio_dev); in intel_vgpu_init_dev()
1457 static void intel_vgpu_release_dev(struct vfio_device *vfio_dev) in intel_vgpu_release_dev() argument
1459 struct intel_vgpu *vgpu = vfio_dev_to_vgpu(vfio_dev); in intel_vgpu_release_dev()
1462 vfio_free_device(vfio_dev); in intel_vgpu_release_dev()