Lines Matching refs:handle
53 status = acpi_evaluate_object(pr->handle, NULL, NULL, &buffer); in xen_acpi_processor_enable()
62 status = acpi_evaluate_integer(pr->handle, METHOD_NAME__UID, in xen_acpi_processor_enable()
97 pr->handle = device->handle; in xen_acpi_processor_add()
128 static int is_processor_present(acpi_handle handle) in is_processor_present() argument
134 status = acpi_evaluate_integer(handle, "_STA", NULL, &sta); in is_processor_present()
149 static int xen_apic_id(acpi_handle handle) in xen_apic_id() argument
156 if (ACPI_FAILURE(acpi_evaluate_object(handle, "_MAT", NULL, &buffer))) in xen_apic_id()
190 apic_id = xen_apic_id(pr->handle); in xen_hotadd_cpu()
197 pxm = xen_acpi_get_pxm(pr->handle); in xen_hotadd_cpu()
219 if (!is_processor_present(pr->handle)) in xen_acpi_cpu_hotadd()
242 static void acpi_processor_hotplug_notify(acpi_handle handle, in acpi_processor_hotplug_notify() argument
260 if (!is_processor_present(handle)) in acpi_processor_hotplug_notify()
263 acpi_bus_get_device(handle, &device); in acpi_processor_hotplug_notify()
267 result = acpi_bus_scan(handle); in acpi_processor_hotplug_notify()
273 acpi_bus_get_device(handle, &device); in acpi_processor_hotplug_notify()
285 if (acpi_bus_get_device(handle, &device)) { in acpi_processor_hotplug_notify()
310 (void) acpi_evaluate_ost(handle, event, ost_code, NULL); in acpi_processor_hotplug_notify()
316 static acpi_status is_processor_device(acpi_handle handle) in is_processor_device() argument
322 status = acpi_get_object_info(handle, &info); in is_processor_device()
347 processor_walk_namespace_cb(acpi_handle handle, in processor_walk_namespace_cb() argument
353 status = is_processor_device(handle); in processor_walk_namespace_cb()
359 acpi_install_notify_handler(handle, in processor_walk_namespace_cb()
365 acpi_remove_notify_handler(handle, in processor_walk_namespace_cb()