Home
last modified time | relevance | path

Searched refs:table_hdr (Results 1 – 1 of 1) sorted by relevance

/Linux-v6.1/drivers/acpi/
Dpptt.c24 static struct acpi_subtable_header *fetch_pptt_subtable(struct acpi_table_header *table_hdr, in fetch_pptt_subtable() argument
33 if (pptt_ref + sizeof(struct acpi_subtable_header) > table_hdr->length) in fetch_pptt_subtable()
36 entry = ACPI_ADD_PTR(struct acpi_subtable_header, table_hdr, pptt_ref); in fetch_pptt_subtable()
41 if (pptt_ref + entry->length > table_hdr->length) in fetch_pptt_subtable()
47 static struct acpi_pptt_processor *fetch_pptt_node(struct acpi_table_header *table_hdr, in fetch_pptt_node() argument
50 return (struct acpi_pptt_processor *)fetch_pptt_subtable(table_hdr, pptt_ref); in fetch_pptt_node()
53 static struct acpi_pptt_cache *fetch_pptt_cache(struct acpi_table_header *table_hdr, in fetch_pptt_cache() argument
56 return (struct acpi_pptt_cache *)fetch_pptt_subtable(table_hdr, pptt_ref); in fetch_pptt_cache()
59 static struct acpi_subtable_header *acpi_get_pptt_resource(struct acpi_table_header *table_hdr, in acpi_get_pptt_resource() argument
71 return fetch_pptt_subtable(table_hdr, *ref); in acpi_get_pptt_resource()
[all …]