Lines Matching refs:scope
850 static int ir_parse_one_hpet_scope(struct acpi_dmar_device_scope *scope, in ir_parse_one_hpet_scope() argument
858 bus = scope->bus; in ir_parse_one_hpet_scope()
859 path = (struct acpi_dmar_pci_path *)(scope + 1); in ir_parse_one_hpet_scope()
860 count = (scope->length - sizeof(struct acpi_dmar_device_scope)) in ir_parse_one_hpet_scope()
875 ir_hpet[count].id == scope->enumeration_id) in ir_parse_one_hpet_scope()
886 ir_hpet[free].id = scope->enumeration_id; in ir_parse_one_hpet_scope()
890 scope->enumeration_id, drhd->address); in ir_parse_one_hpet_scope()
895 static int ir_parse_one_ioapic_scope(struct acpi_dmar_device_scope *scope, in ir_parse_one_ioapic_scope() argument
903 bus = scope->bus; in ir_parse_one_ioapic_scope()
904 path = (struct acpi_dmar_pci_path *)(scope + 1); in ir_parse_one_ioapic_scope()
905 count = (scope->length - sizeof(struct acpi_dmar_device_scope)) in ir_parse_one_ioapic_scope()
920 ir_ioapic[count].id == scope->enumeration_id) in ir_parse_one_ioapic_scope()
933 ir_ioapic[free].id = scope->enumeration_id; in ir_parse_one_ioapic_scope()
935 scope->enumeration_id, drhd->address, iommu->seq_id); in ir_parse_one_ioapic_scope()
945 struct acpi_dmar_device_scope *scope; in ir_parse_ioapic_hpet_scope() local
953 scope = start; in ir_parse_ioapic_hpet_scope()
954 if (scope->entry_type == ACPI_DMAR_SCOPE_TYPE_IOAPIC) in ir_parse_ioapic_hpet_scope()
955 ret = ir_parse_one_ioapic_scope(scope, iommu, drhd); in ir_parse_ioapic_hpet_scope()
956 else if (scope->entry_type == ACPI_DMAR_SCOPE_TYPE_HPET) in ir_parse_ioapic_hpet_scope()
957 ret = ir_parse_one_hpet_scope(scope, iommu, drhd); in ir_parse_ioapic_hpet_scope()
958 start += scope->length; in ir_parse_ioapic_hpet_scope()