Home
last modified time | relevance | path

Searched refs:IOMMUTLBEntry (Results 1 – 25 of 27) sorted by relevance

12

/openbmc/qemu/hw/alpha/
H A Dtyphoon.c609 static bool make_iommu_tlbe(hwaddr taddr, hwaddr mask, IOMMUTLBEntry *ret) in make_iommu_tlbe()
611 *ret = (IOMMUTLBEntry) { in make_iommu_tlbe()
622 static bool pte_translate(hwaddr pte_addr, IOMMUTLBEntry *ret) in pte_translate()
638 IOMMUTLBEntry *ret) in window_translate()
672 static IOMMUTLBEntry typhoon_translate_iommu(IOMMUMemoryRegion *iommu, in typhoon_translate_iommu()
678 IOMMUTLBEntry ret; in typhoon_translate_iommu()
730 ret = (IOMMUTLBEntry) { .perm = IOMMU_NONE }; in typhoon_translate_iommu()
/openbmc/qemu/include/hw/vfio/
H A Dvfio-container-base.h78 IOMMUTLBEntry *iotlb);
118 IOMMUTLBEntry *iotlb);
/openbmc/qemu/include/exec/
H A Dmemory.h111 typedef struct IOMMUTLBEntry IOMMUTLBEntry; typedef
123 struct IOMMUTLBEntry { struct
178 IOMMUTLBEntry *data);
193 IOMMUTLBEntry entry;
400 IOMMUTLBEntry (*translate)(IOMMUMemoryRegion *iommu, hwaddr addr,
744 bool memory_get_xlat_addr(IOMMUTLBEntry *iotlb, void **vaddr,
2865 IOMMUTLBEntry address_space_get_iotlb_entry(AddressSpace *as, hwaddr addr,
/openbmc/qemu/hw/sparc64/
H A Dsun4u_iommu.c75 static IOMMUTLBEntry sun4u_translate_iommu(IOMMUMemoryRegion *iommu, in sun4u_translate_iommu()
83 IOMMUTLBEntry ret = { in sun4u_translate_iommu()
/openbmc/qemu/hw/sparc/
H A Dsun4m_iommu.c287 static IOMMUTLBEntry sun4m_translate_iommu(IOMMUMemoryRegion *iommu, in sun4m_translate_iommu()
296 IOMMUTLBEntry ret = { in sun4m_translate_iommu()
/openbmc/qemu/hw/vfio/
H A Dcontainer-base.c30 IOMMUTLBEntry *iotlb) in vfio_container_dma_unmap()
H A Dcommon.c258 static bool vfio_get_xlat_addr(IOMMUTLBEntry *iotlb, void **vaddr, in vfio_get_xlat_addr()
288 static void vfio_iommu_map_notify(IOMMUNotifier *n, IOMMUTLBEntry *iotlb) in vfio_iommu_map_notify()
1206 static void vfio_iommu_map_dirty_notify(IOMMUNotifier *n, IOMMUTLBEntry *iotlb) in vfio_iommu_map_dirty_notify()
H A Dcontainer.c64 IOMMUTLBEntry *iotlb) in vfio_dma_unmap_bitmap()
120 IOMMUTLBEntry *iotlb) in vfio_legacy_dma_unmap()
H A Diommufd.c43 IOMMUTLBEntry *iotlb) in iommufd_cdev_unmap()
/openbmc/qemu/hw/pci-host/
H A Dastro.c283 static IOMMUTLBEntry astro_translate_iommu(IOMMUMemoryRegion *iommu, in astro_translate_iommu()
327 return (IOMMUTLBEntry) { .perm = IOMMU_NONE }; in astro_translate_iommu()
335 return (IOMMUTLBEntry) { in astro_translate_iommu()
H A Dpnv_phb3.c740 IOMMUTLBEntry *tlb) in pnv_phb3_translate_tve()
838 static IOMMUTLBEntry pnv_phb3_translate_iommu(IOMMUMemoryRegion *iommu, in pnv_phb3_translate_iommu()
846 IOMMUTLBEntry ret = { in pnv_phb3_translate_iommu()
H A Dpnv_phb4.c1224 IOMMUTLBEntry *tlb) in pnv_phb4_translate_tve()
1313 static IOMMUTLBEntry pnv_phb4_translate_iommu(IOMMUMemoryRegion *iommu, in pnv_phb4_translate_iommu()
1321 IOMMUTLBEntry ret = { in pnv_phb4_translate_iommu()
/openbmc/qemu/hw/ppc/
H A Dspapr_iommu.c113 static IOMMUTLBEntry spapr_tce_translate_iommu(IOMMUMemoryRegion *iommu, in spapr_tce_translate_iommu()
120 IOMMUTLBEntry ret = { in spapr_tce_translate_iommu()
149 IOMMUTLBEntry iotlb; in spapr_tce_replay()
/openbmc/qemu/include/hw/arm/
H A Dsmmu-common.h78 IOMMUTLBEntry entry;
/openbmc/qemu/hw/dma/
H A Drc4030.c499 static IOMMUTLBEntry rc4030_dma_translate(IOMMUMemoryRegion *iommu, hwaddr addr, in rc4030_dma_translate()
503 IOMMUTLBEntry ret = { in rc4030_dma_translate()
/openbmc/qemu/hw/misc/
H A Dtz-mpc.c425 static IOMMUTLBEntry tz_mpc_translate(IOMMUMemoryRegion *iommu, in tz_mpc_translate()
432 IOMMUTLBEntry ret = { in tz_mpc_translate()
/openbmc/qemu/hw/i386/
H A Damd_iommu.c359 uint64_t gpa, IOMMUTLBEntry to_cache, in amdvi_update_iotlb()
927 IOMMUTLBEntry *ret, unsigned perms, in amdvi_page_walk()
987 bool is_write, IOMMUTLBEntry *ret) in amdvi_do_translate()
1032 static IOMMUTLBEntry amdvi_translate(IOMMUMemoryRegion *iommu, hwaddr addr, in amdvi_translate()
1037 IOMMUTLBEntry ret = { in amdvi_translate()
H A Dintel_iommu.c1224 IOMMUTLBEntry *entry = &event->entry; in vtd_page_walk_one()
1891 IOMMUTLBEntry *entry) in vtd_do_iommu_translate()
3260 static IOMMUTLBEntry vtd_iommu_translate(IOMMUMemoryRegion *iommu, hwaddr addr, in vtd_iommu_translate()
3265 IOMMUTLBEntry iotlb = { in vtd_iommu_translate()
/openbmc/qemu/hw/riscv/
H A Driscv-iommu.c257 IOMMUTLBEntry *iotlb) in riscv_iommu_spa_fetch()
1324 IOMMUTLBEntry *iotlb, bool enable_cache) in riscv_iommu_translate()
1803 IOMMUTLBEntry iotlb = { in riscv_iommu_process_dbg()
2280 static IOMMUTLBEntry riscv_iommu_memory_region_translate( in riscv_iommu_memory_region_translate()
2287 IOMMUTLBEntry iotlb = { in riscv_iommu_memory_region_translate()
/openbmc/qemu/hw/arm/
H A Dsmmu-common.c195 IOMMUTLBEntry *entry = &iter->entry; in smmu_hash_remove_by_asid_vmid_iova()
213 IOMMUTLBEntry *entry = &iter->entry; in smmu_hash_remove_by_vmid_ipa()
/openbmc/qemu/system/
H A Dphysmem.c431 IOMMUTLBEntry iotlb; in address_space_translate_iommu()
524 IOMMUTLBEntry address_space_get_iotlb_entry(AddressSpace *as, hwaddr addr, in address_space_get_iotlb_entry()
547 return (IOMMUTLBEntry) { in address_space_get_iotlb_entry()
557 return (IOMMUTLBEntry) {0}; in address_space_get_iotlb_entry()
590 static void tcg_iommu_unmap_notify(IOMMUNotifier *n, IOMMUTLBEntry *iotlb) in tcg_iommu_unmap_notify()
682 IOMMUTLBEntry iotlb; in address_space_translate_for_iotlb()
H A Dmemory.c2105 IOMMUTLBEntry iotlb; in memory_region_iommu_replay()
2146 const IOMMUTLBEntry *entry = &event->entry; in memory_region_notify_iommu_one()
2148 IOMMUTLBEntry tmp = *entry; in memory_region_notify_iommu_one()
2315 bool memory_get_xlat_addr(IOMMUTLBEntry *iotlb, void **vaddr, in memory_get_xlat_addr()
/openbmc/qemu/hw/virtio/
H A Dvhost.c228 IOMMUTLBEntry iotlb; in vhost_sync_dirty_bitmap()
862 static void vhost_iommu_unmap_notify(IOMMUNotifier *n, IOMMUTLBEntry *iotlb) in vhost_iommu_unmap_notify()
1212 IOMMUTLBEntry iotlb; in vhost_device_iotlb_miss()
H A Dvirtio-iommu.c1138 static IOMMUTLBEntry virtio_iommu_translate(IOMMUMemoryRegion *mr, hwaddr addr, in virtio_iommu_translate()
1158 IOMMUTLBEntry entry = { in virtio_iommu_translate()
/openbmc/qemu/hw/s390x/
H A Ds390-pci-bus.c533 static IOMMUTLBEntry s390_translate_iommu(IOMMUMemoryRegion *mr, hwaddr addr, in s390_translate_iommu()
540 IOMMUTLBEntry ret = { in s390_translate_iommu()

12