Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/iommu/
Damd_iommu_v2.c61 int max_pasids; member
326 for (i = 0; i < dev_state->max_pasids; ++i) { in free_pasid_states()
622 if (pasid < 0 || pasid >= dev_state->max_pasids) in amd_iommu_bind_pasid()
702 if (pasid < 0 || pasid >= dev_state->max_pasids) in amd_iommu_unbind_pasid()
766 dev_state->max_pasids = pasids; in amd_iommu_init_device()
Damd_iommu.c3641 int max_pasids; in amd_iommu_device_info() local
3666 max_pasids = 1 << (9 * (amd_iommu_max_glx_val + 1)); in amd_iommu_device_info()
3667 max_pasids = min(max_pasids, (1 << 20)); in amd_iommu_device_info()
3670 info->max_pasids = min(pci_max_pasids(pdev), max_pasids); in amd_iommu_device_info()
/Linux-v5.4/include/linux/
Damd-iommu.h150 int max_pasids; member
/Linux-v5.4/drivers/gpu/drm/amd/amdkfd/
Dkfd_iommu.c92 iommu_info.max_pasids); in kfd_iommu_device_init()