Lines Matching defs:devscope
669 dmar_match_devscope(ACPI_DMAR_DEVICE_SCOPE *devscope, int dev_busno,
675 if (devscope->Length < sizeof(*devscope)) {
677 devscope->Length);
680 if (devscope->EntryType != ACPI_DMAR_SCOPE_TYPE_ENDPOINT &&
681 devscope->EntryType != ACPI_DMAR_SCOPE_TYPE_BRIDGE)
683 path_len = devscope->Length - sizeof(*devscope);
686 devscope->Length);
690 path = (ACPI_DMAR_PCI_PATH *)(devscope + 1);
693 devscope->Length);
697 return (dmar_match_pathes(devscope->Bus, path, path_len, dev_busno,
698 dev_path, dev_path_len, devscope->EntryType));
706 ACPI_DMAR_DEVICE_SCOPE *devscope;
723 devscope = (ACPI_DMAR_DEVICE_SCOPE *)ptr;
724 ptr += devscope->Length;
725 match = dmar_match_devscope(devscope, dev_busno, dev_path,
805 ACPI_DMAR_DEVICE_SCOPE *devscope;
826 devscope = (ACPI_DMAR_DEVICE_SCOPE *)ptr;
827 ptr += devscope->Length;
828 if (devscope->EntryType != entry_type)
830 if (devscope->EnumerationId != id)
843 if (devscope->Length - sizeof(ACPI_DMAR_DEVICE_SCOPE)
847 (devscope + 1);
848 *rid = PCI_RID(devscope->Bus,
903 ACPI_DMAR_DEVICE_SCOPE *devscope;
924 devscope = (ACPI_DMAR_DEVICE_SCOPE *)ptr;
925 ptr += devscope->Length;
926 match = dmar_match_devscope(devscope, ria->dev_busno,
987 const ACPI_DMAR_DEVICE_SCOPE *devscope;
1012 devscope = (const ACPI_DMAR_DEVICE_SCOPE *)ptr;
1013 ptr += devscope->Length;
1015 if (devscope->EntryType != ACPI_DMAR_SCOPE_TYPE_ENDPOINT)
1018 dev_path_len = (devscope->Length -
1021 devscope->Bus,
1022 (const ACPI_DMAR_PCI_PATH *)(devscope + 1), &rid);
1031 dmar_print_path(devscope->Bus, dev_path_len,
1032 (const ACPI_DMAR_PCI_PATH *)(devscope + 1));
1036 devscope->Bus,
1037 (const ACPI_DMAR_PCI_PATH *)(devscope + 1),
1042 resmem->Segment, devscope->Bus,
1043 (const ACPI_DMAR_PCI_PATH *)(devscope + 1),