Searched refs:mdev_device (Results 1 – 17 of 17) sorted by relevance
/Linux-v5.15/include/linux/ |
D | mdev.h | 15 struct mdev_device { struct 25 static inline struct mdev_device *to_mdev_device(struct device *dev) in to_mdev_device() argument 27 return container_of(dev, struct mdev_device, dev); in to_mdev_device() 38 static inline void mdev_set_iommu_device(struct mdev_device *mdev, in mdev_set_iommu_device() 44 static inline struct device *mdev_get_iommu_device(struct mdev_device *mdev) in mdev_get_iommu_device() 49 unsigned int mdev_get_type_group_id(struct mdev_device *mdev); 107 int (*create)(struct mdev_device *mdev); 108 int (*remove)(struct mdev_device *mdev); 109 int (*open_device)(struct mdev_device *mdev); 110 void (*close_device)(struct mdev_device *mdev); [all …]
|
/Linux-v5.15/drivers/vfio/mdev/ |
D | vfio_mdev.c | 22 struct mdev_device *mdev = to_mdev_device(core_vdev->dev); in vfio_mdev_open_device() 33 struct mdev_device *mdev = to_mdev_device(core_vdev->dev); in vfio_mdev_close_device() 43 struct mdev_device *mdev = to_mdev_device(core_vdev->dev); in vfio_mdev_unlocked_ioctl() 55 struct mdev_device *mdev = to_mdev_device(core_vdev->dev); in vfio_mdev_read() 68 struct mdev_device *mdev = to_mdev_device(core_vdev->dev); in vfio_mdev_write() 80 struct mdev_device *mdev = to_mdev_device(core_vdev->dev); in vfio_mdev_mmap() 91 struct mdev_device *mdev = to_mdev_device(core_vdev->dev); in vfio_mdev_request() 112 static int vfio_mdev_probe(struct mdev_device *mdev) in vfio_mdev_probe() 135 static void vfio_mdev_remove(struct mdev_device *mdev) in vfio_mdev_remove()
|
D | mdev_driver.c | 16 static int mdev_attach_iommu(struct mdev_device *mdev) in mdev_attach_iommu() 34 static void mdev_detach_iommu(struct mdev_device *mdev) in mdev_detach_iommu() 44 struct mdev_device *mdev = to_mdev_device(dev); in mdev_probe() 64 struct mdev_device *mdev = to_mdev_device(dev); in mdev_remove()
|
D | mdev_core.c | 30 struct device *mdev_parent_dev(struct mdev_device *mdev) in mdev_parent_dev() 40 unsigned int mdev_get_type_group_id(struct mdev_device *mdev) in mdev_get_type_group_id() 89 static void mdev_device_remove_common(struct mdev_device *mdev) in mdev_device_remove_common() 109 struct mdev_device *mdev = mdev_from_dev(dev); in mdev_device_remove_cb() 241 struct mdev_device *mdev = to_mdev_device(dev); in mdev_device_release() 257 struct mdev_device *mdev, *tmp; in mdev_device_create() 338 int mdev_device_remove(struct mdev_device *mdev) in mdev_device_remove() 340 struct mdev_device *tmp; in mdev_device_remove()
|
D | mdev_private.h | 45 int mdev_create_sysfs_files(struct mdev_device *mdev); 46 void mdev_remove_sysfs_files(struct mdev_device *mdev); 49 int mdev_device_remove(struct mdev_device *dev);
|
D | mdev_sysfs.c | 236 struct mdev_device *mdev = to_mdev_device(dev); in remove_store() 260 int mdev_create_sysfs_files(struct mdev_device *mdev) in mdev_create_sysfs_files() 287 void mdev_remove_sysfs_files(struct mdev_device *mdev) in mdev_remove_sysfs_files()
|
/Linux-v5.15/drivers/s390/cio/ |
D | vfio_ccw_ops.c | 20 static int vfio_ccw_mdev_reset(struct mdev_device *mdev) in vfio_ccw_mdev_reset() 116 static int vfio_ccw_mdev_create(struct mdev_device *mdev) in vfio_ccw_mdev_create() 138 static int vfio_ccw_mdev_remove(struct mdev_device *mdev) in vfio_ccw_mdev_remove() 162 static int vfio_ccw_mdev_open_device(struct mdev_device *mdev) in vfio_ccw_mdev_open_device() 197 static void vfio_ccw_mdev_close_device(struct mdev_device *mdev) in vfio_ccw_mdev_close_device() 236 static ssize_t vfio_ccw_mdev_read(struct mdev_device *mdev, in vfio_ccw_mdev_read() 289 static ssize_t vfio_ccw_mdev_write(struct mdev_device *mdev, in vfio_ccw_mdev_write() 315 struct mdev_device *mdev) in vfio_ccw_mdev_get_device_info() 328 struct mdev_device *mdev, in vfio_ccw_mdev_get_region_info() 409 static int vfio_ccw_mdev_set_irqs(struct mdev_device *mdev, in vfio_ccw_mdev_set_irqs() [all …]
|
D | vfio_ccw_private.h | 97 struct mdev_device *mdev;
|
D | vfio_ccw_fsm.c | 245 struct mdev_device *mdev = private->mdev; in fsm_io_request()
|
/Linux-v5.15/drivers/gpu/drm/i915/gvt/ |
D | kvmgt.c | 113 struct mdev_device *mdev; 245 static int kvmgt_guest_init(struct mdev_device *mdev); 790 static int intel_vgpu_create(struct mdev_device *mdev) in intel_vgpu_create() 827 static int intel_vgpu_remove(struct mdev_device *mdev) in intel_vgpu_remove() 888 static int intel_vgpu_open_device(struct mdev_device *mdev) in intel_vgpu_open_device() 1007 static void intel_vgpu_close_device(struct mdev_device *mdev) in intel_vgpu_close_device() 1097 static ssize_t intel_vgpu_rw(struct mdev_device *mdev, char *buf, in intel_vgpu_rw() 1147 static bool gtt_entry(struct mdev_device *mdev, loff_t *ppos) in gtt_entry() 1166 static ssize_t intel_vgpu_read(struct mdev_device *mdev, char __user *buf, in intel_vgpu_read() 1239 static ssize_t intel_vgpu_write(struct mdev_device *mdev, in intel_vgpu_write() [all …]
|
/Linux-v5.15/drivers/s390/crypto/ |
D | vfio_ap_private.h | 90 struct mdev_device *mdev;
|
D | vfio_ap_ops.c | 331 static int vfio_ap_mdev_probe(struct mdev_device *mdev) in vfio_ap_mdev_probe() 371 static void vfio_ap_mdev_remove(struct mdev_device *mdev) in vfio_ap_mdev_remove()
|
/Linux-v5.15/Documentation/driver-api/ |
D | vfio-mediated-device.rst | 106 int (*probe) (struct mdev_device *dev); 107 void (*remove) (struct mdev_device *dev); 151 used to trigger the creation of a mdev_device. The created mdev_device will be
|
/Linux-v5.15/samples/vfio-mdev/ |
D | mdpy.c | 96 struct mdev_device *mdev; 219 static int mdpy_probe(struct mdev_device *mdev) in mdpy_probe() 276 static void mdpy_remove(struct mdev_device *mdev) in mdpy_remove()
|
D | mtty.c | 137 struct mdev_device *mdev; 706 static int mtty_probe(struct mdev_device *mdev) in mtty_probe() 760 static void mtty_remove(struct mdev_device *mdev) in mtty_remove()
|
D | mbochs.c | 169 struct mdev_device *mdev; 508 static int mbochs_probe(struct mdev_device *mdev) in mbochs_probe() 571 static void mbochs_remove(struct mdev_device *mdev) in mbochs_remove()
|
/Linux-v5.15/drivers/vfio/ |
D | vfio_iommu_type1.c | 1939 struct mdev_device *mdev = to_mdev_device(dev); in vfio_mdev_attach_domain() 1956 struct mdev_device *mdev = to_mdev_device(dev); in vfio_mdev_detach_domain() 2008 struct mdev_device *mdev = to_mdev_device(dev); in vfio_mdev_iommu_device()
|