Lines Matching defs:handle
172 acpi_handle handle;
174 status = acpi_get_handle(NULL, "\\_SB", &handle);
178 if (acpi_has_method(handle, "PCCH"))
187 int __weak acpi_map_cpu(acpi_handle handle,
214 status = acpi_evaluate_integer(pr->handle, "_STA", NULL, &sta);
221 ret = acpi_map_cpu(pr->handle, pr->phys_id, pr->acpi_id, &pr->id);
275 status = acpi_evaluate_object(pr->handle, NULL, NULL, &buffer);
288 status = acpi_evaluate_integer(pr->handle, METHOD_NAME__UID,
311 pr->phys_id = acpi_get_phys_id(pr->handle, device_declaration,
331 if (acpi_has_method(pr->handle, "_PCT"))
380 status = acpi_evaluate_integer(pr->handle, "_SUN", NULL, &value);
411 pr->handle = device->handle;
517 bool __init processor_physically_present(acpi_handle handle)
527 status = acpi_get_type(handle, &acpi_type);
533 status = acpi_evaluate_object(handle, NULL, NULL, &buffer);
539 status = acpi_evaluate_integer(handle, METHOD_NAME__UID,
559 cpuid = acpi_get_cpuid(handle, type, acpi_id);
567 static acpi_status __init acpi_processor_osc(acpi_handle handle, u32 lvl,
579 if (!processor_physically_present(handle))
584 status = acpi_run_osc(handle, &osc_context);
714 static acpi_status __init acpi_processor_ids_walk(acpi_handle handle,
725 status = acpi_get_type(handle, &acpi_type);
731 status = acpi_evaluate_object(handle, NULL, NULL, &buffer);
738 status = acpi_evaluate_integer(handle, "_UID", NULL, &uid);
751 acpi_handle_info(handle, "Invalid processor object\n");
816 * @handle: ACPI handle of the processor object containing the _CST.
828 int acpi_processor_evaluate_cst(acpi_handle handle, u32 cpu,
838 status = acpi_evaluate_object(handle, "_CST", NULL, &buffer);
840 acpi_handle_debug(handle, "No _CST\n");
848 acpi_handle_warn(handle, "Invalid _CST output\n");
857 acpi_handle_warn(handle, "Inconsistent _CST data\n");
873 acpi_handle_warn(handle,
883 acpi_handle_info(handle, "_CST C%d type(%x) is not package, skip...\n",
889 acpi_handle_info(handle, "_CST C%d package count(%d) is not 4, skip...\n",
897 acpi_handle_info(handle, "_CST C%d package element[0] type(%x) is not buffer, skip...\n",
906 acpi_handle_info(handle, "_CST C[%d] package element[1] type(%x) is not integer, skip...\n",
946 acpi_handle_info(handle, "_CST C%d declares FIXED_HARDWARE C-state but not supported in hardware, skip...\n",
955 acpi_handle_info(handle, "_CST C%d space_id(%x) neither FIXED_HARDWARE nor SYSTEM_IO, skip...\n",
965 acpi_handle_info(handle, "_CST C%d package element[2] type(%x) not integer, skip...\n",
974 acpi_handle_info(handle, "_CST C%d package element[3] type(%x) not integer, skip...\n",
982 acpi_handle_info(handle, "Found %d idle states\n", last_index);