Home
last modified time | relevance | path

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

/linux-6.3-rc2/include/linux/
A Dmdev.h18 struct mdev_device { struct
51 static inline struct mdev_device *to_mdev_device(struct device *dev) in to_mdev_device()
53 return container_of(dev, struct mdev_device, dev); in to_mdev_device()
69 int (*probe)(struct mdev_device *dev);
70 void (*remove)(struct mdev_device *dev);
84 static inline struct device *mdev_dev(struct mdev_device *mdev) in mdev_dev()
/linux-6.3-rc2/drivers/vfio/mdev/
A Dmdev_private.h27 int mdev_create_sysfs_files(struct mdev_device *mdev);
28 void mdev_remove_sysfs_files(struct mdev_device *mdev);
31 int mdev_device_remove(struct mdev_device *dev);
A Dmdev_core.c27 static void mdev_device_remove_common(struct mdev_device *mdev) in mdev_device_remove_common()
118 struct mdev_device *mdev = to_mdev_device(dev); in mdev_device_release()
137 struct mdev_device *mdev, *tmp; in mdev_device_create()
219 int mdev_device_remove(struct mdev_device *mdev) in mdev_device_remove()
221 struct mdev_device *tmp; in mdev_device_remove()
A Dmdev_sysfs.c242 struct mdev_device *mdev = to_mdev_device(dev); in remove_store()
275 int mdev_create_sysfs_files(struct mdev_device *mdev) in mdev_create_sysfs_files()
295 void mdev_remove_sysfs_files(struct mdev_device *mdev) in mdev_remove_sysfs_files()
/linux-6.3-rc2/Documentation/driver-api/
A Dvfio-mediated-device.rst98 int (*probe) (struct mdev_device *dev);
99 void (*remove) (struct mdev_device *dev);
117 the mdev_device and connect it to an appropriate implementation of
127 used to trigger the creation of a mdev_device. The created mdev_device will be
/linux-6.3-rc2/samples/vfio-mdev/
A Dmdpy.c99 struct mdev_device *mdev;
226 struct mdev_device *mdev = to_mdev_device(vdev->dev); in mdpy_init_dev()
258 static int mdpy_probe(struct mdev_device *mdev) in mdpy_probe()
288 static void mdpy_remove(struct mdev_device *mdev) in mdpy_remove()
A Dmtty.c136 struct mdev_device *mdev;
724 struct mdev_device *mdev = to_mdev_device(vdev->dev); in mtty_init_dev()
759 static int mtty_probe(struct mdev_device *mdev) in mtty_probe()
789 static void mtty_remove(struct mdev_device *mdev) in mtty_remove()
A Dmbochs.c177 struct mdev_device *mdev;
520 struct mdev_device *mdev = to_mdev_device(vdev->dev); in mbochs_init_dev()
568 static int mbochs_probe(struct mdev_device *mdev) in mbochs_probe()
599 static void mbochs_remove(struct mdev_device *mdev) in mbochs_remove()
/linux-6.3-rc2/drivers/s390/crypto/
A Dvfio_ap_private.h118 struct mdev_device *mdev;
A Dvfio_ap_ops.c706 static int vfio_ap_mdev_probe(struct mdev_device *mdev) in vfio_ap_mdev_probe()
773 static void vfio_ap_mdev_remove(struct mdev_device *mdev) in vfio_ap_mdev_remove()
/linux-6.3-rc2/drivers/s390/cio/
A Dvfio_ccw_ops.c98 static int vfio_ccw_mdev_probe(struct mdev_device *mdev) in vfio_ccw_mdev_probe()
148 static void vfio_ccw_mdev_remove(struct mdev_device *mdev) in vfio_ccw_mdev_remove()
/linux-6.3-rc2/drivers/gpu/drm/i915/gvt/
A Dkvmgt.c1440 struct mdev_device *mdev = to_mdev_device(vfio_dev->dev); in intel_vgpu_init_dev()
1479 static int intel_vgpu_probe(struct mdev_device *mdev) in intel_vgpu_probe()
1505 static void intel_vgpu_remove(struct mdev_device *mdev) in intel_vgpu_remove()

Completed in 23 milliseconds