Lines Matching refs:scope
842 static int ir_parse_one_hpet_scope(struct acpi_dmar_device_scope *scope,
850 bus = scope->bus;
851 path = (struct acpi_dmar_pci_path *)(scope + 1);
852 count = (scope->length - sizeof(struct acpi_dmar_device_scope))
867 ir_hpet[count].id == scope->enumeration_id)
878 ir_hpet[free].id = scope->enumeration_id;
882 scope->enumeration_id, drhd->address);
887 static int ir_parse_one_ioapic_scope(struct acpi_dmar_device_scope *scope,
895 bus = scope->bus;
896 path = (struct acpi_dmar_pci_path *)(scope + 1);
897 count = (scope->length - sizeof(struct acpi_dmar_device_scope))
912 ir_ioapic[count].id == scope->enumeration_id)
925 ir_ioapic[free].id = scope->enumeration_id;
927 scope->enumeration_id, drhd->address, iommu->seq_id);
937 struct acpi_dmar_device_scope *scope;
945 scope = start;
946 if (scope->entry_type == ACPI_DMAR_SCOPE_TYPE_IOAPIC)
947 ret = ir_parse_one_ioapic_scope(scope, iommu, drhd);
948 else if (scope->entry_type == ACPI_DMAR_SCOPE_TYPE_HPET)
949 ret = ir_parse_one_hpet_scope(scope, iommu, drhd);
950 start += scope->length;