Lines Matching defs:event
84 * ata_acpi_handle_hotplug - ACPI event handler backend
85 * @ap: ATA port ACPI event occurred
86 * @dev: ATA device ACPI event occurred (can be NULL)
87 * @event: ACPI event which occurred
90 * the event is port-wide @dev is NULL. If the event is specific to a
95 * event.
101 u32 event)
113 switch (event) {
116 ata_ehi_push_desc(ehi, "ACPI event");
122 ata_ehi_push_desc(ehi, "ACPI event");
135 static int ata_acpi_dev_notify_dock(struct acpi_device *adev, u32 event)
138 ata_acpi_handle_hotplug(dev->link->ap, dev, event);
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);
149 u32 event)
162 snprintf(event_string, 20, "BAY_EVENT=%d", 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)
175 ata_acpi_uevent(dev->link->ap, dev, event);
904 if (!(state.event & PM_EVENT_RESUME)) {
932 if (state.event & PM_EVENT_RESUME)
940 acpi_bus_set_power(dev_handle, state.event & PM_EVENT_RESUME ?
944 if (!(state.event & PM_EVENT_RESUME))