Home
last modified time | relevance | path

Searched refs:max_asid (Results 1 – 8 of 8) sorted by relevance

/Linux-v5.10/drivers/misc/habanalabs/common/
Dasid.c14 hdev->asid_bitmap = kcalloc(BITS_TO_LONGS(hdev->asic_prop.max_asid), in hl_asid_init()
40 hdev->asic_prop.max_asid); in hl_asid_alloc()
41 if (found == hdev->asic_prop.max_asid) in hl_asid_alloc()
53 if (WARN((asid == 0 || asid >= hdev->asic_prop.max_asid), in hl_asid_free()
Dmmu_v1.c439 hdev->mmu_priv.mmu_shadow_hop0 = kvmalloc_array(prop->max_asid, in hl_mmu_v1_init()
Dhabanalabs.h357 u32 max_asid; member
/Linux-v5.10/drivers/iommu/arm/arm-smmu/
Dqcom_iommu.c783 int ret, max_asid = 0; in qcom_iommu_device_probe() local
789 max_asid = max(max_asid, get_asid(child)); in qcom_iommu_device_probe()
791 qcom_iommu = devm_kzalloc(dev, struct_size(qcom_iommu, ctxs, max_asid), in qcom_iommu_device_probe()
795 qcom_iommu->num_ctxs = max_asid; in qcom_iommu_device_probe()
/Linux-v5.10/arch/x86/kvm/svm/
Dsvm.h175 u32 max_asid; member
Dsvm.c478 sd->max_asid = cpuid_ebx(SVM_CPUID_FUNC) - 1; in svm_hardware_enable()
479 sd->next_asid = sd->max_asid + 1; in svm_hardware_enable()
1752 if (sd->next_asid > sd->max_asid) { in new_asid()
/Linux-v5.10/drivers/misc/habanalabs/goya/
Dgoya.c444 prop->max_asid = MAX_ASID; in goya_get_fixed_properties()
2460 for (i = 0 ; i < prop->max_asid ; i++) { in goya_mmu_init()
/Linux-v5.10/drivers/misc/habanalabs/gaudi/
Dgaudi.c457 prop->max_asid = MAX_ASID; in gaudi_get_fixed_properties()
2704 for (i = 0 ; i < prop->max_asid ; i++) { in gaudi_mmu_init()