Home
last modified time | relevance | path

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

/src/sys/x86/iommu/
H A Dintel_drv.c671 dmar_match_devscope(ACPI_DMAR_DEVICE_SCOPE *devscope, int dev_busno, in dmar_match_devscope() argument
677 if (devscope->Length < sizeof(*devscope)) { in dmar_match_devscope()
679 devscope->Length); in dmar_match_devscope()
682 if (devscope->EntryType != ACPI_DMAR_SCOPE_TYPE_ENDPOINT && in dmar_match_devscope()
683 devscope->EntryType != ACPI_DMAR_SCOPE_TYPE_BRIDGE) in dmar_match_devscope()
685 path_len = devscope->Length - sizeof(*devscope); in dmar_match_devscope()
688 devscope->Length); in dmar_match_devscope()
692 path = (ACPI_DMAR_PCI_PATH *)(devscope + 1); in dmar_match_devscope()
695 devscope->Length); in dmar_match_devscope()
699 return (dmar_match_pathes(devscope->Bus, path, path_len, dev_busno, in dmar_match_devscope()
[all …]
/src/usr.sbin/acpi/acpidump/
H A Dacpi.c1620 ACPI_DMAR_DEVICE_SCOPE *devscope = addr; in acpi_handle_dmar_devscope() local
1625 if (remaining < devscope->Length) in acpi_handle_dmar_devscope()
1629 printf("\t\tType=%s\n", devscope_type2str(devscope->EntryType)); in acpi_handle_dmar_devscope()
1630 printf("\t\tLength=%d\n", devscope->Length); in acpi_handle_dmar_devscope()
1631 printf("\t\tEnumerationId=%d\n", devscope->EnumerationId); in acpi_handle_dmar_devscope()
1632 printf("\t\tStartBusNumber=%d\n", devscope->Bus); in acpi_handle_dmar_devscope()
1634 path = (ACPI_DMAR_PCI_PATH *)(devscope + 1); in acpi_handle_dmar_devscope()
1635 pathlen = devscope->Length - sizeof(ACPI_DMAR_DEVICE_SCOPE); in acpi_handle_dmar_devscope()
1648 return (devscope->Length); in acpi_handle_dmar_devscope()