Home
last modified time | relevance | path

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

/openbmc/qemu/hw/riscv/
H A Driscv-iommu.c311 uint32_t sv_mode; in riscv_iommu_spa_fetch() local
324 sv_mode = pass ? RISCV_IOMMU_CAP_SV32X4 : RISCV_IOMMU_CAP_SV32; in riscv_iommu_spa_fetch()
325 if (!(s->cap & sv_mode)) { in riscv_iommu_spa_fetch()
344 sv_mode = pass ? RISCV_IOMMU_CAP_SV39X4 : RISCV_IOMMU_CAP_SV39; in riscv_iommu_spa_fetch()
345 if (!(s->cap & sv_mode)) { in riscv_iommu_spa_fetch()
353 sv_mode = pass ? RISCV_IOMMU_CAP_SV48X4 : RISCV_IOMMU_CAP_SV48; in riscv_iommu_spa_fetch()
354 if (!(s->cap & sv_mode)) { in riscv_iommu_spa_fetch()
362 sv_mode = pass ? RISCV_IOMMU_CAP_SV57X4 : RISCV_IOMMU_CAP_SV57; in riscv_iommu_spa_fetch()
363 if (!(s->cap & sv_mode)) { in riscv_iommu_spa_fetch()