• Home
  • Raw
  • Download

Lines Matching refs:iova

265 	int (*map)(struct iommu_domain *domain, unsigned long iova,
267 int (*map_pages)(struct iommu_domain *domain, unsigned long iova,
270 int (*map_sg)(struct iommu_domain *domain, unsigned long iova,
273 size_t (*unmap)(struct iommu_domain *domain, unsigned long iova,
275 size_t (*unmap_pages)(struct iommu_domain *domain, unsigned long iova,
279 void (*iotlb_sync_map)(struct iommu_domain *domain, unsigned long iova,
283 phys_addr_t (*iova_to_phys)(struct iommu_domain *domain, dma_addr_t iova);
452 extern int iommu_map(struct iommu_domain *domain, unsigned long iova,
454 extern int iommu_map_atomic(struct iommu_domain *domain, unsigned long iova,
456 extern size_t iommu_unmap(struct iommu_domain *domain, unsigned long iova,
459 unsigned long iova, size_t size,
461 extern ssize_t iommu_map_sg(struct iommu_domain *domain, unsigned long iova,
464 unsigned long iova, struct scatterlist *sg,
466 extern phys_addr_t iommu_iova_to_phys(struct iommu_domain *domain, dma_addr_t iova);
526 unsigned long iova, int flags);
556 unsigned long iova, size_t size) in iommu_iotlb_gather_is_disjoint() argument
558 unsigned long start = iova, end = start + size - 1; in iommu_iotlb_gather_is_disjoint()
576 unsigned long iova, size_t size) in iommu_iotlb_gather_add_range() argument
578 unsigned long end = iova + size - 1; in iommu_iotlb_gather_add_range()
580 if (gather->start > iova) in iommu_iotlb_gather_add_range()
581 gather->start = iova; in iommu_iotlb_gather_add_range()
599 unsigned long iova, size_t size) in iommu_iotlb_gather_add_page() argument
607 iommu_iotlb_gather_is_disjoint(gather, iova, size)) in iommu_iotlb_gather_add_page()
611 iommu_iotlb_gather_add_range(gather, iova, size); in iommu_iotlb_gather_add_page()
751 static inline int iommu_map(struct iommu_domain *domain, unsigned long iova, in iommu_map() argument
758 unsigned long iova, phys_addr_t paddr, in iommu_map_atomic() argument
765 unsigned long iova, size_t size) in iommu_unmap() argument
771 unsigned long iova, int gfp_order, in iommu_unmap_fast() argument
778 unsigned long iova, struct scatterlist *sg, in iommu_map_sg() argument
785 unsigned long iova, struct scatterlist *sg, in iommu_map_sg_atomic() argument
800 static inline phys_addr_t iommu_iova_to_phys(struct iommu_domain *domain, dma_addr_t iova) in iommu_iova_to_phys() argument
964 unsigned long iova, size_t size) in iommu_iotlb_gather_add_page() argument
1115 unsigned long iova, struct sg_table *sgt, int prot) in iommu_map_sgtable() argument
1117 return iommu_map_sg(domain, iova, sgt->sgl, sgt->orig_nents, prot); in iommu_map_sgtable()