Lines Matching defs:mdev
27 #include <linux/mdev.h>
93 /* State of each mdev device */
99 struct mdev_device *mdev;
148 struct device *dev = mdev_dev(mdev_state->mdev);
226 struct mdev_device *mdev = to_mdev_device(vdev->dev);
228 container_of(mdev->type, struct mdpy_type, type);
243 mdev_state->mdev = mdev;
258 static int mdpy_probe(struct mdev_device *mdev)
263 mdev_state = vfio_alloc_device(mdev_state, vdev, &mdev->dev,
271 dev_set_drvdata(&mdev->dev, mdev_state);
288 static void mdpy_remove(struct mdev_device *mdev)
290 struct mdev_state *mdev_state = dev_get_drvdata(&mdev->dev);
292 dev_info(&mdev->dev, "%s\n", __func__);