Lines Matching defs:adev
48 static int amba_handler_attach(struct acpi_device *adev,
59 if (adev->physical_node_count)
62 dev = amba_device_alloc(dev_name(&adev->dev), 0, 0);
64 dev_err(&adev->dev, "%s(): amba_device_alloc() failed\n",
70 ret = acpi_dev_get_resources(adev, &resource_list, NULL, NULL);
88 dev_warn(&adev->dev, "Invalid resource\n");
100 if (adev->parent)
101 dev->dev.parent = acpi_get_first_physical_node(adev->parent);
103 ACPI_COMPANION_SET(&dev->dev, adev);
107 dev_err(&adev->dev, "%s(): amba_device_add() failed (%d)\n",