Lines Matching defs:mdev
27 #include <linux/mdev.h>
95 /* State of each mdev device */
101 struct mdev_device *mdev;
150 struct device *dev = mdev_dev(mdev_state->mdev);
228 struct mdev_device *mdev = to_mdev_device(vdev->dev);
230 container_of(mdev->type, struct mdpy_type, type);
245 mdev_state->mdev = mdev;
260 static int mdpy_probe(struct mdev_device *mdev)
265 mdev_state = vfio_alloc_device(mdev_state, vdev, &mdev->dev,
273 dev_set_drvdata(&mdev->dev, mdev_state);
290 static void mdpy_remove(struct mdev_device *mdev)
292 struct mdev_state *mdev_state = dev_get_drvdata(&mdev->dev);
294 dev_info(&mdev->dev, "%s\n", __func__);