Home
last modified time | relevance | path

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

/linux/drivers/vfio/mdev/
A 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()
A Dmdev_driver.c23 return drv->probe(to_mdev_device(dev)); in mdev_probe()
32 drv->remove(to_mdev_device(dev)); in mdev_remove()
A Dmdev_sysfs.c236 struct mdev_device *mdev = to_mdev_device(dev); in remove_store()
A Dmdev_core.c241 struct mdev_device *mdev = to_mdev_device(dev); in mdev_device_release()
/linux/include/linux/
A Dmdev.h24 static inline struct mdev_device *to_mdev_device(struct device *dev) in to_mdev_device() function
162 return dev->bus == &mdev_bus_type ? to_mdev_device(dev) : NULL; in mdev_from_dev()

Completed in 8 milliseconds