Home
last modified time | relevance | path

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

/Linux-v5.4/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.c3351 int amd_iommu_domain_enable_v2(struct iommu_domain *dom, int pasids) in amd_iommu_domain_enable_v2() argument
3357 if (pasids <= 0 || pasids > (PASID_MASK + 1)) in amd_iommu_domain_enable_v2()
3361 for (levels = 0; (pasids - 1) & ~0x1ff; pasids >>= 9) in amd_iommu_domain_enable_v2()
/Linux-v5.4/include/linux/
Damd-iommu.h62 extern int amd_iommu_init_device(struct pci_dev *pdev, int pasids);