Lines Matching refs:atsr
3122 static struct dmar_atsr_unit *dmar_find_atsr(struct acpi_dmar_atsr *atsr)
3130 if (atsr->segment != tmp->segment)
3132 if (atsr->header.length != tmp->header.length)
3134 if (memcmp(atsr, tmp, atsr->header.length) == 0)
3143 struct acpi_dmar_atsr *atsr;
3149 atsr = container_of(hdr, struct acpi_dmar_atsr, header);
3150 atsru = dmar_find_atsr(atsr);
3165 atsru->include_all = atsr->flags & 0x1;
3167 atsru->devices = dmar_alloc_dev_scope((void *)(atsr + 1),
3168 (void *)atsr + atsr->header.length,
3189 struct acpi_dmar_atsr *atsr;
3192 atsr = container_of(hdr, struct acpi_dmar_atsr, header);
3193 atsru = dmar_find_atsr(atsr);
3207 struct acpi_dmar_atsr *atsr;
3210 atsr = container_of(hdr, struct acpi_dmar_atsr, header);
3211 atsru = dmar_find_atsr(atsr);
3420 struct acpi_dmar_atsr *atsr;
3452 atsr = container_of(atsru->hdr, struct acpi_dmar_atsr, header);
3453 if (atsr->segment != pci_domain_nr(dev->bus))
3476 struct acpi_dmar_atsr *atsr;
3503 atsr = container_of(atsru->hdr, struct acpi_dmar_atsr, header);
3505 ret = dmar_insert_dev_scope(info, (void *)(atsr + 1),
3506 (void *)atsr + atsr->header.length,
3507 atsr->segment, atsru->devices,
3514 if (dmar_remove_dev_scope(info, atsr->segment,