Lines Matching refs:handle

146 	acpi_handle handle;
928 /* Get the handle to the EC device */
933 return first_ec->handle;
1068 acpi_handle handle, acpi_ec_query_func func,
1073 if (!handle && !func)
1081 handler->handle = handle;
1135 else if (handler->handle)
1136 acpi_evaluate_object(handler->handle, NULL, NULL, NULL);
1397 acpi_ec_register_query_methods(acpi_handle handle, u32 level,
1406 status = acpi_get_name(handle, ACPI_SINGLE_NAME, &buffer);
1409 acpi_ec_add_query_handler(ec, value, handle, NULL, NULL);
1414 ec_parse_device(acpi_handle handle, u32 Level, void *context, void **retval)
1423 status = acpi_walk_resources(handle, METHOD_NAME__CRS,
1432 status = acpi_evaluate_integer(handle, "_GPE", NULL, &tmp);
1442 acpi_evaluate_integer(handle, "_GLK", NULL, &tmp);
1444 ec->handle = handle;
1483 * "unable to handle transactions",
1490 acpi_handle scope_handle = ec == first_ec ? ACPI_ROOT_OBJECT : ec->handle;
1531 acpi_walk_namespace(ACPI_TYPE_METHOD, ec->handle, 1,
1561 acpi_handle scope_handle = ec == first_ec ? ACPI_ROOT_OBJECT : ec->handle;
1580 * it is indicated but there is no way to handle it. So the drivers
1639 if (boot_ec && (boot_ec->handle == device->handle ||
1650 status = ec_parse_device(device->handle, 0, ec, NULL);
1664 boot_ec->handle = ec->handle;
1669 acpi_handle_debug(ec->handle, "duplicated.\n");
1680 acpi_handle_info(boot_ec->handle,
1684 acpi_handle_info(ec->handle,
1685 "EC: Used to handle transactions and events\n");
1697 acpi_handle_debug(ec->handle, "enumerated.\n");
1782 if (ACPI_FAILURE(status) || !ec->handle) {
1792 * handle the events.
1802 acpi_handle_info(ec->handle,
1803 "Boot DSDT EC used to handle transactions\n");
1809 * First, look for an ACPI handle for the boot ECDT EC if acpi_ec_add() has not
1813 * provide a functional ECDT EC to handle events, so add an extra device object
1822 acpi_handle handle;
1826 if (!boot_ec || boot_ec->handle != ACPI_ROOT_OBJECT)
1835 status = acpi_get_handle(NULL, ecdt_ptr->id, &handle);
1837 boot_ec->handle = handle;
2003 ec->handle = ACPI_ROOT_OBJECT;
2007 * the namespace objects, or handle the events.
2018 pr_info("Boot ECDT EC used to handle transactions\n");