Lines Matching refs:scope

721 static int ir_parse_one_hpet_scope(struct acpi_dmar_device_scope *scope,  in ir_parse_one_hpet_scope()  argument
729 bus = scope->bus; in ir_parse_one_hpet_scope()
730 path = (struct acpi_dmar_pci_path *)(scope + 1); in ir_parse_one_hpet_scope()
731 count = (scope->length - sizeof(struct acpi_dmar_device_scope)) in ir_parse_one_hpet_scope()
746 ir_hpet[count].id == scope->enumeration_id) in ir_parse_one_hpet_scope()
757 ir_hpet[free].id = scope->enumeration_id; in ir_parse_one_hpet_scope()
761 scope->enumeration_id, drhd->address); in ir_parse_one_hpet_scope()
766 static int ir_parse_one_ioapic_scope(struct acpi_dmar_device_scope *scope, in ir_parse_one_ioapic_scope() argument
774 bus = scope->bus; in ir_parse_one_ioapic_scope()
775 path = (struct acpi_dmar_pci_path *)(scope + 1); in ir_parse_one_ioapic_scope()
776 count = (scope->length - sizeof(struct acpi_dmar_device_scope)) in ir_parse_one_ioapic_scope()
791 ir_ioapic[count].id == scope->enumeration_id) in ir_parse_one_ioapic_scope()
804 ir_ioapic[free].id = scope->enumeration_id; in ir_parse_one_ioapic_scope()
806 scope->enumeration_id, drhd->address, iommu->seq_id); in ir_parse_one_ioapic_scope()
816 struct acpi_dmar_device_scope *scope; in ir_parse_ioapic_hpet_scope() local
824 scope = start; in ir_parse_ioapic_hpet_scope()
825 if (scope->entry_type == ACPI_DMAR_SCOPE_TYPE_IOAPIC) in ir_parse_ioapic_hpet_scope()
826 ret = ir_parse_one_ioapic_scope(scope, iommu, drhd); in ir_parse_ioapic_hpet_scope()
827 else if (scope->entry_type == ACPI_DMAR_SCOPE_TYPE_HPET) in ir_parse_ioapic_hpet_scope()
828 ret = ir_parse_one_hpet_scope(scope, iommu, drhd); in ir_parse_ioapic_hpet_scope()
829 start += scope->length; in ir_parse_ioapic_hpet_scope()