Lines Matching defs:handle
153 acpi_handle handle; /* the handle of the acpi device */
183 static int write_acpi_int(acpi_handle handle, const char *method, int val)
187 status = acpi_execute_simple_method(handle, (char *)method, val);
192 static int read_acpi_int(acpi_handle handle, const char *method, int *val)
197 status = acpi_evaluate_integer(handle, (char *)method, NULL, &result);
216 if (write_acpi_int(eeepc->handle, method, value))
231 if (read_acpi_int(eeepc->handle, method, &value))
237 acpi_handle *handle)
247 status = acpi_get_handle(eeepc->handle, (char *)method,
248 handle);
559 static void eeepc_rfkill_hotplug(struct eeepc_laptop *eeepc, acpi_handle handle)
577 port = acpi_get_pci_dev(handle);
635 acpi_handle handle;
637 status = acpi_get_handle(NULL, node, &handle);
640 eeepc_rfkill_hotplug(eeepc, handle);
643 static void eeepc_rfkill_notify(acpi_handle handle, u32 event, void *data)
650 eeepc_rfkill_hotplug(eeepc, handle);
657 acpi_handle handle;
659 status = acpi_get_handle(NULL, node, &handle);
664 status = acpi_install_notify_handler(handle,
675 eeepc_rfkill_hotplug(eeepc, handle);
683 acpi_handle handle;
685 status = acpi_get_handle(NULL, node, &handle);
690 status = acpi_remove_notify_handler(handle,
701 eeepc_rfkill_hotplug(eeepc, handle);
756 acpi_handle handle = data;
758 return write_acpi_int(handle, NULL, !blocked);
770 acpi_handle handle;
773 result = acpi_setter_handle(eeepc, cm, &handle);
778 &eeepc_rfkill_ops, handle);
1304 && !read_acpi_int(eeepc->handle, cm_getv[cm], &dummy)) {
1335 if (write_acpi_int(eeepc->handle, "INIT", init_flags)) {
1341 if (read_acpi_int(eeepc->handle, "CMSG", &eeepc->cm_supported)) {
1372 eeepc->handle = device->handle;