@@ -150,23 +150,17 @@ struct io_pgtable_cfg {
150
150
/**
151
151
* struct io_pgtable_ops - Page table manipulation API for IOMMU drivers.
152
152
*
153
- * @map: Map a physically contiguous memory region.
154
153
* @map_pages: Map a physically contiguous range of pages of the same size.
155
- * @unmap: Unmap a physically contiguous memory region.
156
154
* @unmap_pages: Unmap a range of virtually contiguous pages of the same size.
157
155
* @iova_to_phys: Translate iova to physical address.
158
156
*
159
157
* These functions map directly onto the iommu_ops member functions with
160
158
* the same names.
161
159
*/
162
160
struct io_pgtable_ops {
163
- int (* map )(struct io_pgtable_ops * ops , unsigned long iova ,
164
- phys_addr_t paddr , size_t size , int prot , gfp_t gfp );
165
161
int (* map_pages )(struct io_pgtable_ops * ops , unsigned long iova ,
166
162
phys_addr_t paddr , size_t pgsize , size_t pgcount ,
167
163
int prot , gfp_t gfp , size_t * mapped );
168
- size_t (* unmap )(struct io_pgtable_ops * ops , unsigned long iova ,
169
- size_t size , struct iommu_iotlb_gather * gather );
170
164
size_t (* unmap_pages )(struct io_pgtable_ops * ops , unsigned long iova ,
171
165
size_t pgsize , size_t pgcount ,
172
166
struct iommu_iotlb_gather * gather );
0 commit comments