Searched refs:max_pasid (Results 1 – 7 of 7) sorted by relevance
/Linux-v4.19/drivers/misc/ocxl/ |
D | pasid.c | 83 int max_pasid; in ocxl_pasid_afu_alloc() local 87 max_pasid = 1 << fn->config.max_pasid_log; in ocxl_pasid_afu_alloc() 88 return range_alloc(&fn->pasid_list, size, max_pasid, "afu pasid"); in ocxl_pasid_afu_alloc()
|
/Linux-v4.19/drivers/iommu/ |
D | intel-pasid.h | 24 int max_pasid; /* max pasid */ member
|
D | intel-pasid.c | 157 pasid_table->max_pasid = count; in intel_pasid_alloc_table() 204 return info->pasid_table->max_pasid; in intel_pasid_get_dev_max_id()
|
D | amd_iommu_init.c | 1744 u32 max_pasid; in iommu_init_pci() local 1749 max_pasid = (1 << (pasmax + 1)) - 1; in iommu_init_pci() 1751 amd_iommu_max_pasid = min(amd_iommu_max_pasid, max_pasid); in iommu_init_pci()
|
D | intel-iommu.c | 5242 int pts, max_pasid; in intel_iommu_get_pts() local 5244 max_pasid = intel_pasid_get_dev_max_id(dev); in intel_iommu_get_pts() 5245 pts = find_first_bit((unsigned long *)&max_pasid, MAX_NR_PASID_BITS); in intel_iommu_get_pts()
|
/Linux-v4.19/drivers/scsi/cxlflash/ |
D | ocxl_hw.h | 45 int max_pasid; /* Maximum number of contexts */ member
|
D | ocxl_hw.c | 516 rc = idr_alloc(&afu->idr, ctx, 0, afu->max_pasid, GFP_NOWAIT); in ocxlflash_dev_context_init() 904 afu->max_pasid = 1 << acfg->pasid_supported_log; in ocxlflash_config_afu()
|