Lines Matching refs:satc
3221 static struct dmar_satc_unit *dmar_find_satc(struct acpi_dmar_satc *satc) in dmar_find_satc() argument
3229 if (satc->segment != tmp->segment) in dmar_find_satc()
3231 if (satc->header.length != tmp->header.length) in dmar_find_satc()
3233 if (memcmp(satc, tmp, satc->header.length) == 0) in dmar_find_satc()
3242 struct acpi_dmar_satc *satc; in dmar_parse_one_satc() local
3248 satc = container_of(hdr, struct acpi_dmar_satc, header); in dmar_parse_one_satc()
3249 satcu = dmar_find_satc(satc); in dmar_parse_one_satc()
3259 satcu->atc_required = satc->flags & 0x1; in dmar_parse_one_satc()
3260 satcu->devices = dmar_alloc_dev_scope((void *)(satc + 1), in dmar_parse_one_satc()
3261 (void *)satc + satc->header.length, in dmar_parse_one_satc()
3390 struct acpi_dmar_satc *satc; in dmar_find_matched_satc_unit() local
3398 satc = container_of(satcu->hdr, struct acpi_dmar_satc, header); in dmar_find_matched_satc_unit()
3399 if (satc->segment != pci_domain_nr(dev->bus)) in dmar_find_matched_satc_unit()
3475 struct acpi_dmar_satc *satc; in dmar_iommu_notify_scope_dev() local
3517 satc = container_of(satcu->hdr, struct acpi_dmar_satc, header); in dmar_iommu_notify_scope_dev()
3519 ret = dmar_insert_dev_scope(info, (void *)(satc + 1), in dmar_iommu_notify_scope_dev()
3520 (void *)satc + satc->header.length, in dmar_iommu_notify_scope_dev()
3521 satc->segment, satcu->devices, in dmar_iommu_notify_scope_dev()
3528 if (dmar_remove_dev_scope(info, satc->segment, in dmar_iommu_notify_scope_dev()