Lines Matching refs:atsr

4391 static struct dmar_atsr_unit *dmar_find_atsr(struct acpi_dmar_atsr *atsr)  in dmar_find_atsr()  argument
4399 if (atsr->segment != tmp->segment) in dmar_find_atsr()
4401 if (atsr->header.length != tmp->header.length) in dmar_find_atsr()
4403 if (memcmp(atsr, tmp, atsr->header.length) == 0) in dmar_find_atsr()
4412 struct acpi_dmar_atsr *atsr; in dmar_parse_one_atsr() local
4418 atsr = container_of(hdr, struct acpi_dmar_atsr, header); in dmar_parse_one_atsr()
4419 atsru = dmar_find_atsr(atsr); in dmar_parse_one_atsr()
4434 atsru->include_all = atsr->flags & 0x1; in dmar_parse_one_atsr()
4436 atsru->devices = dmar_alloc_dev_scope((void *)(atsr + 1), in dmar_parse_one_atsr()
4437 (void *)atsr + atsr->header.length, in dmar_parse_one_atsr()
4458 struct acpi_dmar_atsr *atsr; in dmar_release_one_atsr() local
4461 atsr = container_of(hdr, struct acpi_dmar_atsr, header); in dmar_release_one_atsr()
4462 atsru = dmar_find_atsr(atsr); in dmar_release_one_atsr()
4476 struct acpi_dmar_atsr *atsr; in dmar_check_one_atsr() local
4479 atsr = container_of(hdr, struct acpi_dmar_atsr, header); in dmar_check_one_atsr()
4480 atsru = dmar_find_atsr(atsr); in dmar_check_one_atsr()
4613 struct acpi_dmar_atsr *atsr; in dmar_find_matched_atsr_unit() local
4633 atsr = container_of(atsru->hdr, struct acpi_dmar_atsr, header); in dmar_find_matched_atsr_unit()
4634 if (atsr->segment != pci_domain_nr(dev->bus)) in dmar_find_matched_atsr_unit()
4656 struct acpi_dmar_atsr *atsr; in dmar_iommu_notify_scope_dev() local
4682 atsr = container_of(atsru->hdr, struct acpi_dmar_atsr, header); in dmar_iommu_notify_scope_dev()
4684 ret = dmar_insert_dev_scope(info, (void *)(atsr + 1), in dmar_iommu_notify_scope_dev()
4685 (void *)atsr + atsr->header.length, in dmar_iommu_notify_scope_dev()
4686 atsr->segment, atsru->devices, in dmar_iommu_notify_scope_dev()
4693 if (dmar_remove_dev_scope(info, atsr->segment, in dmar_iommu_notify_scope_dev()