Searched refs:pasids (Results 1 – 4 of 4) sorted by relevance
751 int amd_iommu_init_device(struct pci_dev *pdev, int pasids) in amd_iommu_init_device() argument763 if (pasids <= 0 || pasids > (PASID_MASK + 1)) in amd_iommu_init_device()776 tmp = pasids; in amd_iommu_init_device()781 dev_state->max_pasids = pasids; in amd_iommu_init_device()794 ret = amd_iommu_domain_enable_v2(dev_state->domain, pasids); in amd_iommu_init_device()
50 extern int amd_iommu_domain_enable_v2(struct iommu_domain *dom, int pasids);
1196 u32 pasids; in iommu_init_pci() local1201 pasids = (1 << shift); in iommu_init_pci()1203 amd_iommu_max_pasids = min(amd_iommu_max_pasids, pasids); in iommu_init_pci()
3523 int amd_iommu_domain_enable_v2(struct iommu_domain *dom, int pasids) in amd_iommu_domain_enable_v2() argument3529 if (pasids <= 0 || pasids > (PASID_MASK + 1)) in amd_iommu_domain_enable_v2()3533 for (levels = 0; (pasids - 1) & ~0x1ff; pasids >>= 9) in amd_iommu_domain_enable_v2()