Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/iommu/intel/
Diommu.c1368 ndomains = cap_ndoms(iommu->cap); in iommu_init_domains()
1408 if (WARN_ON(bitmap_weight(iommu->domain_ids, cap_ndoms(iommu->cap)) in disable_dmar_iommu()
1500 ndomains = cap_ndoms(iommu->cap); in domain_attach_iommu()
1602 if (did_old < cap_ndoms(iommu->cap)) { in copied_context_tear_down()
2143 if (did >= 0 && did < cap_ndoms(iommu->cap)) in copy_context_table()
3080 return sysfs_emit(buf, "%ld\n", cap_ndoms(iommu->cap)); in domains_supported_show()
3090 cap_ndoms(iommu->cap))); in domains_used_show()
Diommu.h191 #define cap_ndoms(c) (((unsigned long)1) << (4 + 2 * ((c) & 0x7))) macro