Lines Matching refs:sg_table
130 int dma_map_sgtable(struct device *dev, struct sg_table *sgt,
144 int dma_get_sgtable_attrs(struct device *dev, struct sg_table *sgt,
159 struct sg_table *dma_alloc_noncontiguous(struct device *dev, size_t size,
162 struct sg_table *sgt, enum dma_data_direction dir);
164 struct sg_table *sgt);
167 size_t size, struct sg_table *sgt);
190 static inline int dma_map_sgtable(struct device *dev, struct sg_table *sgt, in dma_map_sgtable()
228 struct sg_table *sgt, void *cpu_addr, dma_addr_t dma_addr, in dma_get_sgtable_attrs()
275 static inline struct sg_table *dma_alloc_noncontiguous(struct device *dev, in dma_alloc_noncontiguous()
282 struct sg_table *sgt, enum dma_data_direction dir) in dma_free_noncontiguous()
286 struct sg_table *sgt) in dma_vmap_noncontiguous()
294 struct vm_area_struct *vma, size_t size, struct sg_table *sgt) in dma_mmap_noncontiguous()
508 static inline void dma_unmap_sgtable(struct device *dev, struct sg_table *sgt, in dma_unmap_sgtable()
527 struct sg_table *sgt, enum dma_data_direction dir) in dma_sync_sgtable_for_cpu()
544 struct sg_table *sgt, enum dma_data_direction dir) in dma_sync_sgtable_for_device()