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