Lines Matching defs:context
17 bool (*wakeup)(void *context);
18 void *context;
105 * @context: Context to pass to the handler when calling it
111 int acpi_register_wakeup_handler(int wake_irq, bool (*wakeup)(void *context),
112 void *context)
128 handler->context = context;
141 * @context: Context passed to acpi_register_wakeup_handler()
143 void acpi_unregister_wakeup_handler(bool (*wakeup)(void *context),
144 void *context)
150 if (handler->wakeup == wakeup && handler->context == context) {
166 if (handler->wakeup(handler->context))