Lines Matching defs:handle
44 * @handle: handle of ACPI method to execute when the IRQ triggers
55 acpi_handle handle;
117 acpi_handle handle;
120 status = acpi_get_handle(NULL, path, &handle);
124 chip = gpiochip_find(handle, acpi_gpiochip_find);
135 acpi_evaluate_object(event->handle, NULL, NULL, NULL);
144 acpi_execute_simple_method(event->handle, NULL, event->pin);
149 static void acpi_gpio_chip_dh(acpi_handle handle, void *data)
266 acpi_handle handle, evt_handle;
275 handle = ACPI_HANDLE(chip->parent);
283 if (ACPI_SUCCESS(acpi_get_handle(handle, ev_name, &evt_handle)))
287 if (ACPI_SUCCESS(acpi_get_handle(handle, "_EVT", &evt_handle)))
343 event->handle = evt_handle;
375 acpi_handle handle;
382 handle = ACPI_HANDLE(chip->parent);
383 if (!handle)
386 status = acpi_get_data(handle, acpi_gpio_chip_dh, (void **)&acpi_gpio);
390 acpi_walk_resources(handle, "_AEI",
418 acpi_handle handle;
424 handle = ACPI_HANDLE(chip->parent);
425 if (!handle)
428 status = acpi_get_data(handle, acpi_gpio_chip_dh, (void **)&acpi_gpio);
1103 acpi_handle handle = ACPI_HANDLE(chip->parent);
1108 status = acpi_install_address_space_handler(handle, ACPI_ADR_SPACE_GPIO,
1119 acpi_handle handle = ACPI_HANDLE(chip->parent);
1123 status = acpi_remove_address_space_handler(handle, ACPI_ADR_SPACE_GPIO,
1212 acpi_handle handle;
1218 handle = ACPI_HANDLE(chip->parent);
1219 if (!handle)
1233 status = acpi_attach_data(handle, acpi_gpio_chip_dh, acpi_gpio);
1242 acpi_walk_dep_device_list(handle);
1248 acpi_handle handle;
1254 handle = ACPI_HANDLE(chip->parent);
1255 if (!handle)
1258 status = acpi_get_data(handle, acpi_gpio_chip_dh, (void **)&acpi_gpio);
1266 acpi_detach_data(handle, acpi_gpio_chip_dh);