Home
last modified time | relevance | path

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

/Zephyr-latest/lib/acpi/
Dacpi.c670 static uint32_t acpi_get_subtable_entry_num(int type, ACPI_SUBTABLE_HEADER *subtable, in acpi_get_subtable_entry_num() argument
676 if (type == subtable->Type) { in acpi_get_subtable_entry_num()
679 offset += subtable->Length; in acpi_get_subtable_entry_num()
680 subtable = ACPI_ADD_PTR(ACPI_SUBTABLE_HEADER, base, offset); in acpi_get_subtable_entry_num()
682 if (!subtable->Length) { in acpi_get_subtable_entry_num()
695 ACPI_SUBTABLE_HEADER *subtable; in acpi_madt_entry_get() local
701 subtable = ACPI_ADD_PTR(ACPI_SUBTABLE_HEADER, base, offset); in acpi_madt_entry_get()
704 if (type == subtable->Type) { in acpi_madt_entry_get()
705 *tables = subtable; in acpi_madt_entry_get()
706 *num_inst = acpi_get_subtable_entry_num(type, subtable, offset, base, in acpi_madt_entry_get()
[all …]
/Zephyr-latest/tests/arch/x86/info/src/
Dacpi.c49 static void vtd_drhd_info(ACPI_DMAR_HEADER *subtable) in vtd_drhd_info() argument
51 struct acpi_dmar_hardware_unit *drhd = (void *)subtable; in vtd_drhd_info()
72 static void dmar_subtable_handler(ACPI_DMAR_HEADER *subtable, void *arg) in dmar_subtable_handler() argument
76 if (subtable->Type != ACPI_DMAR_TYPE_HARDWARE_UNIT) { in dmar_subtable_handler()
80 vtd_drhd_info(subtable); in dmar_subtable_handler()
/Zephyr-latest/arch/arm64/core/
Dmmu.c382 uint64_t *pte, *subtable; in del_mapping() local
401 subtable = pte_desc_table(*pte); in del_mapping()
402 del_mapping(subtable, virt, step, level + 1); in del_mapping()
403 if (!is_table_unused(subtable)) { in del_mapping()
406 dec_table_ref(subtable); in del_mapping()
533 uint64_t *subtable = pte_desc_table(table[i]); in discard_table() local
535 if (is_table_single_referenced(subtable)) { in discard_table()
536 discard_table(subtable, level + 1); in discard_table()
538 dec_table_ref(subtable); in discard_table()
569 uint64_t *subtable = pte_desc_table(dst_table[i]); in globalize_table() local
[all …]
/Zephyr-latest/include/zephyr/acpi/
Dacpi.h268 typedef void (*dmar_foreach_subtable_func_t)(ACPI_DMAR_HEADER *subtable, void *arg);
/Zephyr-latest/tests/lib/acpi/unit/src/
Dmain.c73 static void count_subtables(ACPI_DMAR_HEADER *subtable, void *arg) in count_subtables() argument