Home
last modified time | relevance | path

Searched refs:imrc (Results 1 – 11 of 11) 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()
699 IOMMUMemoryRegionClass *imrc = IOMMU_MEMORY_REGION_CLASS(klass); in spapr_iommu_memory_region_class_init() local
701 imrc->translate = spapr_tce_translate_iommu; in spapr_iommu_memory_region_class_init()
702 imrc->replay = spapr_tce_replay; in spapr_iommu_memory_region_class_init()
703 imrc->get_min_page_size = spapr_tce_get_min_page_size; in spapr_iommu_memory_region_class_init()
704 imrc->notify_flag_changed = spapr_tce_notify_flag_changed; in spapr_iommu_memory_region_class_init()
705 imrc->get_attr = spapr_tce_get_attr; in spapr_iommu_memory_region_class_init()
/openbmc/qemu/hw/misc/
H A Dtz-mpc.c616 IOMMUMemoryRegionClass *imrc = IOMMU_MEMORY_REGION_CLASS(klass); in tz_mpc_iommu_memory_region_class_init() local
618 imrc->translate = tz_mpc_translate; in tz_mpc_iommu_memory_region_class_init()
619 imrc->attrs_to_index = tz_mpc_attrs_to_index; in tz_mpc_iommu_memory_region_class_init()
620 imrc->num_indexes = tz_mpc_num_indexes; in tz_mpc_iommu_memory_region_class_init()
/openbmc/qemu/hw/sparc64/
H A Dsun4u_iommu.c326 IOMMUMemoryRegionClass *imrc = IOMMU_MEMORY_REGION_CLASS(klass); in sun4u_iommu_memory_region_class_init() local
328 imrc->translate = sun4u_translate_iommu; in sun4u_iommu_memory_region_class_init()
/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/system/
H A Dmemory.c2061 IOMMUMemoryRegionClass *imrc = IOMMU_MEMORY_REGION_GET_CLASS(iommu_mr); in memory_region_update_iommu_notify_flags() local
2068 if (flags != iommu_mr->iommu_notify_flags && imrc->notify_flag_changed) { in memory_region_update_iommu_notify_flags()
2069 ret = imrc->notify_flag_changed(iommu_mr, in memory_region_update_iommu_notify_flags()
2107 IOMMUMemoryRegionClass *imrc = IOMMU_MEMORY_REGION_GET_CLASS(iommu_mr); in memory_region_iommu_get_min_page_size() local
2109 if (imrc->get_min_page_size) { in memory_region_iommu_get_min_page_size()
2110 return imrc->get_min_page_size(iommu_mr); in memory_region_iommu_get_min_page_size()
2118 IOMMUMemoryRegionClass *imrc = IOMMU_MEMORY_REGION_GET_CLASS(iommu_mr); in memory_region_iommu_replay() local
2123 if (imrc->replay) { in memory_region_iommu_replay()
2124 imrc->replay(iommu_mr, n); in memory_region_iommu_replay()
2131 iotlb = imrc->translate(iommu_mr, addr, IOMMU_NONE, n->iommu_idx); in memory_region_iommu_replay()
[all …]
/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.c940 IOMMUMemoryRegionClass *imrc = IOMMU_MEMORY_REGION_CLASS(klass); in typhoon_iommu_memory_region_class_init() local
942 imrc->translate = typhoon_translate_iommu; in typhoon_iommu_memory_region_class_init()
/openbmc/qemu/hw/pci-host/
H A Dastro.c938 IOMMUMemoryRegionClass *imrc = IOMMU_MEMORY_REGION_CLASS(klass); in astro_iommu_memory_region_class_init() local
940 imrc->translate = astro_translate_iommu; in astro_iommu_memory_region_class_init()
H A Dpnv_phb3.c894 IOMMUMemoryRegionClass *imrc = IOMMU_MEMORY_REGION_CLASS(klass); in DECLARE_INSTANCE_CHECKER() local
896 imrc->translate = pnv_phb3_translate_iommu; in DECLARE_INSTANCE_CHECKER()
H A Dpnv_phb4.c1368 IOMMUMemoryRegionClass *imrc = IOMMU_MEMORY_REGION_CLASS(klass); in DECLARE_INSTANCE_CHECKER() local
1370 imrc->translate = pnv_phb4_translate_iommu; in DECLARE_INSTANCE_CHECKER()
/openbmc/qemu/hw/virtio/
H A Dvirtio-iommu.c1696 IOMMUMemoryRegionClass *imrc = IOMMU_MEMORY_REGION_CLASS(klass); in virtio_iommu_memory_region_class_init() local
1698 imrc->translate = virtio_iommu_translate; in virtio_iommu_memory_region_class_init()
1699 imrc->replay = virtio_iommu_replay; in virtio_iommu_memory_region_class_init()
1700 imrc->notify_flag_changed = virtio_iommu_notify_flag_changed; in virtio_iommu_memory_region_class_init()