Home
last modified time | relevance | path

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

/tests/arch/x86/info/src/
A Dacpi.c27 static void dmar_devsope_handler(ACPI_DMAR_DEVICE_SCOPE *devscope, void *arg) in dmar_devsope_handler() argument
31 printk("\t\t\t. Scope type %s\n", get_dmar_scope_type(devscope->EntryType)); in dmar_devsope_handler()
32 printk("\t\t\t. Enumeration ID %u\n", devscope->EnumerationId); in dmar_devsope_handler()
34 if (devscope->EntryType < ACPI_DMAR_SCOPE_TYPE_RESERVED) { in dmar_devsope_handler()
36 int num_path = (devscope->Length - 6u) / 2u; in dmar_devsope_handler()
39 devpath = ACPI_ADD_PTR(ACPI_DMAR_PCI_PATH, devscope, in dmar_devsope_handler()
43 printk("\t\t\t. PCI Path %02x:%02x.%02x\n", devscope->Bus, in dmar_devsope_handler()
/tests/lib/acpi/unit/src/
A Dmain.c128 static void count_devscopes(ACPI_DMAR_DEVICE_SCOPE *devscope, void *arg) in count_devscopes() argument
170 ACPI_DMAR_DEVICE_SCOPE *devscope = &dmar0.unit0.ds0.header; in ZTEST() local
175 devscope->Length = 0; in ZTEST()
188 ACPI_DMAR_DEVICE_SCOPE *devscope = &dmar0.unit1.ds1.header; in ZTEST() local
193 devscope->Length = sizeof(dmar0.unit1.ds1) + 1; in ZTEST()

Completed in 8 milliseconds