• Home
  • Raw
  • Download

Lines Matching refs:cpu_node

137 		      struct acpi_pptt_processor *cpu_node,  in acpi_find_cache_level()  argument
148 while ((res = acpi_get_pptt_resource(table_hdr, cpu_node, resource))) { in acpi_find_cache_level()
181 struct acpi_pptt_processor *cpu_node) in acpi_count_levels() argument
186 acpi_find_cache_level(table_hdr, cpu_node, &total_levels, 0, 0); in acpi_count_levels()
187 cpu_node = fetch_pptt_node(table_hdr, cpu_node->parent); in acpi_count_levels()
188 } while (cpu_node); in acpi_count_levels()
210 struct acpi_pptt_processor *cpu_node; in acpi_pptt_leaf_node() local
223 cpu_node = (struct acpi_pptt_processor *)entry; in acpi_pptt_leaf_node()
225 cpu_node->parent == node_entry) in acpi_pptt_leaf_node()
255 struct acpi_pptt_processor *cpu_node; in acpi_find_processor_node() local
265 cpu_node = (struct acpi_pptt_processor *)entry; in acpi_find_processor_node()
272 acpi_cpu_id == cpu_node->acpi_processor_id && in acpi_find_processor_node()
273 acpi_pptt_leaf_node(table_hdr, cpu_node)) { in acpi_find_processor_node()
327 struct acpi_pptt_processor *cpu_node; in acpi_find_cache_node() local
333 cpu_node = acpi_find_processor_node(table_hdr, acpi_cpu_id); in acpi_find_cache_node()
335 while (cpu_node && !found) { in acpi_find_cache_node()
336 found = acpi_find_cache_level(table_hdr, cpu_node, in acpi_find_cache_node()
338 *node = cpu_node; in acpi_find_cache_node()
339 cpu_node = fetch_pptt_node(table_hdr, cpu_node->parent); in acpi_find_cache_node()
359 struct acpi_pptt_processor *cpu_node) in update_cache_properties() argument
361 this_leaf->fw_token = cpu_node; in update_cache_properties()
418 struct acpi_pptt_processor *cpu_node = NULL; in cache_setup_acpi_cpu() local
425 &cpu_node); in cache_setup_acpi_cpu()
426 pr_debug("found = %p %p\n", found_cache, cpu_node); in cache_setup_acpi_cpu()
430 cpu_node); in cache_setup_acpi_cpu()
502 struct acpi_pptt_processor *cpu_node; in topology_get_acpi_cpu_tag() local
505 cpu_node = acpi_find_processor_node(table, acpi_cpu_id); in topology_get_acpi_cpu_tag()
506 if (cpu_node) { in topology_get_acpi_cpu_tag()
507 cpu_node = acpi_find_processor_tag(table, cpu_node, in topology_get_acpi_cpu_tag()
516 cpu_node->flags & ACPI_PPTT_ACPI_PROCESSOR_ID_VALID) in topology_get_acpi_cpu_tag()
517 return cpu_node->acpi_processor_id; in topology_get_acpi_cpu_tag()
518 return ACPI_PTR_DIFF(cpu_node, table); in topology_get_acpi_cpu_tag()
562 struct acpi_pptt_processor *cpu_node = NULL; in check_acpi_cpu_flag() local
572 cpu_node = acpi_find_processor_node(table, acpi_cpu_id); in check_acpi_cpu_flag()
574 if (cpu_node) in check_acpi_cpu_flag()
575 ret = (cpu_node->flags & flag) != 0; in check_acpi_cpu_flag()
699 struct acpi_pptt_processor *cpu_node = NULL; in find_acpi_cpu_cache_topology() local
711 &cpu_node); in find_acpi_cpu_cache_topology()
713 ret = ACPI_PTR_DIFF(cpu_node, table); in find_acpi_cpu_cache_topology()