Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/vfio/mdev/
Dvfio_mdev.c22 struct mdev_device *mdev = to_mdev_device(core_vdev->dev); in vfio_mdev_open_device()
33 struct mdev_device *mdev = to_mdev_device(core_vdev->dev); in vfio_mdev_close_device()
43 struct mdev_device *mdev = to_mdev_device(core_vdev->dev); in vfio_mdev_unlocked_ioctl()
55 struct mdev_device *mdev = to_mdev_device(core_vdev->dev); in vfio_mdev_read()
68 struct mdev_device *mdev = to_mdev_device(core_vdev->dev); in vfio_mdev_write()
80 struct mdev_device *mdev = to_mdev_device(core_vdev->dev); in vfio_mdev_mmap()
91 struct mdev_device *mdev = to_mdev_device(core_vdev->dev); in vfio_mdev_request()
Dmdev_driver.c44 struct mdev_device *mdev = to_mdev_device(dev); in mdev_probe()
64 struct mdev_device *mdev = to_mdev_device(dev); in mdev_remove()
Dmdev_sysfs.c236 struct mdev_device *mdev = to_mdev_device(dev); in remove_store()
Dmdev_core.c241 struct mdev_device *mdev = to_mdev_device(dev); in mdev_device_release()
/Linux-v5.15/include/linux/
Dmdev.h25 static inline struct mdev_device *to_mdev_device(struct device *dev) in to_mdev_device() function
182 return dev->bus == &mdev_bus_type ? to_mdev_device(dev) : NULL; in mdev_from_dev()
/Linux-v5.15/drivers/vfio/
Dvfio_iommu_type1.c1939 struct mdev_device *mdev = to_mdev_device(dev); in vfio_mdev_attach_domain()
1956 struct mdev_device *mdev = to_mdev_device(dev); in vfio_mdev_detach_domain()
2008 struct mdev_device *mdev = to_mdev_device(dev); in vfio_mdev_iommu_device()