Lines Matching defs:adev
23 struct amba_device *adev = (struct amba_device *) vdev->opaque;
26 return &adev->res;
33 struct amba_device *adev = (struct amba_device *) vdev->opaque;
37 ret = adev->irq[i];
43 static int vfio_amba_probe(struct amba_device *adev, const struct amba_id *id)
52 vdev->name = kasprintf(GFP_KERNEL, "vfio-amba-%08x", adev->periphid);
58 vdev->opaque = (void *) adev;
65 ret = vfio_platform_probe_common(vdev, &adev->dev);
74 static void vfio_amba_remove(struct amba_device *adev)
77 vfio_platform_remove_common(&adev->dev);