Home
last modified time | relevance | path

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

/openbmc/qemu/include/exec/
H A Dmemory.h186 int iommu_idx; member
249 int iommu_idx) in iommu_notifier_init() argument
255 n->iommu_idx = iommu_idx; in iommu_notifier_init()
398 IOMMUAccessFlags flag, int iommu_idx);
1764 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-events178 …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.c428 int iommu_idx = 0; in address_space_translate_iommu() local
432 iommu_idx = imrc->attrs_to_index(iommu_mr, attrs); in address_space_translate_iommu()
436 IOMMU_WO : IOMMU_RO, iommu_idx); in address_space_translate_iommu()
584 int iommu_idx; member
606 int iommu_idx) in tcg_register_iommu_notifier() argument
618 if (notifier->mr == mr && notifier->iommu_idx == iommu_idx) { in tcg_register_iommu_notifier()
629 notifier->iommu_idx = iommu_idx; in tcg_register_iommu_notifier()
642 iommu_idx); in tcg_register_iommu_notifier()
681 int iommu_idx; in address_space_translate_for_iotlb() local
695 iommu_idx = imrc->attrs_to_index(iommu_mr, attrs); in address_space_translate_for_iotlb()
[all …]
H A Dmemory.c2052 assert(n->iommu_idx >= 0 && in memory_region_register_iommu_notifier()
2053 n->iommu_idx < memory_region_iommu_num_indexes(iommu_mr)); in memory_region_register_iommu_notifier()
2089 iotlb = imrc->translate(iommu_mr, addr, IOMMU_NONE, n->iommu_idx); in memory_region_iommu_replay()
2162 int iommu_idx, in memory_region_notify_iommu() argument
2170 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/sparc/
H A Dsun4m_iommu.c290 int iommu_idx) in sun4m_translate_iommu() argument
/openbmc/qemu/hw/vfio/
H A Dcommon.c600 int iommu_idx; in vfio_listener_region_add() local
617 iommu_idx = memory_region_iommu_attrs_to_index(iommu_mr, in vfio_listener_region_add()
623 iommu_idx); in vfio_listener_region_add()
/openbmc/qemu/hw/virtio/
H A Dvhost-vdpa.c254 int iommu_idx; in vhost_vdpa_iommu_region_add() local
264 iommu_idx = memory_region_iommu_attrs_to_index(iommu_mr, in vhost_vdpa_iommu_region_add()
271 iommu_idx); in vhost_vdpa_iommu_region_add()
H A Dvhost.c816 int iommu_idx; in vhost_iommu_region_add() local
829 iommu_idx = memory_region_iommu_attrs_to_index(iommu_mr, in vhost_iommu_region_add()
837 iommu_idx); in vhost_iommu_region_add()
H A Dvirtio-iommu.c874 int iommu_idx) in virtio_iommu_translate() argument
/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.c281 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.c1317 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.c1008 IOMMUAccessFlags flag, int iommu_idx) in amdvi_translate() argument
H A Dintel_iommu.c3180 IOMMUAccessFlags flag, int iommu_idx) in vtd_iommu_translate() argument
/openbmc/qemu/hw/arm/
H A Dsmmuv3.c829 IOMMUAccessFlags flag, int iommu_idx) in smmuv3_translate() argument