Home
last modified time | relevance | path

Searched refs:prev_dom (Results 1 – 1 of 1) sorted by relevance

/drivers/iommu/
Diommu.c3179 struct iommu_domain *prev_dom; in iommu_change_dev_def_domain() local
3221 prev_dom = group->default_domain; in iommu_change_dev_def_domain()
3222 if (!prev_dom) { in iommu_change_dev_def_domain()
3246 if (prev_dom->type == type) { in iommu_change_dev_def_domain()
3252 if (type == IOMMU_DOMAIN_DMA_FQ && prev_dom->type == IOMMU_DOMAIN_DMA) { in iommu_change_dev_def_domain()
3253 ret = iommu_dma_init_fq(prev_dom); in iommu_change_dev_def_domain()
3255 prev_dom->type = IOMMU_DOMAIN_DMA_FQ; in iommu_change_dev_def_domain()
3284 iommu_domain_free(prev_dom); in iommu_change_dev_def_domain()
3289 group->default_domain = prev_dom; in iommu_change_dev_def_domain()
3290 group->domain = prev_dom; in iommu_change_dev_def_domain()