Lines Matching defs:adev
28 struct acpi_device *adev = ACPI_COMPANION(&cdev->dev);
32 list_for_each_entry(child, &adev->children, node)
44 static int container_device_attach(struct acpi_device *adev,
51 if (adev->flags.is_dock_station)
61 dev_set_name(dev, "%s", dev_name(&adev->dev));
62 ACPI_COMPANION_SET(dev, adev);
69 adev->driver_data = dev;
73 static void container_device_detach(struct acpi_device *adev)
75 struct device *dev = acpi_driver_data(adev);
77 adev->driver_data = NULL;
82 static void container_device_online(struct acpi_device *adev)
84 struct device *dev = acpi_driver_data(adev);