Lines Matching refs:atsr

3300 static struct dmar_atsr_unit *dmar_find_atsr(struct acpi_dmar_atsr *atsr)  in dmar_find_atsr()  argument
3308 if (atsr->segment != tmp->segment) in dmar_find_atsr()
3310 if (atsr->header.length != tmp->header.length) in dmar_find_atsr()
3312 if (memcmp(atsr, tmp, atsr->header.length) == 0) in dmar_find_atsr()
3321 struct acpi_dmar_atsr *atsr; in dmar_parse_one_atsr() local
3327 atsr = container_of(hdr, struct acpi_dmar_atsr, header); in dmar_parse_one_atsr()
3328 atsru = dmar_find_atsr(atsr); in dmar_parse_one_atsr()
3343 atsru->include_all = atsr->flags & 0x1; in dmar_parse_one_atsr()
3345 atsru->devices = dmar_alloc_dev_scope((void *)(atsr + 1), in dmar_parse_one_atsr()
3346 (void *)atsr + atsr->header.length, in dmar_parse_one_atsr()
3367 struct acpi_dmar_atsr *atsr; in dmar_release_one_atsr() local
3370 atsr = container_of(hdr, struct acpi_dmar_atsr, header); in dmar_release_one_atsr()
3371 atsru = dmar_find_atsr(atsr); in dmar_release_one_atsr()
3385 struct acpi_dmar_atsr *atsr; in dmar_check_one_atsr() local
3388 atsr = container_of(hdr, struct acpi_dmar_atsr, header); in dmar_check_one_atsr()
3389 atsru = dmar_find_atsr(atsr); in dmar_check_one_atsr()
3598 struct acpi_dmar_atsr *atsr; in dmar_ats_supported() local
3630 atsr = container_of(atsru->hdr, struct acpi_dmar_atsr, header); in dmar_ats_supported()
3631 if (atsr->segment != pci_domain_nr(dev->bus)) in dmar_ats_supported()
3654 struct acpi_dmar_atsr *atsr; in dmar_iommu_notify_scope_dev() local
3681 atsr = container_of(atsru->hdr, struct acpi_dmar_atsr, header); in dmar_iommu_notify_scope_dev()
3683 ret = dmar_insert_dev_scope(info, (void *)(atsr + 1), in dmar_iommu_notify_scope_dev()
3684 (void *)atsr + atsr->header.length, in dmar_iommu_notify_scope_dev()
3685 atsr->segment, atsru->devices, in dmar_iommu_notify_scope_dev()
3692 if (dmar_remove_dev_scope(info, atsr->segment, in dmar_iommu_notify_scope_dev()