Lines Matching refs:sg_table
113 int dma_map_sgtable(struct device *dev, struct sg_table *sgt,
135 int dma_get_sgtable_attrs(struct device *dev, struct sg_table *sgt,
149 struct sg_table *dma_alloc_noncontiguous(struct device *dev, size_t size,
152 struct sg_table *sgt, enum dma_data_direction dir);
154 struct sg_table *sgt);
157 size_t size, struct sg_table *sgt);
180 static inline int dma_map_sgtable(struct device *dev, struct sg_table *sgt, in dma_map_sgtable()
234 struct sg_table *sgt, void *cpu_addr, dma_addr_t dma_addr, in dma_get_sgtable_attrs()
277 static inline struct sg_table *dma_alloc_noncontiguous(struct device *dev, in dma_alloc_noncontiguous()
284 struct sg_table *sgt, enum dma_data_direction dir) in dma_free_noncontiguous()
288 struct sg_table *sgt) in dma_vmap_noncontiguous()
296 struct vm_area_struct *vma, size_t size, struct sg_table *sgt) in dma_mmap_noncontiguous()
365 static inline void dma_unmap_sgtable(struct device *dev, struct sg_table *sgt, in dma_unmap_sgtable()
384 struct sg_table *sgt, enum dma_data_direction dir) in dma_sync_sgtable_for_cpu()
401 struct sg_table *sgt, enum dma_data_direction dir) in dma_sync_sgtable_for_device()