Searched refs:odomain (Results 1 – 1 of 1) sorted by relevance
1409 struct omap_iommu_domain *odomain) in omap_iommu_attach_init() argument1414 odomain->num_iommus = omap_iommu_count(dev); in omap_iommu_attach_init()1415 if (!odomain->num_iommus) in omap_iommu_attach_init()1418 odomain->iommus = kcalloc(odomain->num_iommus, sizeof(*iommu), in omap_iommu_attach_init()1420 if (!odomain->iommus) in omap_iommu_attach_init()1423 iommu = odomain->iommus; in omap_iommu_attach_init()1424 for (i = 0; i < odomain->num_iommus; i++, iommu++) { in omap_iommu_attach_init()1441 static void omap_iommu_detach_fini(struct omap_iommu_domain *odomain) in omap_iommu_detach_fini() argument1444 struct omap_iommu_device *iommu = odomain->iommus; in omap_iommu_detach_fini()1446 for (i = 0; iommu && i < odomain->num_iommus; i++, iommu++) in omap_iommu_detach_fini()[all …]