Home
last modified time | relevance | path

Searched refs:iova (Results 1 – 4 of 4) sorted by relevance

/arch/arm/mm/
Ddma-mapping.c1148 dma_addr_t iova; in __alloc_iova() local
1192 iova = mapping->base + (mapping_size * i); in __alloc_iova()
1193 iova += start << PAGE_SHIFT; in __alloc_iova()
1195 return iova; in __alloc_iova()
1354 dma_addr_t dma_addr, iova; in __iommu_create_mapping() local
1361 iova = dma_addr; in __iommu_create_mapping()
1374 ret = iommu_map(mapping->domain, iova, phys, len, in __iommu_create_mapping()
1378 iova += len; in __iommu_create_mapping()
1383 iommu_unmap(mapping->domain, dma_addr, iova-dma_addr); in __iommu_create_mapping()
1388 static int __iommu_remove_mapping(struct device *dev, dma_addr_t iova, size_t size) in __iommu_remove_mapping() argument
[all …]
/arch/ia64/hp/common/
Dsba_iommu.c219 dma_addr_t iova; member
428 #define SBA_IOVP(ioc,iova) ((iova) & ~(ioc->ibase)) argument
661 sba_mark_invalid(ioc, d->iova, d->size); in sba_alloc_range()
662 sba_free_range(ioc, d->iova, d->size); in sba_alloc_range()
721 sba_free_range(struct ioc *ioc, dma_addr_t iova, size_t size) in sba_free_range() argument
723 unsigned long iovp = SBA_IOVP(ioc, iova); in sba_free_range()
747 DBG_RES("%s( ,%x,%x) %x/%lx %x %p %lx\n", __func__, (uint) iova, size, in sba_free_range()
839 sba_mark_invalid(struct ioc *ioc, dma_addr_t iova, size_t byte_cnt) in sba_mark_invalid() argument
841 u32 iovp = (u32) SBA_IOVP(ioc,iova); in sba_mark_invalid()
1001 sba_mark_clean(struct ioc *ioc, dma_addr_t iova, size_t size) in sba_mark_clean() argument
[all …]
/arch/s390/pci/
Dpci.c288 void __iomem *iova; in pci_iomap_range_mio() local
290 iova = ioremap((unsigned long) zdev->bars[bar].mio_wt, barsize); in pci_iomap_range_mio()
291 return iova ? iova + offset : iova; in pci_iomap_range_mio()
318 void __iomem *iova; in pci_iomap_wc_range_mio() local
320 iova = ioremap((unsigned long) zdev->bars[bar].mio_wb, barsize); in pci_iomap_wc_range_mio()
321 return iova ? iova + offset : iova; in pci_iomap_wc_range_mio()
/arch/parisc/include/asm/
Dropes.h50 dma_addr_t iova; member