Lines Matching defs:handle

266 	acpi_handle *handle;
566 static int acpi_evalf(acpi_handle handle,
621 status = acpi_evaluate_object(handle, method, &params, resultp);
696 acpi_handle *handle, const acpi_handle parent,
702 vdbg_printk(TPACPI_DBG_INIT, "trying to locate ACPI handle for %s\n",
706 status = acpi_get_handle(parent, paths[i], handle);
709 "Found ACPI handle %s for %s\n",
715 vdbg_printk(TPACPI_DBG_INIT, "ACPI handle for %s not found\n",
717 *handle = NULL;
720 static acpi_status __init tpacpi_acpi_handle_locate_callback(acpi_handle handle,
725 if (acpi_bus_get_device(handle, &dev))
731 *(acpi_handle *)return_value = handle;
738 acpi_handle *handle)
743 BUG_ON(!name || !handle);
745 "trying to locate ACPI handle for %s, using HID %s\n",
752 *handle = NULL;
755 *handle = device_found;
757 "Found ACPI handle for %s\n", name);
760 "Could not locate an ACPI handle for %s: %s\n",
765 static void dispatch_acpi_notify(acpi_handle handle, u32 event, void *data)
785 if (!*ibm->acpi->handle)
791 rc = acpi_bus_get_device(*ibm->acpi->handle, &ibm->acpi->device);
802 status = acpi_install_notify_handler(*ibm->acpi->handle,
2541 /* handle brightness */
4113 /* forward it to userspace, maybe it knows how to handle it */
4341 .handle = &hkey_handle,
6490 /* This is sheer paranoia, but we handle it anyway */
6800 /* it is the backlight class's job (caller) to handle
6841 static int __init tpacpi_query_bcl_levels(acpi_handle handle)
6848 if (acpi_bus_get_device(handle, &device))
6853 acpi_status status = acpi_evaluate_object(child->handle, "_BCL",
6973 /* if it is unknown, we don't handle it: it wouldn't be safe */
7177 * unnecessary, since user code can handle the mute button without
8041 * FANS ACPI handle: takes three arguments: low speed, medium speed,
8982 * handle FULLSPEED out of paranoia.
10039 acpi_remove_notify_handler(*ibm->acpi->handle,