Home
last modified time | relevance | path

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

/openbmc/qemu/include/exec/
H A Dmemory.h186 int iommu_idx; member
252 int iommu_idx) in iommu_notifier_init() argument
258 n->iommu_idx = iommu_idx; in iommu_notifier_init()
401 IOMMUAccessFlags flag, int iommu_idx);
1796 int iommu_idx,
/openbmc/qemu/hw/misc/
H A Dtz-mpc.c427 int iommu_idx) in tz_mpc_translate() argument
445 ok = tz_mpc_cfg_ns(s, addr) == (iommu_idx == IOMMU_IDX_NS); in tz_mpc_translate()
448 iommu_idx == IOMMU_IDX_S ? "S" : "NS", in tz_mpc_translate()
H A Dtrace-events213 …onst char *idx, const char *res) "TZ MPC translate: addr 0x%" PRIx64 " flags 0x%x iommu_idx %s: %s"
/openbmc/qemu/system/
H A Dphysmem.c430 int iommu_idx = 0; in address_space_translate_iommu() local
434 iommu_idx = imrc->attrs_to_index(iommu_mr, attrs); in address_space_translate_iommu()
438 IOMMU_WO : IOMMU_RO, iommu_idx); in address_space_translate_iommu()
586 int iommu_idx; member
608 int iommu_idx) in tcg_register_iommu_notifier() argument
620 if (notifier->mr == mr && notifier->iommu_idx == iommu_idx) { in tcg_register_iommu_notifier()
631 notifier->iommu_idx = iommu_idx; in tcg_register_iommu_notifier()
644 iommu_idx); in tcg_register_iommu_notifier()
683 int iommu_idx; in address_space_translate_for_iotlb() local
697 iommu_idx = imrc->attrs_to_index(iommu_mr, attrs); in address_space_translate_for_iotlb()
[all …]
H A Dmemory.c2079 assert(n->iommu_idx >= 0 && in memory_region_register_iommu_notifier()
2080 n->iommu_idx < memory_region_iommu_num_indexes(iommu_mr)); in memory_region_register_iommu_notifier()
2116 iotlb = imrc->translate(iommu_mr, addr, IOMMU_NONE, n->iommu_idx); in memory_region_iommu_replay()
2189 int iommu_idx, in memory_region_notify_iommu() argument
2197 if (iommu_notifier->iommu_idx == iommu_idx) { in memory_region_notify_iommu()
/openbmc/qemu/hw/sparc64/
H A Dsun4u_iommu.c77 IOMMUAccessFlags flag, int iommu_idx) in sun4u_translate_iommu() argument
/openbmc/qemu/hw/ppc/
H A Dspapr_iommu.c116 int iommu_idx) in spapr_tce_translate_iommu() argument
159 iotlb = imrc->translate(iommu_mr, addr, IOMMU_NONE, n->iommu_idx); in spapr_tce_replay()
/openbmc/qemu/hw/vfio/
H A Dcommon.c603 int iommu_idx; in vfio_listener_region_add() local
620 iommu_idx = memory_region_iommu_attrs_to_index(iommu_mr, in vfio_listener_region_add()
626 iommu_idx); in vfio_listener_region_add()
/openbmc/qemu/hw/sparc/
H A Dsun4m_iommu.c290 int iommu_idx) in sun4m_translate_iommu() argument
/openbmc/qemu/hw/virtio/
H A Dvhost-vdpa.c261 int iommu_idx; in vhost_vdpa_iommu_region_add() local
271 iommu_idx = memory_region_iommu_attrs_to_index(iommu_mr, in vhost_vdpa_iommu_region_add()
278 iommu_idx); in vhost_vdpa_iommu_region_add()
H A Dvhost.c881 int iommu_idx; in vhost_iommu_region_add() local
894 iommu_idx = memory_region_iommu_attrs_to_index(iommu_mr, in vhost_iommu_region_add()
902 iommu_idx); in vhost_iommu_region_add()
H A Dvirtio-iommu.c1140 int iommu_idx) in virtio_iommu_translate() argument
/openbmc/qemu/hw/riscv/
H A Driscv-iommu.c1471 if (!pv || n->iommu_idx == pid) { in riscv_iommu_ats()
2282 IOMMUAccessFlags flag, int iommu_idx) in riscv_iommu_memory_region_translate() argument
2294 ctx = riscv_iommu_ctx(as->iommu, as->devid, iommu_idx, &ref); in riscv_iommu_memory_region_translate()
2307 PCI_SLOT(as->devid), PCI_FUNC(as->devid), iommu_idx, in riscv_iommu_memory_region_translate()
/openbmc/qemu/hw/dma/
H A Drc4030.c500 IOMMUAccessFlags flag, int iommu_idx) in rc4030_dma_translate() argument
/openbmc/qemu/hw/alpha/
H A Dtyphoon.c675 int iommu_idx) in typhoon_translate_iommu() argument
/openbmc/qemu/hw/pci-host/
H A Dastro.c286 int iommu_idx) in astro_translate_iommu() argument
H A Dpnv_phb3.c841 int iommu_idx) in pnv_phb3_translate_iommu() argument
H A Dpnv_phb4.c1316 int iommu_idx) in pnv_phb4_translate_iommu() argument
/openbmc/qemu/hw/s390x/
H A Ds390-pci-bus.c534 IOMMUAccessFlags flag, int iommu_idx) in s390_translate_iommu() argument
/openbmc/qemu/hw/i386/
H A Damd_iommu.c1033 IOMMUAccessFlags flag, int iommu_idx) in amdvi_translate() argument
H A Dintel_iommu.c3261 IOMMUAccessFlags flag, int iommu_idx) in vtd_iommu_translate() argument
/openbmc/qemu/hw/arm/
H A Dsmmuv3.c1038 IOMMUAccessFlags flag, int iommu_idx) in smmuv3_translate() argument