Lines Matching refs:scope
834 static int ir_parse_one_hpet_scope(struct acpi_dmar_device_scope *scope, in ir_parse_one_hpet_scope() argument
842 bus = scope->bus; in ir_parse_one_hpet_scope()
843 path = (struct acpi_dmar_pci_path *)(scope + 1); in ir_parse_one_hpet_scope()
844 count = (scope->length - sizeof(struct acpi_dmar_device_scope)) in ir_parse_one_hpet_scope()
859 ir_hpet[count].id == scope->enumeration_id) in ir_parse_one_hpet_scope()
870 ir_hpet[free].id = scope->enumeration_id; in ir_parse_one_hpet_scope()
874 scope->enumeration_id, drhd->address); in ir_parse_one_hpet_scope()
879 static int ir_parse_one_ioapic_scope(struct acpi_dmar_device_scope *scope, in ir_parse_one_ioapic_scope() argument
887 bus = scope->bus; in ir_parse_one_ioapic_scope()
888 path = (struct acpi_dmar_pci_path *)(scope + 1); in ir_parse_one_ioapic_scope()
889 count = (scope->length - sizeof(struct acpi_dmar_device_scope)) in ir_parse_one_ioapic_scope()
904 ir_ioapic[count].id == scope->enumeration_id) in ir_parse_one_ioapic_scope()
917 ir_ioapic[free].id = scope->enumeration_id; in ir_parse_one_ioapic_scope()
919 scope->enumeration_id, drhd->address, iommu->seq_id); in ir_parse_one_ioapic_scope()
929 struct acpi_dmar_device_scope *scope; in ir_parse_ioapic_hpet_scope() local
937 scope = start; in ir_parse_ioapic_hpet_scope()
938 if (scope->entry_type == ACPI_DMAR_SCOPE_TYPE_IOAPIC) in ir_parse_ioapic_hpet_scope()
939 ret = ir_parse_one_ioapic_scope(scope, iommu, drhd); in ir_parse_ioapic_hpet_scope()
940 else if (scope->entry_type == ACPI_DMAR_SCOPE_TYPE_HPET) in ir_parse_ioapic_hpet_scope()
941 ret = ir_parse_one_hpet_scope(scope, iommu, drhd); in ir_parse_ioapic_hpet_scope()
942 start += scope->length; in ir_parse_ioapic_hpet_scope()