Searched refs:max_asid (Results 1 – 6 of 6) 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()
422 hdev->mmu_shadow_hop0 = kvmalloc_array(prop->max_asid, in hl_mmu_init()
208 u32 max_asid; member
805 int ret, max_asid = 0; in qcom_iommu_device_probe() local811 max_asid = max(max_asid, get_asid(child)); in qcom_iommu_device_probe()813 qcom_iommu = devm_kzalloc(dev, struct_size(qcom_iommu, ctxs, max_asid), in qcom_iommu_device_probe()817 qcom_iommu->num_ctxs = max_asid; in qcom_iommu_device_probe()
667 u32 max_asid; member932 sd->max_asid = cpuid_ebx(SVM_CPUID_FUNC) - 1; in svm_hardware_enable()933 sd->next_asid = sd->max_asid + 1; in svm_hardware_enable()2653 if (sd->next_asid > sd->max_asid) { in new_asid()
387 prop->max_asid = MAX_ASID; in goya_get_fixed_properties()2433 for (i = 0 ; i < prop->max_asid ; i++) { in goya_mmu_init()