Home
last modified time | relevance | path

Searched refs:pasids (Results 1 – 3 of 3) sorted by relevance

/drivers/iommu/
Damd_iommu_v2.c734 int amd_iommu_init_device(struct pci_dev *pdev, int pasids) in amd_iommu_init_device() argument
747 if (pasids <= 0 || pasids > (PASID_MASK + 1)) in amd_iommu_init_device()
761 tmp = pasids; in amd_iommu_init_device()
766 dev_state->max_pasids = pasids; in amd_iommu_init_device()
779 ret = amd_iommu_domain_enable_v2(dev_state->domain, pasids); in amd_iommu_init_device()
Damd_iommu_proto.h45 extern int amd_iommu_domain_enable_v2(struct iommu_domain *dom, int pasids);
Damd_iommu.c3340 int amd_iommu_domain_enable_v2(struct iommu_domain *dom, int pasids) in amd_iommu_domain_enable_v2() argument
3346 if (pasids <= 0 || pasids > (PASID_MASK + 1)) in amd_iommu_domain_enable_v2()
3350 for (levels = 0; (pasids - 1) & ~0x1ff; pasids >>= 9) in amd_iommu_domain_enable_v2()