Lines Matching defs:event
41 static void acpi_ac_notify(struct acpi_device *device, u32 event);
153 static void acpi_ac_notify(struct acpi_device *device, u32 event)
160 switch (event) {
163 "Unsupported event [0x%x]\n", event));
171 * EC event handler (_Qxx). This will cause the AC state
172 * reported by the ACPI event to be incorrect, so wait for a
173 * specific time for the EC event handler to make progress.
180 dev_name(&device->dev), event,
182 acpi_notifier_call_chain(device, event, (u32) ac->state);
193 struct acpi_bus_event *event = (struct acpi_bus_event *)data;
202 if (strcmp(event->device_class, ACPI_BATTERY_CLASS) == 0 &&
203 event->type == ACPI_BATTERY_NOTIFY_STATUS)