Home
last modified time | relevance | path

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

/linux/include/linux/
H 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()
19 devmdev_device global() argument
20 uuidmdev_device global() argument
21 nextmdev_device global() argument
22 typemdev_device global() argument
23 activemdev_device global() argument
/linux/drivers/vfio/mdev/
H A Dmdev_private.h24 int mdev_create_sysfs_files(struct mdev_device *mdev);
25 void mdev_remove_sysfs_files(struct mdev_device *mdev);
28 int mdev_device_remove(struct mdev_device *dev);
H A Dmdev_core.c27 static void mdev_device_remove_common(struct mdev_device *mdev) in mdev_device_remove_common()
112 struct mdev_device *mdev = to_mdev_device(dev); in mdev_device_release()
131 struct mdev_device *mdev, *tmp; in mdev_device_create()
213 int mdev_device_remove(struct mdev_device *mdev) in mdev_device_remove()
215 struct mdev_device *tmp; in mdev_device_remove()
H A Dmdev_sysfs.c243 struct mdev_device *mdev = to_mdev_device(dev); in remove_store()
276 int mdev_create_sysfs_files(struct mdev_device *mdev) in mdev_create_sysfs_files()
296 void mdev_remove_sysfs_files(struct mdev_device *mdev) in mdev_remove_sysfs_files()
/linux/Documentation/driver-api/
H 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/drivers/s390/crypto/
H A Dvfio_ap_private.h121 struct mdev_device *mdev;
H A Dvfio_ap_ops.c790 static int vfio_ap_mdev_probe(struct mdev_device *mdev) in vfio_ap_mdev_probe()
860 static void vfio_ap_mdev_remove(struct mdev_device *mdev) in vfio_ap_mdev_remove()
/linux/drivers/s390/cio/
H 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/samples/vfio-mdev/
H A Dmtty.c160 struct mdev_device *mdev;
1316 struct mdev_device *mdev = to_mdev_device(vdev->dev); in mtty_init_dev()
1361 static int mtty_probe(struct mdev_device *mdev) in mtty_probe()
1393 static void mtty_remove(struct mdev_device *mdev) in mtty_remove()
/linux/drivers/gpu/drm/i915/gvt/
H A Dkvmgt.c1445 struct mdev_device *mdev = to_mdev_device(vfio_dev->dev); in intel_vgpu_init_dev()
1485 static int intel_vgpu_probe(struct mdev_device *mdev) in intel_vgpu_probe()
1511 static void intel_vgpu_remove(struct mdev_device *mdev) in intel_vgpu_remove()