Lines Matching refs:handle

160 	acpi_handle handle;		/* the handle of the acpi device */  member
190 static int write_acpi_int(acpi_handle handle, const char *method, int val) in write_acpi_int() argument
194 status = acpi_execute_simple_method(handle, (char *)method, val); in write_acpi_int()
199 static int read_acpi_int(acpi_handle handle, const char *method, int *val) in read_acpi_int() argument
204 status = acpi_evaluate_integer(handle, (char *)method, NULL, &result); in read_acpi_int()
223 if (write_acpi_int(eeepc->handle, method, value)) in set_acpi()
238 if (read_acpi_int(eeepc->handle, method, &value)) in get_acpi()
244 acpi_handle *handle) in acpi_setter_handle() argument
254 status = acpi_get_handle(eeepc->handle, (char *)method, in acpi_setter_handle()
255 handle); in acpi_setter_handle()
568 static void eeepc_rfkill_hotplug(struct eeepc_laptop *eeepc, acpi_handle handle) in eeepc_rfkill_hotplug() argument
586 port = acpi_get_pci_dev(handle); in eeepc_rfkill_hotplug()
644 acpi_handle handle; in eeepc_rfkill_hotplug_update() local
646 status = acpi_get_handle(NULL, node, &handle); in eeepc_rfkill_hotplug_update()
649 eeepc_rfkill_hotplug(eeepc, handle); in eeepc_rfkill_hotplug_update()
652 static void eeepc_rfkill_notify(acpi_handle handle, u32 event, void *data) in eeepc_rfkill_notify() argument
659 eeepc_rfkill_hotplug(eeepc, handle); in eeepc_rfkill_notify()
666 acpi_handle handle; in eeepc_register_rfkill_notifier() local
668 status = acpi_get_handle(NULL, node, &handle); in eeepc_register_rfkill_notifier()
673 status = acpi_install_notify_handler(handle, in eeepc_register_rfkill_notifier()
684 eeepc_rfkill_hotplug(eeepc, handle); in eeepc_register_rfkill_notifier()
692 acpi_handle handle; in eeepc_unregister_rfkill_notifier() local
694 status = acpi_get_handle(NULL, node, &handle); in eeepc_unregister_rfkill_notifier()
699 status = acpi_remove_notify_handler(handle, in eeepc_unregister_rfkill_notifier()
710 eeepc_rfkill_hotplug(eeepc, handle); in eeepc_unregister_rfkill_notifier()
786 acpi_handle handle = data; in eeepc_rfkill_set() local
788 return write_acpi_int(handle, NULL, !blocked); in eeepc_rfkill_set()
800 acpi_handle handle; in eeepc_new_rfkill() local
803 result = acpi_setter_handle(eeepc, cm, &handle); in eeepc_new_rfkill()
808 &eeepc_rfkill_ops, handle); in eeepc_new_rfkill()
1338 && !read_acpi_int(eeepc->handle, cm_getv[cm], &dummy)) { in cmsg_quirk()
1369 if (write_acpi_int(eeepc->handle, "INIT", init_flags)) { in eeepc_acpi_init()
1375 if (read_acpi_int(eeepc->handle, "CMSG", &eeepc->cm_supported)) { in eeepc_acpi_init()
1406 eeepc->handle = device->handle; in eeepc_acpi_add()