Searched refs:max_asid (Results 1 – 8 of 8) sorted by relevance
14 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()
439 hdev->mmu_priv.mmu_shadow_hop0 = kvmalloc_array(prop->max_asid, in hl_mmu_v1_init()
357 u32 max_asid; member
783 int ret, max_asid = 0; in qcom_iommu_device_probe() local789 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()
175 u32 max_asid; member
478 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()
444 prop->max_asid = MAX_ASID; in goya_get_fixed_properties()2460 for (i = 0 ; i < prop->max_asid ; i++) { in goya_mmu_init()
457 prop->max_asid = MAX_ASID; in gaudi_get_fixed_properties()2704 for (i = 0 ; i < prop->max_asid ; i++) { in gaudi_mmu_init()