Lines Matching defs:table

9  * Due to the relative pointers used throughout the table, this doesn't
82 * @table_hdr: Pointer to the head of the PPTT table
168 * acpi_count_levels() - Given a PPTT table, and a CPU node, count the caches
169 * @table_hdr: Pointer to the head of the PPTT table
195 * @table_hdr: Pointer to the head of the PPTT table
199 * PPTT table, looking for nodes which reference it.
201 * Return: 0 if we find a node referencing the passed node (or table error),
237 * acpi_find_processor_node() - Given a PPTT table find the requested processor
238 * @table_hdr: Pointer to the head of the PPTT table
242 * This is done by iterating the PPTT table looking for processor nodes
410 static void cache_setup_acpi_cpu(struct acpi_table_header *table,
422 found_cache = acpi_find_cache_node(table, acpi_cpu_id,
483 pr_warn_once("No PPTT table found, CPU and cache topology may be inaccurate\n");
488 * @table: Pointer to the head of the PPTT table
499 static int topology_get_acpi_cpu_tag(struct acpi_table_header *table,
505 cpu_node = acpi_find_processor_node(table, acpi_cpu_id);
507 cpu_node = acpi_find_processor_tag(table, cpu_node,
518 return ACPI_PTR_DIFF(cpu_node, table);
520 pr_warn_once("PPTT table found, but unable to locate core %d (%d)\n",
527 struct acpi_table_header *table;
531 status = acpi_get_table(ACPI_SIG_PPTT, 0, &table);
536 retval = topology_get_acpi_cpu_tag(table, cpu, level, flag);
539 acpi_put_table(table);
553 * the table revision isn't new enough.
559 struct acpi_table_header *table;
565 status = acpi_get_table(ACPI_SIG_PPTT, 0, &table);
571 if (table->revision >= rev)
572 cpu_node = acpi_find_processor_node(table, acpi_cpu_id);
577 acpi_put_table(table);
587 * in the PPTT. Errors caused by lack of a PPTT table, or otherwise, return 0
595 struct acpi_table_header *table;
602 status = acpi_get_table(ACPI_SIG_PPTT, 0, &table);
606 number_of_levels = acpi_find_cache_levels(table, acpi_cpu_id);
607 acpi_put_table(table);
625 * Return: -ENOENT on failure to find table, or 0 on success
629 struct acpi_table_header *table;
634 status = acpi_get_table(ACPI_SIG_PPTT, 0, &table);
640 cache_setup_acpi_cpu(table, cpu);
641 acpi_put_table(table);
653 * the table revision isn't new enough.
695 struct acpi_table_header *table;
702 status = acpi_get_table(ACPI_SIG_PPTT, 0, &table);
708 found_cache = acpi_find_cache_node(table, acpi_cpu_id,
713 ret = ACPI_PTR_DIFF(cpu_node, table);
715 acpi_put_table(table);