Searched refs:mdev_device (Results 1 – 9 of 9) sorted by relevance
18 struct mdev_device { struct51 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()
24 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);
243 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()
98 int (*probe) (struct mdev_device *dev);99 void (*remove) (struct mdev_device *dev);117 the mdev_device and connect it to an appropriate implementation of127 used to trigger the creation of a mdev_device. The created mdev_device will be
102 struct mdev_device *mdev;229 struct mdev_device *mdev = to_mdev_device(vdev->dev); in mdpy_init_dev()261 static int mdpy_probe(struct mdev_device *mdev) in mdpy_probe()291 static void mdpy_remove(struct mdev_device *mdev) in mdpy_remove()
175 struct mdev_device *mdev;518 struct mdev_device *mdev = to_mdev_device(vdev->dev); in mbochs_init_dev()566 static int mbochs_probe(struct mdev_device *mdev) in mbochs_probe()597 static void mbochs_remove(struct mdev_device *mdev) in mbochs_remove()
160 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()
98 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()
1417 struct mdev_device *mdev = to_mdev_device(vfio_dev->dev); in intel_vgpu_init_dev()1458 static int intel_vgpu_probe(struct mdev_device *mdev) in intel_vgpu_probe()1484 static void intel_vgpu_remove(struct mdev_device *mdev) in intel_vgpu_remove()