Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/iommu/
Dqcom_iommu.c787 int ret, sz, max_asid = 0; in qcom_iommu_device_probe() local
793 max_asid = max(max_asid, get_asid(child)); in qcom_iommu_device_probe()
795 sz = sizeof(*qcom_iommu) + (max_asid * sizeof(qcom_iommu->ctxs[0])); in qcom_iommu_device_probe()
800 qcom_iommu->num_ctxs = max_asid; in qcom_iommu_device_probe()
/Linux-v4.19/arch/x86/kvm/
Dsvm.c664 u32 max_asid; member
926 sd->max_asid = cpuid_ebx(SVM_CPUID_FUNC) - 1; in svm_hardware_enable()
927 sd->next_asid = sd->max_asid + 1; in svm_hardware_enable()
2594 if (sd->next_asid > sd->max_asid) { in new_asid()