Home
last modified time | relevance | path

Searched refs:vfio_device (Results 26 – 38 of 38) sorted by relevance

12

/openbmc/linux/drivers/vfio/fsl-mc/
H A Dvfio_fsl_mc_private.h34 struct vfio_device vdev;
/openbmc/linux/drivers/gpu/drm/i915/gvt/
H A Dgvt.h183 struct vfio_device vfio_device; member
736 return vfio_dma_rw(&vgpu->vfio_device, gpa, buf, len, false); in intel_gvt_read_gpa()
754 return vfio_dma_rw(&vgpu->vfio_device, gpa, buf, len, true); in intel_gvt_write_gpa()
/openbmc/linux/drivers/s390/crypto/
H A Dvfio_ap_private.h114 struct vfio_device vdev;
H A Dvfio_ap_ops.c739 static int vfio_ap_mdev_init_dev(struct vfio_device *vdev) in vfio_ap_mdev_init_dev()
1630 static void vfio_ap_mdev_dma_unmap(struct vfio_device *vdev, u64 iova, in vfio_ap_mdev_dma_unmap()
1833 static int vfio_ap_mdev_open_device(struct vfio_device *vdev) in vfio_ap_mdev_open_device()
1844 static void vfio_ap_mdev_close_device(struct vfio_device *vdev) in vfio_ap_mdev_close_device()
1852 static void vfio_ap_mdev_request(struct vfio_device *vdev, unsigned int count) in vfio_ap_mdev_request()
1996 static ssize_t vfio_ap_mdev_ioctl(struct vfio_device *vdev, in vfio_ap_mdev_ioctl()
/openbmc/linux/samples/vfio-mdev/
H A Dmbochs.c172 struct vfio_device vdev;
516 static int mbochs_init_dev(struct vfio_device *vdev) in mbochs_init_dev()
589 static void mbochs_release_dev(struct vfio_device *vdev) in mbochs_release_dev()
607 static ssize_t mbochs_read(struct vfio_device *vdev, char __user *buf, in mbochs_read()
668 static ssize_t mbochs_write(struct vfio_device *vdev, const char __user *buf, in mbochs_write()
795 static int mbochs_mmap(struct vfio_device *vdev, struct vm_area_struct *vma) in mbochs_mmap()
1185 static long mbochs_ioctl(struct vfio_device *vdev, unsigned int cmd, in mbochs_ioctl()
1305 static void mbochs_close_device(struct vfio_device *vdev) in mbochs_close_device()
H A Dmtty.c129 struct vfio_device vdev;
746 static int mtty_init_dev(struct vfio_device *vdev) in mtty_init_dev()
806 static void mtty_release_dev(struct vfio_device *vdev) in mtty_release_dev()
830 static ssize_t mtty_read(struct vfio_device *vdev, char __user *buf, in mtty_read()
891 static ssize_t mtty_write(struct vfio_device *vdev, const char __user *buf, in mtty_write()
1201 static long mtty_ioctl(struct vfio_device *vdev, unsigned int cmd, in mtty_ioctl()
1348 static void mtty_close(struct vfio_device *vdev) in mtty_close()
/openbmc/linux/drivers/vfio/pci/mlx5/
H A Dmain.c1160 mlx5vf_pci_set_device_state(struct vfio_device *vdev, in mlx5vf_pci_set_device_state()
1191 static int mlx5vf_pci_get_data_size(struct vfio_device *vdev, in mlx5vf_pci_get_data_size()
1208 static int mlx5vf_pci_get_device_state(struct vfio_device *vdev, in mlx5vf_pci_get_device_state()
1244 static int mlx5vf_pci_open_device(struct vfio_device *core_vdev) in mlx5vf_pci_open_device()
1261 static void mlx5vf_pci_close_device(struct vfio_device *core_vdev) in mlx5vf_pci_close_device()
1282 static int mlx5vf_pci_init_dev(struct vfio_device *core_vdev) in mlx5vf_pci_init_dev()
1298 static void mlx5vf_pci_release_dev(struct vfio_device *core_vdev) in mlx5vf_pci_release_dev()
H A Dcmd.c1344 int mlx5vf_stop_page_tracker(struct vfio_device *vdev) in mlx5vf_stop_page_tracker()
1360 int mlx5vf_start_page_tracker(struct vfio_device *vdev, in mlx5vf_start_page_tracker()
1566 int mlx5vf_tracker_read_and_clear(struct vfio_device *vdev, unsigned long iova, in mlx5vf_tracker_read_and_clear()
/openbmc/linux/drivers/vfio/pci/pds/
H A Ddirty.c521 int pds_vfio_dma_logging_report(struct vfio_device *vdev, unsigned long iova, in pds_vfio_dma_logging_report()
536 int pds_vfio_dma_logging_start(struct vfio_device *vdev, in pds_vfio_dma_logging_start()
553 int pds_vfio_dma_logging_stop(struct vfio_device *vdev) in pds_vfio_dma_logging_stop()
/openbmc/linux/drivers/s390/cio/
H A Dvfio_ccw_private.h107 struct vfio_device vdev;
/openbmc/linux/Documentation/driver-api/
H A Dvfio-mediated-device.rst116 The mediated bus driver's probe function should create a vfio_device on top of
255 int vfio_pin_pages(struct vfio_device *device, dma_addr_t iova,
258 void vfio_unpin_pages(struct vfio_device *device, dma_addr_t iova,
/openbmc/linux/drivers/vfio/pci/
H A Dvfio_pci.c103 static int vfio_pci_open_device(struct vfio_device *core_vdev) in vfio_pci_open_device()
/openbmc/linux/drivers/vfio/
H A Dvfio_iommu_type1.c1258 struct vfio_device *device; in vfio_notify_dma_unmap()
3019 struct vfio_device *vdev) in vfio_iommu_type1_register_device()
3040 struct vfio_device *vdev) in vfio_iommu_type1_unregister_device()

12