Searched refs:cap_ndoms (Results 1 – 2 of 2) sorted by relevance
113 #define cap_ndoms(c) (((unsigned long)1) << (4 + 2 * ((c) & 0x7))) macro
1148 ndomains = cap_ndoms(iommu->cap); in iommu_init_domains()1190 for_each_set_bit(i, iommu->domain_ids, cap_ndoms(iommu->cap)) { in free_dmar_iommu()1255 ndomains = cap_ndoms(iommu->cap); in iommu_attach_domain()1283 ndomains = cap_ndoms(iommu->cap); in iommu_detach_domain()1477 ndomains = cap_ndoms(iommu->cap); in domain_context_mapping_one()3531 ndomains = cap_ndoms(iommu->cap); in iommu_free_vm_domain()