Lines Matching defs:event
37 static void acpi_ac_notify(acpi_handle handle, u32 event, void *data);
129 static void acpi_ac_notify(acpi_handle handle, u32 event, void *data)
137 switch (event) {
139 acpi_handle_debug(device->handle, "Unsupported event [0x%x]\n",
140 event);
148 * EC event handler (_Qxx). This will cause the AC state
149 * reported by the ACPI event to be incorrect, so wait for a
150 * specific time for the EC event handler to make progress.
157 dev_name(&device->dev), event,
159 acpi_notifier_call_chain(device, event, (u32) ac->state);
168 struct acpi_bus_event *event = (struct acpi_bus_event *)data;
177 if (strcmp(event->device_class, ACPI_BATTERY_CLASS) == 0 &&
178 event->type == ACPI_BATTERY_NOTIFY_STATUS)