Lines Matching defs:handler
70 wmi_notify_handler handler;
569 * wmi_install_notify_handler - Register handler for WMI events (deprecated)
571 * @handler: Function to handle notifications
572 * @data: Data to be returned to handler when event is fired
574 * Register a handler for events sent to the ACPI-WMI mapper device.
579 wmi_notify_handler handler,
593 if (wblock->handler) {
596 wblock->handler = handler;
613 * wmi_remove_notify_handler - Unregister handler for WMI events (deprecated)
616 * Unregister handler for events sent to the ACPI-WMI mapper device.
633 if (!wblock->handler) {
639 wblock->handler = NULL;
1201 /* The WMI driver notify handler conflicts with the legacy WMI handler.
1202 * Because of this the WMI driver notify handler takes precedence.
1211 if (wblock->handler) {
1212 wblock->handler(*event, wblock->handler_data);
1304 dev_err(&device->dev, "Error installing notify handler\n");