Home
last modified time | relevance | path

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

/openbmc/qemu/hw/ppc/
H A Dspapr_pci_vfio.c131 return vfio_eeh_as_ok(&sphb->iommu_as); in spapr_phb_eeh_available()
136 vfio_eeh_as_op(&sphb->iommu_as, VFIO_EEH_PE_ENABLE); in spapr_phb_vfio_eeh_reenable()
215 ret = vfio_eeh_as_op(&sphb->iommu_as, op); in spapr_phb_vfio_eeh_set_option()
227 ret = vfio_eeh_as_op(&sphb->iommu_as, VFIO_EEH_PE_GET_STATE); in spapr_phb_vfio_eeh_get_state()
300 ret = vfio_eeh_as_op(&sphb->iommu_as, op); in spapr_phb_vfio_eeh_reset()
312 ret = vfio_eeh_as_op(&sphb->iommu_as, VFIO_EEH_PE_CONFIGURE); in spapr_phb_vfio_eeh_configure()
H A Dspapr_pci.c779 return &phb->iommu_as; in spapr_pci_dma_iommu()
1796 address_space_remove_listeners(&sphb->iommu_as); in spapr_phb_unrealize()
1797 address_space_destroy(&sphb->iommu_as); in spapr_phb_unrealize()
1961 address_space_init(&sphb->iommu_as, &sphb->iommu_root, in spapr_phb_realize()
/openbmc/qemu/hw/dma/
H A Dsparc32_dma.c84 dma_memory_read(&is->iommu_as, addr, buf, len, MEMTXATTRS_UNSPECIFIED); in ledma_memory_read()
88 dma_memory_read(&is->iommu_as, addr, buf, len, MEMTXATTRS_UNSPECIFIED); in ledma_memory_read()
106 dma_memory_write(&is->iommu_as, addr, buf, len, in ledma_memory_write()
118 dma_memory_write(&is->iommu_as, addr, tmp_buf, l, in ledma_memory_write()
153 dma_memory_read(&is->iommu_as, s->dmaregs[1], buf, len, in espdma_memory_read()
164 dma_memory_write(&is->iommu_as, s->dmaregs[1], buf, len, in espdma_memory_write()
/openbmc/qemu/include/hw/sparc/
H A Dsun4u_iommu.h38 AddressSpace iommu_as; member
H A Dsun4m_iommu.h36 AddressSpace iommu_as; member
/openbmc/qemu/hw/i386/
H A Damd_iommu.c1413 AMDVIAddressSpace **iommu_as, *amdvi_dev_as; in amdvi_host_dma_iommu() local
1416 iommu_as = s->address_spaces[bus_num]; in amdvi_host_dma_iommu()
1419 if (!iommu_as) { in amdvi_host_dma_iommu()
1421 s->address_spaces[bus_num] = iommu_as; in amdvi_host_dma_iommu()
1425 if (!iommu_as[devfn]) { in amdvi_host_dma_iommu()
1428 iommu_as[devfn] = g_new0(AMDVIAddressSpace, 1); in amdvi_host_dma_iommu()
1429 iommu_as[devfn]->bus_num = (uint8_t)bus_num; in amdvi_host_dma_iommu()
1430 iommu_as[devfn]->devfn = (uint8_t)devfn; in amdvi_host_dma_iommu()
1431 iommu_as[devfn]->iommu_state = s; in amdvi_host_dma_iommu()
1433 amdvi_dev_as = iommu_as[devfn]; in amdvi_host_dma_iommu()
[all …]
/openbmc/qemu/include/hw/pci-host/
H A Dastro.h91 AddressSpace iommu_as; member
H A Dspapr.h66 AddressSpace iommu_as; member
/openbmc/qemu/hw/alpha/
H A Dtyphoon.c44 AddressSpace iommu_as; member
738 return &s->pchip.iommu_as; in typhoon_pci_dma_iommu()
902 address_space_init(&s->pchip.iommu_as, MEMORY_REGION(&s->pchip.iommu), in typhoon_init()
/openbmc/qemu/hw/sparc64/
H A Dsun4u_iommu.c301 address_space_init(&s->iommu_as, MEMORY_REGION(&s->iommu), "iommu-as"); in iommu_init()
/openbmc/qemu/hw/pci-host/
H A Dastro.c348 return &s->astro->iommu_as; in elroy_pcihost_set_iommu()
790 address_space_init(&s->iommu_as, MEMORY_REGION(&s->iommu), in astro_realize()
H A Dsabre.c112 return &is->iommu_as; in sabre_pci_dma_iommu()
/openbmc/qemu/hw/sparc/
H A Dsun4m_iommu.c362 address_space_init(&s->iommu_as, MEMORY_REGION(&s->iommu), "iommu-as"); in iommu_init()