IOMMU_DOMAIN_IDENTITY
if (!domain || domain->type == IOMMU_DOMAIN_IDENTITY)
if (domain && domain->type != IOMMU_DOMAIN_IDENTITY &&
if (domain && domain->type == IOMMU_DOMAIN_IDENTITY)
if (!iommu_domain || iommu_domain->type == IOMMU_DOMAIN_IDENTITY)
else if (domain->domain.type == IOMMU_DOMAIN_IDENTITY)
return (pdom->domain.type == IOMMU_DOMAIN_IDENTITY);
domain->type = IOMMU_DOMAIN_IDENTITY;
return IOMMU_DOMAIN_IDENTITY;
.type = IOMMU_DOMAIN_IDENTITY,
return IOMMU_DOMAIN_IDENTITY;
if (sid_domain->type == IOMMU_DOMAIN_IDENTITY)
sid_domain->type != IOMMU_DOMAIN_IDENTITY &&
if (sid_domain->type == IOMMU_DOMAIN_IDENTITY ||
.type = IOMMU_DOMAIN_IDENTITY,
return IOMMU_DOMAIN_IDENTITY;
return match ? IOMMU_DOMAIN_IDENTITY : 0;
.type = IOMMU_DOMAIN_IDENTITY,
return IOMMU_DOMAIN_IDENTITY;
.type = IOMMU_DOMAIN_IDENTITY,
.type = IOMMU_DOMAIN_IDENTITY,
return IOMMU_DOMAIN_IDENTITY;
if (domain->type == IOMMU_DOMAIN_IDENTITY)
.type = IOMMU_DOMAIN_IDENTITY,
domain->type == IOMMU_DOMAIN_IDENTITY)
iommu_domain_init(domain, IOMMU_DOMAIN_IDENTITY, ops);
if (req_type == IOMMU_DOMAIN_IDENTITY)
if (type == IOMMU_DOMAIN_IDENTITY)
driver_type = IOMMU_DOMAIN_IDENTITY;
driver_type = IOMMU_DOMAIN_IDENTITY;
case IOMMU_DOMAIN_IDENTITY:
if (domain->type == IOMMU_DOMAIN_IDENTITY)
iommu_def_domain_type = IOMMU_DOMAIN_IDENTITY;
return iommu_def_domain_type == IOMMU_DOMAIN_IDENTITY;
req_type = IOMMU_DOMAIN_IDENTITY;
if (group->domain && group->domain->type != IOMMU_DOMAIN_IDENTITY) {
case IOMMU_DOMAIN_IDENTITY:
.type = IOMMU_DOMAIN_IDENTITY,
.type = IOMMU_DOMAIN_IDENTITY,
.type = IOMMU_DOMAIN_IDENTITY,
.type = IOMMU_DOMAIN_IDENTITY,
.type = IOMMU_DOMAIN_IDENTITY,
.type = IOMMU_DOMAIN_IDENTITY,
.type = IOMMU_DOMAIN_IDENTITY,
zdev->s390_domain->type == IOMMU_DOMAIN_IDENTITY)
.type = IOMMU_DOMAIN_IDENTITY,
case IOMMU_DOMAIN_IDENTITY:
zdev->s390_domain->type == IOMMU_DOMAIN_IDENTITY) {
.type = IOMMU_DOMAIN_IDENTITY,
.type = IOMMU_DOMAIN_IDENTITY,
return IOMMU_DOMAIN_IDENTITY;
.type = IOMMU_DOMAIN_IDENTITY,
if (domain && domain->type != IOMMU_DOMAIN_IDENTITY)
domain->type == IOMMU_DOMAIN_IDENTITY)
if (!domain || domain->type == IOMMU_DOMAIN_IDENTITY)