Home
last modified time | relevance | path

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

/include/linux/
Diova.h19 struct iova { struct
85 struct iova anchor; /* rbtree lookup anchor */
102 static inline unsigned long iova_size(struct iova *iova) in iova_size() argument
104 return iova->pfn_hi - iova->pfn_lo + 1; in iova_size()
117 static inline size_t iova_offset(struct iova_domain *iovad, dma_addr_t iova) in iova_offset() argument
119 return iova & iova_mask(iovad); in iova_offset()
127 static inline dma_addr_t iova_dma_addr(struct iova_domain *iovad, struct iova *iova) in iova_dma_addr() argument
129 return (dma_addr_t)iova->pfn_lo << iova_shift(iovad); in iova_dma_addr()
132 static inline unsigned long iova_pfn(struct iova_domain *iovad, dma_addr_t iova) in iova_pfn() argument
134 return iova >> iova_shift(iovad); in iova_pfn()
[all …]
Dio-pgtable.h41 void (*tlb_flush_walk)(unsigned long iova, size_t size, size_t granule,
44 unsigned long iova, size_t granule, void *cookie);
164 int (*map)(struct io_pgtable_ops *ops, unsigned long iova,
166 int (*map_pages)(struct io_pgtable_ops *ops, unsigned long iova,
169 int (*map_sg)(struct io_pgtable_ops *ops, unsigned long iova,
172 size_t (*unmap)(struct io_pgtable_ops *ops, unsigned long iova,
174 size_t (*unmap_pages)(struct io_pgtable_ops *ops, unsigned long iova,
178 unsigned long iova);
234 io_pgtable_tlb_flush_walk(struct io_pgtable *iop, unsigned long iova, in io_pgtable_tlb_flush_walk() argument
238 iop->cfg.tlb->tlb_flush_walk(iova, size, granule, iop->cookie); in io_pgtable_tlb_flush_walk()
[all …]
Diommu.h265 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,
[all …]
Dqcom-geni-se.h461 dma_addr_t *iova);
464 dma_addr_t *iova);
466 void geni_se_tx_dma_unprep(struct geni_se *se, dma_addr_t iova, size_t len);
468 void geni_se_rx_dma_unprep(struct geni_se *se, dma_addr_t iova, size_t len);
Dvdpa.h284 int (*dma_map)(struct vdpa_device *vdev, u64 iova, u64 size,
286 int (*dma_unmap)(struct vdpa_device *vdev, u64 iova, u64 size);
/include/trace/events/
Diommu.h88 TP_PROTO(unsigned long iova, phys_addr_t paddr, size_t size),
90 TP_ARGS(iova, paddr, size),
93 __field(u64, iova)
99 __entry->iova = iova;
105 __entry->iova, __entry->paddr, __entry->size
111 TP_PROTO(unsigned long iova, size_t size, size_t unmapped_size),
113 TP_ARGS(iova, size, unmapped_size),
116 __field(u64, iova)
122 __entry->iova = iova;
128 __entry->iova, __entry->size, __entry->unmapped_size
[all …]
/include/trace/hooks/
Diommu.h25 TP_PROTO(struct device *dev, struct iova_domain *iovad, dma_addr_t iova, size_t size),
26 TP_ARGS(dev, iovad, iova, size));
29 TP_PROTO(struct iova_domain *iovad, dma_addr_t iova, size_t size),
30 TP_ARGS(iovad, iova, size));
/include/uapi/linux/
Dfpga-dfl.h133 __u64 iova; /* IO virtual address */ member
149 __u64 iova; /* IO virtual address */ member
Dvhost_types.h52 __u64 iova; member
Dvfio.h1108 __u64 iova; /* IO virtual address */ member
1154 __u64 iova; /* IO virtual address */ member
1212 __u64 iova; /* IO virtual address */ member
Dvduse.h279 struct vduse_iova_range iova; member
/include/rdma/
Dib_umem.h22 u64 iova; member
64 return (size_t)((ALIGN(umem->iova + umem->length, pgsz) - in ib_umem_num_dma_blocks()
65 ALIGN_DOWN(umem->iova, pgsz))) / in ib_umem_num_dma_blocks()
Drdmavt_mr.h34 u64 iova; /* IB start address of this region */ member
Dib_verbs.h1804 u64 iova; member
4381 mr->iova = 0; in ib_map_mr_sg_zbva()
/include/uapi/rdma/
Drdma_user_rxe.h154 __aligned_u64 iova; member
/include/linux/mlx4/
Ddevice.h689 u64 iova; member
1105 int mlx4_mr_alloc(struct mlx4_dev *dev, u32 pd, u64 iova, u64 size, u32 access,
1520 u64 iova, u64 size, int npages,
/include/linux/mlx5/
Ddriver.h367 u64 iova; member