Home
last modified time | relevance | path

Searched refs:max_pasid (Results 1 – 5 of 5) sorted by relevance

/linux-6.12.1/drivers/misc/ocxl/
Dpasid.c83 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-6.12.1/drivers/iommu/intel/
Dpasid.c43 u32 max_pasid = 0; in intel_pasid_alloc_table() local
58 max_pasid = min_t(u32, pci_max_pasids(to_pci_dev(dev)), in intel_pasid_alloc_table()
61 size = max_pasid >> (PASID_PDE_SHIFT - 3); in intel_pasid_alloc_table()
71 pasid_table->max_pasid = 1 << (order + PAGE_SHIFT + 3); in intel_pasid_alloc_table()
97 max_pde = pasid_table->max_pasid >> PASID_PDE_SHIFT; in intel_pasid_free_table()
126 return info->pasid_table->max_pasid; in intel_pasid_get_dev_max_id()
727 max_pde = table->max_pasid >> PASID_PDE_SHIFT; in context_get_sm_pds()
925 for (i = 0; i < info->pasid_table->max_pasid; i++) { in intel_context_flush_present()
Dpasid.h58 u32 max_pasid; /* max pasid */ member
/linux-6.12.1/drivers/scsi/cxlflash/
Docxl_hw.h40 int max_pasid; /* Maximum number of contexts */ member
Docxl_hw.c499 rc = idr_alloc(&afu->idr, ctx, 0, afu->max_pasid, GFP_NOWAIT); in ocxlflash_dev_context_init()
885 afu->max_pasid = 1 << acfg->pasid_supported_log; in ocxlflash_config_afu()