Lines Matching defs:handle
280 acpi_handle *handle;
588 static int acpi_evalf(acpi_handle handle,
643 status = acpi_evaluate_object(handle, method, ¶ms, resultp);
718 acpi_handle *handle, const acpi_handle parent,
724 vdbg_printk(TPACPI_DBG_INIT, "trying to locate ACPI handle for %s\n",
728 status = acpi_get_handle(parent, paths[i], handle);
731 "Found ACPI handle %s for %s\n",
737 vdbg_printk(TPACPI_DBG_INIT, "ACPI handle for %s not found\n",
739 *handle = NULL;
742 static acpi_status __init tpacpi_acpi_handle_locate_callback(acpi_handle handle,
746 struct acpi_device *dev = acpi_fetch_acpi_dev(handle);
752 *(acpi_handle *)return_value = handle;
759 acpi_handle *handle)
764 BUG_ON(!name || !handle);
766 "trying to locate ACPI handle for %s, using HID %s\n",
773 *handle = NULL;
776 *handle = device_found;
778 "Found ACPI handle for %s\n", name);
781 "Could not locate an ACPI handle for %s: %s\n",
786 static void dispatch_acpi_notify(acpi_handle handle, u32 event, void *data)
805 if (!*ibm->acpi->handle)
811 ibm->acpi->device = acpi_fetch_acpi_dev(*ibm->acpi->handle);
822 status = acpi_install_notify_handler(*ibm->acpi->handle,
2415 /* handle brightness */
4005 /* forward it to userspace, maybe it knows how to handle it */
4235 .handle = &hkey_handle,
6419 /* This is sheer paranoia, but we handle it anyway */
6692 /* it is the backlight class's job (caller) to handle
6735 status = acpi_evaluate_object(adev->handle, "_BCL", NULL, &buffer);
6741 acpi_handle_info(adev->handle,
6758 static int __init tpacpi_query_bcl_levels(acpi_handle handle)
6762 device = acpi_fetch_acpi_dev(handle);
6867 /* if it is unknown, we don't handle it: it wouldn't be safe */
7071 * unnecessary, since user code can handle the mute button without
7934 * FANS ACPI handle: takes three arguments: low speed, medium speed,
8961 * handle FULLSPEED out of paranoia.
11076 acpi_remove_notify_handler(*ibm->acpi->handle,