Lines Matching refs:atsr
4086 static struct dmar_atsr_unit *dmar_find_atsr(struct acpi_dmar_atsr *atsr) in dmar_find_atsr() argument
4093 if (atsr->segment != tmp->segment) in dmar_find_atsr()
4095 if (atsr->header.length != tmp->header.length) in dmar_find_atsr()
4097 if (memcmp(atsr, tmp, atsr->header.length) == 0) in dmar_find_atsr()
4106 struct acpi_dmar_atsr *atsr; in dmar_parse_one_atsr() local
4112 atsr = container_of(hdr, struct acpi_dmar_atsr, header); in dmar_parse_one_atsr()
4113 atsru = dmar_find_atsr(atsr); in dmar_parse_one_atsr()
4128 atsru->include_all = atsr->flags & 0x1; in dmar_parse_one_atsr()
4130 atsru->devices = dmar_alloc_dev_scope((void *)(atsr + 1), in dmar_parse_one_atsr()
4131 (void *)atsr + atsr->header.length, in dmar_parse_one_atsr()
4152 struct acpi_dmar_atsr *atsr; in dmar_release_one_atsr() local
4155 atsr = container_of(hdr, struct acpi_dmar_atsr, header); in dmar_release_one_atsr()
4156 atsru = dmar_find_atsr(atsr); in dmar_release_one_atsr()
4170 struct acpi_dmar_atsr *atsr; in dmar_check_one_atsr() local
4173 atsr = container_of(hdr, struct acpi_dmar_atsr, header); in dmar_check_one_atsr()
4174 atsru = dmar_find_atsr(atsr); in dmar_check_one_atsr()
4311 struct acpi_dmar_atsr *atsr; in dmar_find_matched_atsr_unit() local
4331 atsr = container_of(atsru->hdr, struct acpi_dmar_atsr, header); in dmar_find_matched_atsr_unit()
4332 if (atsr->segment != pci_domain_nr(dev->bus)) in dmar_find_matched_atsr_unit()
4354 struct acpi_dmar_atsr *atsr; in dmar_iommu_notify_scope_dev() local
4380 atsr = container_of(atsru->hdr, struct acpi_dmar_atsr, header); in dmar_iommu_notify_scope_dev()
4382 ret = dmar_insert_dev_scope(info, (void *)(atsr + 1), in dmar_iommu_notify_scope_dev()
4383 (void *)atsr + atsr->header.length, in dmar_iommu_notify_scope_dev()
4384 atsr->segment, atsru->devices, in dmar_iommu_notify_scope_dev()
4391 if (dmar_remove_dev_scope(info, atsr->segment, in dmar_iommu_notify_scope_dev()