Lines Matching defs:device
7 #include <linux/device.h>
68 struct device *mc_cont_dev = vdev->mc_dev->dev.parent;
69 struct vfio_device *device;
72 device = vfio_device_get_from_dev(mc_cont_dev);
73 if (!device) {
78 cont_vdev = vfio_device_data(device);
80 vfio_device_put(device);
86 vfio_device_put(device);
173 struct device *cont_dev = fsl_mc_cont_dev(&mc_dev->dev);
178 /* reset the device before cleaning up the interrupts */
185 dev_warn(&mc_cont->dev, "VFIO_FLS_MC: reset device has failed (%d)\n",
521 struct device *dev = data;
530 dev_warn(dev, "VFIO_FSL_MC: Setting driver override for device in dprc %s failed\n",
533 dev_info(dev, "VFIO_FSL_MC: Setting driver override for device in dprc %s\n",
610 struct device *dev = &mc_dev->dev;
643 * This triggers recursion into vfio_fsl_mc_probe() on another device
646 * safe to be after the vfio device is made live.
667 struct device *dev = &mc_dev->dev;