Lines Matching refs:atsr
3706 static struct dmar_atsr_unit *dmar_find_atsr(struct acpi_dmar_atsr *atsr) in dmar_find_atsr() argument
3713 if (atsr->segment != tmp->segment) in dmar_find_atsr()
3715 if (atsr->header.length != tmp->header.length) in dmar_find_atsr()
3717 if (memcmp(atsr, tmp, atsr->header.length) == 0) in dmar_find_atsr()
3726 struct acpi_dmar_atsr *atsr; in dmar_parse_one_atsr() local
3732 atsr = container_of(hdr, struct acpi_dmar_atsr, header); in dmar_parse_one_atsr()
3733 atsru = dmar_find_atsr(atsr); in dmar_parse_one_atsr()
3748 atsru->include_all = atsr->flags & 0x1; in dmar_parse_one_atsr()
3750 atsru->devices = dmar_alloc_dev_scope((void *)(atsr + 1), in dmar_parse_one_atsr()
3751 (void *)atsr + atsr->header.length, in dmar_parse_one_atsr()
3772 struct acpi_dmar_atsr *atsr; in dmar_release_one_atsr() local
3775 atsr = container_of(hdr, struct acpi_dmar_atsr, header); in dmar_release_one_atsr()
3776 atsru = dmar_find_atsr(atsr); in dmar_release_one_atsr()
3790 struct acpi_dmar_atsr *atsr; in dmar_check_one_atsr() local
3793 atsr = container_of(hdr, struct acpi_dmar_atsr, header); in dmar_check_one_atsr()
3794 atsru = dmar_find_atsr(atsr); in dmar_check_one_atsr()
3925 struct acpi_dmar_atsr *atsr; in dmar_find_matched_atsr_unit() local
3945 atsr = container_of(atsru->hdr, struct acpi_dmar_atsr, header); in dmar_find_matched_atsr_unit()
3946 if (atsr->segment != pci_domain_nr(dev->bus)) in dmar_find_matched_atsr_unit()
3968 struct acpi_dmar_atsr *atsr; in dmar_iommu_notify_scope_dev() local
3994 atsr = container_of(atsru->hdr, struct acpi_dmar_atsr, header); in dmar_iommu_notify_scope_dev()
3996 ret = dmar_insert_dev_scope(info, (void *)(atsr + 1), in dmar_iommu_notify_scope_dev()
3997 (void *)atsr + atsr->header.length, in dmar_iommu_notify_scope_dev()
3998 atsr->segment, atsru->devices, in dmar_iommu_notify_scope_dev()
4005 if (dmar_remove_dev_scope(info, atsr->segment, in dmar_iommu_notify_scope_dev()