Searched refs:pasid_max (Results 1 – 2 of 2) sorted by relevance
43 iommu->pasid_max = 2 << ecap_pss(iommu->ecap); in intel_svm_alloc_pasid_tables()50 if (iommu->pasid_max > 0x20000) in intel_svm_alloc_pasid_tables()51 iommu->pasid_max = 0x20000; in intel_svm_alloc_pasid_tables()53 order = get_order(sizeof(struct pasid_entry) * iommu->pasid_max); in intel_svm_alloc_pasid_tables()81 int order = get_order(sizeof(struct pasid_entry) * iommu->pasid_max); in intel_svm_free_pasid_tables()302 int pasid_max; in intel_svm_bind_mm() local309 pasid_max = pci_max_pasids(to_pci_dev(dev)); in intel_svm_bind_mm()310 if (pasid_max < 0) in intel_svm_bind_mm()313 pasid_max = 1 << 20; in intel_svm_bind_mm()332 if (svm->pasid >= pasid_max) { in intel_svm_bind_mm()[all …]
5240 return find_first_bit((unsigned long *)&iommu->pasid_max, in intel_iommu_get_pts()