Searched refs:max_pasids (Results 1 – 9 of 9) sorted by relevance
94 ioasid_t max_pasids; in iommu_sva_bind_device() local97 max_pasids = dev->iommu->max_pasids; in iommu_sva_bind_device()98 if (!max_pasids) in iommu_sva_bind_device()102 ret = iommu_sva_alloc_pasid(mm, 1, max_pasids - 1); in iommu_sva_bind_device()
289 u32 max_pasids = 0, bits = 0; in dev_iommu_get_max_pasids() local295 max_pasids = ret; in dev_iommu_get_max_pasids()299 max_pasids = 1UL << bits; in dev_iommu_get_max_pasids()302 return min_t(u32, max_pasids, dev->iommu->iommu_dev->max_pasids); in dev_iommu_get_max_pasids()340 dev->iommu->max_pasids = dev_iommu_get_max_pasids(dev); in __iommu_probe_device()
60 int max_pasids; member323 for (i = 0; i < dev_state->max_pasids; ++i) { in free_pasid_states()619 if (pasid >= dev_state->max_pasids) in amd_iommu_bind_pasid()701 if (pasid >= dev_state->max_pasids) in amd_iommu_unbind_pasid()772 dev_state->max_pasids = pasids; in amd_iommu_init_device()
2746 int max_pasids; in amd_iommu_device_info() local2768 max_pasids = 1 << (9 * (amd_iommu_max_glx_val + 1)); in amd_iommu_device_info()2769 max_pasids = min(max_pasids, (1 << 20)); in amd_iommu_device_info()2772 info->max_pasids = min(pci_max_pasids(pdev), max_pasids); in amd_iommu_device_info()
134 int max_pasids; member
365 u32 max_pasids; member417 u32 max_pasids; member
93 iommu_info.max_pasids); in kfd_iommu_device_init()
1130 iommu->iommu.max_pasids = 2UL << ecap_pss(iommu->ecap); in alloc_iommu()
3549 smmu->iommu.max_pasids = 1UL << smmu->ssid_bits; in arm_smmu_device_hw_probe()
Completed in 37 milliseconds