Lines Matching defs:scope
844 static int ir_parse_one_hpet_scope(struct acpi_dmar_device_scope *scope,
852 bus = scope->bus;
853 path = (struct acpi_dmar_pci_path *)(scope + 1);
854 count = (scope->length - sizeof(struct acpi_dmar_device_scope))
869 ir_hpet[count].id == scope->enumeration_id)
880 ir_hpet[free].id = scope->enumeration_id;
884 scope->enumeration_id, drhd->address);
889 static int ir_parse_one_ioapic_scope(struct acpi_dmar_device_scope *scope,
897 bus = scope->bus;
898 path = (struct acpi_dmar_pci_path *)(scope + 1);
899 count = (scope->length - sizeof(struct acpi_dmar_device_scope))
914 ir_ioapic[count].id == scope->enumeration_id)
927 ir_ioapic[free].id = scope->enumeration_id;
929 scope->enumeration_id, drhd->address, iommu->seq_id);
939 struct acpi_dmar_device_scope *scope;
947 scope = start;
948 if (scope->entry_type == ACPI_DMAR_SCOPE_TYPE_IOAPIC)
949 ret = ir_parse_one_ioapic_scope(scope, iommu, drhd);
950 else if (scope->entry_type == ACPI_DMAR_SCOPE_TYPE_HPET)
951 ret = ir_parse_one_hpet_scope(scope, iommu, drhd);
952 start += scope->length;