Searched refs:dmar (Results 1 – 4 of 4) sorted by relevance
| /Zephyr-latest/tests/lib/acpi/unit/src/ |
| D | main.c | 56 static void dmar_initialize(struct DMAR *dmar) in dmar_initialize() argument 58 dmar->header.Header.Length = sizeof(struct DMAR); in dmar_initialize() 60 dmar->unit0.header.Header.Length = sizeof(dmar->unit0); in dmar_initialize() 61 dmar->unit0.ds0.header.Length = sizeof(dmar->unit0.ds0); in dmar_initialize() 62 dmar->unit0.ds1.header.Length = sizeof(dmar->unit0.ds1); in dmar_initialize() 64 dmar->unit1.header.Header.Length = sizeof(dmar->unit1); in dmar_initialize() 65 dmar->unit1.ds0.header.Length = sizeof(dmar->unit1.ds0); in dmar_initialize() 66 dmar->unit1.ds1.header.Length = sizeof(dmar->unit1.ds1); in dmar_initialize()
|
| /Zephyr-latest/tests/arch/x86/info/src/ |
| D | acpi.c | 85 struct acpi_table_dmar *dmar; in vtd_info() local 87 dmar = acpi_table_get("DMAR", 0); in vtd_info() 88 if (dmar == NULL) { in vtd_info() 96 if (dmar->Flags & ACPI_DMAR_FLAG_X2APIC_OPT_OUT) { in vtd_info() 102 if (dmar->Flags & ACPI_DMAR_FLAG_INTR_REMAP) { in vtd_info() 104 acpi_dmar_foreach_subtable(dmar, dmar_subtable_handler, NULL); in vtd_info()
|
| /Zephyr-latest/lib/acpi/ |
| D | acpi.c | 720 struct acpi_table_dmar *dmar = acpi_table_get("DMAR", 0); in acpi_dmar_entry_get() local 721 uintptr_t base = POINTER_TO_UINT(dmar); in acpi_dmar_entry_get() 725 if (!dmar) { in acpi_dmar_entry_get() 731 while (offset < dmar->Header.Length) { in acpi_dmar_entry_get() 743 void acpi_dmar_foreach_subtable(ACPI_TABLE_DMAR *dmar, in acpi_dmar_foreach_subtable() argument 746 uint16_t length = dmar->Header.Length; in acpi_dmar_foreach_subtable() 752 ACPI_DMAR_HEADER *subtable = ACPI_ADD_PTR(ACPI_DMAR_HEADER, dmar, offset); in acpi_dmar_foreach_subtable() 820 ACPI_TABLE_DMAR *dmar = acpi_table_get("DMAR", 0); in acpi_dmar_ioapic_get() local 823 if (dmar == NULL) { in acpi_dmar_ioapic_get() 827 acpi_dmar_foreach_subtable(dmar, subtable_handler, &found_ioapic); in acpi_dmar_ioapic_get()
|
| /Zephyr-latest/include/zephyr/acpi/ |
| D | acpi.h | 271 void acpi_dmar_foreach_subtable(ACPI_TABLE_DMAR *dmar, dmar_foreach_subtable_func_t func,
|