Searched refs:devscope (Results 1 – 4 of 4) sorted by relevance
/Zephyr-latest/tests/arch/x86/info/src/ |
D | acpi.c | 27 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()
|
/Zephyr-latest/tests/lib/acpi/unit/src/ |
D | main.c | 128 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()
|
/Zephyr-latest/lib/acpi/ |
D | acpi.c | 772 ACPI_DMAR_DEVICE_SCOPE *devscope = ACPI_ADD_PTR(ACPI_DMAR_DEVICE_SCOPE, in acpi_dmar_foreach_devscope() local 775 __ASSERT_NO_MSG(devscope->Length >= sizeof(*devscope)); in acpi_dmar_foreach_devscope() 776 __ASSERT_NO_MSG(devscope->Length <= length - offset); in acpi_dmar_foreach_devscope() 778 func(devscope, arg); in acpi_dmar_foreach_devscope() 780 offset += devscope->Length; in acpi_dmar_foreach_devscope() 784 static void devscope_handler(ACPI_DMAR_DEVICE_SCOPE *devscope, void *arg) in devscope_handler() argument 791 if (devscope->EntryType == ACPI_DMAR_SCOPE_TYPE_IOAPIC) { in devscope_handler() 794 dev_path = ACPI_ADD_PTR(ACPI_DMAR_PCI_PATH, devscope, in devscope_handler() 798 pci_path.bits.bus = devscope->Bus; in devscope_handler()
|
/Zephyr-latest/include/zephyr/acpi/ |
D | acpi.h | 269 typedef void (*dmar_foreach_devscope_func_t)(ACPI_DMAR_DEVICE_SCOPE *devscope, void *arg);
|