Searched refs:to_mdev_device (Results 1 – 6 of 6) sorted by relevance
22 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()
44 struct mdev_device *mdev = to_mdev_device(dev); in mdev_probe()64 struct mdev_device *mdev = to_mdev_device(dev); in mdev_remove()
236 struct mdev_device *mdev = to_mdev_device(dev); in remove_store()
241 struct mdev_device *mdev = to_mdev_device(dev); in mdev_device_release()
25 static inline struct mdev_device *to_mdev_device(struct device *dev) in to_mdev_device() function182 return dev->bus == &mdev_bus_type ? to_mdev_device(dev) : NULL; in mdev_from_dev()
1939 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()