Lines Matching defs:adev
24 struct amba_device *adev = (struct amba_device *) vdev->opaque;
27 return &adev->res;
34 struct amba_device *adev = (struct amba_device *) vdev->opaque;
38 ret = adev->irq[i];
48 struct amba_device *adev = to_amba_device(core_vdev->dev);
51 vdev->name = kasprintf(GFP_KERNEL, "vfio-amba-%08x", adev->periphid);
55 vdev->opaque = (void *) adev;
68 static int vfio_amba_probe(struct amba_device *adev, const struct amba_id *id)
73 vdev = vfio_alloc_device(vfio_platform_device, vdev, &adev->dev,
82 pm_runtime_enable(&adev->dev);
83 dev_set_drvdata(&adev->dev, vdev);
100 static void vfio_amba_remove(struct amba_device *adev)
102 struct vfio_platform_device *vdev = dev_get_drvdata(&adev->dev);