Home
last modified time | relevance | path

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

/openbmc/qemu/hw/sparc64/
H A Dsun4u_iommu.c41 #define IOMMU_CTRL 0x0 macro
91 if (!(is->regs[IOMMU_CTRL >> 3] & IOMMU_CTRL_MMU_EN)) { in sun4u_translate_iommu()
102 tsbsize = (is->regs[IOMMU_CTRL >> 3] >> IOMMU_CTRL_TSB_SHIFT) & 0x7; in sun4u_translate_iommu()
104 if (is->regs[IOMMU_CTRL >> 3] & IOMMU_CTRL_TBW_SIZE) { in sun4u_translate_iommu()
200 case IOMMU_CTRL: in iommu_mem_write()
202 is->regs[IOMMU_CTRL >> 3] &= 0xffffffffULL; in iommu_mem_write()
203 is->regs[IOMMU_CTRL >> 3] |= val << 32; in iommu_mem_write()
205 is->regs[IOMMU_CTRL >> 3] = val; in iommu_mem_write()
208 case IOMMU_CTRL + 0x4: in iommu_mem_write()
209 is->regs[IOMMU_CTRL >> 3] &= 0xffffffff00000000ULL; in iommu_mem_write()
[all …]
/openbmc/qemu/hw/sparc/
H A Dsun4m_iommu.c43 #define IOMMU_CTRL (0x0000 >> 2) macro
165 case IOMMU_CTRL: in iommu_mem_write()
347 s->regs[IOMMU_CTRL] = s->version; in iommu_reset()