Home
last modified time | relevance | path

Searched refs:to_mdev_device (Results 1 – 9 of 9) sorted by relevance

/openbmc/linux/drivers/vfio/mdev/
H A Dmdev_driver.c22 return drv->probe(to_mdev_device(dev)); in mdev_probe()
31 drv->remove(to_mdev_device(dev)); in mdev_remove()
H A Dmdev_core.c41 mdev_device_remove_common(to_mdev_device(dev)); in mdev_device_remove_cb()
112 struct mdev_device *mdev = to_mdev_device(dev); in mdev_device_release()
H A Dmdev_sysfs.c243 struct mdev_device *mdev = to_mdev_device(dev); in remove_store()
/openbmc/linux/include/linux/
H A Dmdev.h51 static inline struct mdev_device *to_mdev_device(struct device *dev) in to_mdev_device() function
/openbmc/linux/samples/vfio-mdev/
H A Dmdpy.c226 struct mdev_device *mdev = to_mdev_device(vdev->dev); in mdpy_init_dev()
H A Dmtty.c750 struct mdev_device *mdev = to_mdev_device(vdev->dev); in mtty_init_dev()
H A Dmbochs.c520 struct mdev_device *mdev = to_mdev_device(vdev->dev); in mbochs_init_dev()
/openbmc/linux/drivers/gpu/drm/i915/gvt/
H A Dkvmgt.c1437 struct mdev_device *mdev = to_mdev_device(vfio_dev->dev); in intel_vgpu_init_dev()
/openbmc/linux/drivers/s390/crypto/
H A Dvfio_ap_ops.c744 matrix_mdev->mdev = to_mdev_device(vdev->dev); in vfio_ap_mdev_init_dev()