Lines Matching defs:adev
135 static int ata_acpi_dev_notify_dock(struct acpi_device *adev, u32 event)
137 struct ata_device *dev = ata_hotplug_data(adev->hp).dev;
142 static int ata_acpi_ap_notify_dock(struct acpi_device *adev, u32 event)
144 ata_acpi_handle_hotplug(ata_hotplug_data(adev->hp).ap, NULL, event);
167 static void ata_acpi_ap_uevent(struct acpi_device *adev, u32 event)
169 ata_acpi_uevent(ata_hotplug_data(adev->hp).ap, NULL, event);
172 static void ata_acpi_dev_uevent(struct acpi_device *adev, u32 event)
174 struct ata_device *dev = ata_hotplug_data(adev->hp).dev;
182 struct acpi_device *adev;
193 adev = ACPI_COMPANION(&ap->tdev);
194 if (!adev || adev->hp)
202 acpi_initialize_hp_context(adev, &context->hp, ata_acpi_ap_notify_dock,
211 struct acpi_device *parent, *adev;
235 adev = ACPI_COMPANION(&dev->tdev);
236 if (!adev || adev->hp)
244 acpi_initialize_hp_context(adev, &context->hp, ata_acpi_dev_notify_dock,