Home
last modified time | relevance | path

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

/openbmc/qemu/hw/ppc/
H A Dspapr_iommu.c147 IOMMUMemoryRegionClass *imrc = IOMMU_MEMORY_REGION_GET_CLASS(iommu_mr); in spapr_tce_replay() local
159 iotlb = imrc->translate(iommu_mr, addr, IOMMU_NONE, n->iommu_idx); in spapr_tce_replay()
698 IOMMUMemoryRegionClass *imrc = IOMMU_MEMORY_REGION_CLASS(klass); in spapr_iommu_memory_region_class_init() local
700 imrc->translate = spapr_tce_translate_iommu; in spapr_iommu_memory_region_class_init()
701 imrc->replay = spapr_tce_replay; in spapr_iommu_memory_region_class_init()
702 imrc->get_min_page_size = spapr_tce_get_min_page_size; in spapr_iommu_memory_region_class_init()
703 imrc->notify_flag_changed = spapr_tce_notify_flag_changed; in spapr_iommu_memory_region_class_init()
704 imrc->get_attr = spapr_tce_get_attr; in spapr_iommu_memory_region_class_init()
/openbmc/qemu/hw/misc/
H A Dtz-mpc.c617 IOMMUMemoryRegionClass *imrc = IOMMU_MEMORY_REGION_CLASS(klass); in tz_mpc_iommu_memory_region_class_init() local
619 imrc->translate = tz_mpc_translate; in tz_mpc_iommu_memory_region_class_init()
620 imrc->attrs_to_index = tz_mpc_attrs_to_index; in tz_mpc_iommu_memory_region_class_init()
621 imrc->num_indexes = tz_mpc_num_indexes; in tz_mpc_iommu_memory_region_class_init()
/openbmc/qemu/hw/sparc64/
H A Dsun4u_iommu.c325 IOMMUMemoryRegionClass *imrc = IOMMU_MEMORY_REGION_CLASS(klass); in sun4u_iommu_memory_region_class_init() local
327 imrc->translate = sun4u_translate_iommu; in sun4u_iommu_memory_region_class_init()
/openbmc/qemu/system/
H A Dmemory.c2046 IOMMUMemoryRegionClass *imrc = IOMMU_MEMORY_REGION_GET_CLASS(iommu_mr); in memory_region_update_iommu_notify_flags() local
2053 if (flags != iommu_mr->iommu_notify_flags && imrc->notify_flag_changed) { in memory_region_update_iommu_notify_flags()
2054 ret = imrc->notify_flag_changed(iommu_mr, in memory_region_update_iommu_notify_flags()
2092 IOMMUMemoryRegionClass *imrc = IOMMU_MEMORY_REGION_GET_CLASS(iommu_mr); in memory_region_iommu_get_min_page_size() local
2094 if (imrc->get_min_page_size) { in memory_region_iommu_get_min_page_size()
2095 return imrc->get_min_page_size(iommu_mr); in memory_region_iommu_get_min_page_size()
2103 IOMMUMemoryRegionClass *imrc = IOMMU_MEMORY_REGION_GET_CLASS(iommu_mr); in memory_region_iommu_replay() local
2108 if (imrc->replay) { in memory_region_iommu_replay()
2109 imrc->replay(iommu_mr, n); in memory_region_iommu_replay()
2116 iotlb = imrc->translate(iommu_mr, addr, IOMMU_NONE, n->iommu_idx); in memory_region_iommu_replay()
[all …]
H A Dphysmem.c429 IOMMUMemoryRegionClass *imrc = memory_region_get_iommu_class_nocheck(iommu_mr); in address_space_translate_iommu() local
433 if (imrc->attrs_to_index) { in address_space_translate_iommu()
434 iommu_idx = imrc->attrs_to_index(iommu_mr, attrs); in address_space_translate_iommu()
437 iotlb = imrc->translate(iommu_mr, addr, is_write ? in address_space_translate_iommu()
681 IOMMUMemoryRegionClass *imrc; in address_space_translate_for_iotlb() local
695 imrc = memory_region_get_iommu_class_nocheck(iommu_mr); in address_space_translate_for_iotlb()
697 iommu_idx = imrc->attrs_to_index(iommu_mr, attrs); in address_space_translate_for_iotlb()
702 iotlb = imrc->translate(iommu_mr, addr, IOMMU_NONE, iommu_idx); in address_space_translate_for_iotlb()
/openbmc/qemu/hw/sparc/
H A Dsun4m_iommu.c395 IOMMUMemoryRegionClass *imrc = IOMMU_MEMORY_REGION_CLASS(klass); in sun4m_iommu_memory_region_class_init() local
397 imrc->translate = sun4m_translate_iommu; in sun4m_iommu_memory_region_class_init()
/openbmc/qemu/hw/dma/
H A Drc4030.c725 IOMMUMemoryRegionClass *imrc = IOMMU_MEMORY_REGION_CLASS(klass); in rc4030_iommu_memory_region_class_init() local
727 imrc->translate = rc4030_dma_translate; in rc4030_iommu_memory_region_class_init()
/openbmc/qemu/hw/alpha/
H A Dtyphoon.c939 IOMMUMemoryRegionClass *imrc = IOMMU_MEMORY_REGION_CLASS(klass); in typhoon_iommu_memory_region_class_init() local
941 imrc->translate = typhoon_translate_iommu; in typhoon_iommu_memory_region_class_init()
/openbmc/qemu/hw/pci-host/
H A Dastro.c889 IOMMUMemoryRegionClass *imrc = IOMMU_MEMORY_REGION_CLASS(klass); in astro_iommu_memory_region_class_init() local
891 imrc->translate = astro_translate_iommu; in astro_iommu_memory_region_class_init()
H A Dpnv_phb3.c893 IOMMUMemoryRegionClass *imrc = IOMMU_MEMORY_REGION_CLASS(klass); in DECLARE_INSTANCE_CHECKER() local
895 imrc->translate = pnv_phb3_translate_iommu; in DECLARE_INSTANCE_CHECKER()
H A Dpnv_phb4.c1367 IOMMUMemoryRegionClass *imrc = IOMMU_MEMORY_REGION_CLASS(klass); in DECLARE_INSTANCE_CHECKER() local
1369 imrc->translate = pnv_phb4_translate_iommu; in DECLARE_INSTANCE_CHECKER()
/openbmc/qemu/hw/virtio/
H A Dvirtio-iommu.c1690 IOMMUMemoryRegionClass *imrc = IOMMU_MEMORY_REGION_CLASS(klass); in virtio_iommu_memory_region_class_init() local
1692 imrc->translate = virtio_iommu_translate; in virtio_iommu_memory_region_class_init()
1693 imrc->replay = virtio_iommu_replay; in virtio_iommu_memory_region_class_init()
1694 imrc->notify_flag_changed = virtio_iommu_notify_flag_changed; in virtio_iommu_memory_region_class_init()
/openbmc/qemu/hw/riscv/
H A Driscv-iommu.c2396 IOMMUMemoryRegionClass *imrc = IOMMU_MEMORY_REGION_CLASS(klass); in riscv_iommu_memory_region_init() local
2398 imrc->translate = riscv_iommu_memory_region_translate; in riscv_iommu_memory_region_init()
2399 imrc->notify_flag_changed = riscv_iommu_memory_region_notify; in riscv_iommu_memory_region_init()
2400 imrc->attrs_to_index = riscv_iommu_memory_region_index; in riscv_iommu_memory_region_init()
2401 imrc->num_indexes = riscv_iommu_memory_region_index_len; in riscv_iommu_memory_region_init()
/openbmc/qemu/hw/s390x/
H A Ds390-pci-bus.c1531 IOMMUMemoryRegionClass *imrc = IOMMU_MEMORY_REGION_CLASS(klass); in s390_iommu_memory_region_class_init() local
1533 imrc->translate = s390_translate_iommu; in s390_iommu_memory_region_class_init()
1534 imrc->replay = s390_pci_iommu_replay; in s390_iommu_memory_region_class_init()
/openbmc/qemu/hw/i386/
H A Damd_iommu.c1739 IOMMUMemoryRegionClass *imrc = IOMMU_MEMORY_REGION_CLASS(klass); in amdvi_iommu_memory_region_class_init() local
1741 imrc->translate = amdvi_translate; in amdvi_iommu_memory_region_class_init()
1742 imrc->notify_flag_changed = amdvi_iommu_notify_flag_changed; in amdvi_iommu_memory_region_class_init()
H A Dintel_iommu.c4439 IOMMUMemoryRegionClass *imrc = IOMMU_MEMORY_REGION_CLASS(klass); in vtd_iommu_memory_region_class_init() local
4441 imrc->translate = vtd_iommu_translate; in vtd_iommu_memory_region_class_init()
4442 imrc->notify_flag_changed = vtd_iommu_notify_flag_changed; in vtd_iommu_memory_region_class_init()
4443 imrc->replay = vtd_iommu_replay; in vtd_iommu_memory_region_class_init()
/openbmc/qemu/hw/arm/
H A Dsmmuv3.c2045 IOMMUMemoryRegionClass *imrc = IOMMU_MEMORY_REGION_CLASS(klass); in smmuv3_iommu_memory_region_class_init() local
2047 imrc->translate = smmuv3_translate; in smmuv3_iommu_memory_region_class_init()
2048 imrc->notify_flag_changed = smmuv3_notify_flag_changed; in smmuv3_iommu_memory_region_class_init()