Lines Matching defs:dma_map_ops
58 struct dma_map_ops { struct
59 void* (*alloc_coherent)(struct device *dev, size_t size,
61 void (*free_coherent)(struct device *dev, size_t size,
63 dma_addr_t (*map_page)(struct device *dev, struct page *page,
66 void (*unmap_page)(struct device *dev, dma_addr_t dma_handle,
68 int (*map_sg)(struct device *dev, struct scatterlist *sg,
70 void (*unmap_sg)(struct device *dev, struct scatterlist *sg, int nents,
72 void (*sync_single_for_cpu)(struct device *dev, dma_addr_t dma_handle,
74 void (*sync_single_for_device)(struct device *dev,
76 void (*sync_single_range_for_cpu)(struct device *dev,
79 void (*sync_single_range_for_device)(struct device *dev,
82 void (*sync_sg_for_cpu)(struct device *dev, struct scatterlist *sg,
84 void (*sync_sg_for_device)(struct device *dev, struct scatterlist *sg,
86 int (*mapping_error)(struct device *dev, dma_addr_t dma_addr);
87 int (*dma_supported)(struct device *dev, u64 mask);
88 int is_phys;