Lines Matching refs:sg_table
110 int dma_map_sgtable(struct device *dev, struct sg_table *sgt,
124 int dma_get_sgtable_attrs(struct device *dev, struct sg_table *sgt,
139 struct sg_table *dma_alloc_noncontiguous(struct device *dev, size_t size,
142 struct sg_table *sgt, enum dma_data_direction dir);
144 struct sg_table *sgt);
147 size_t size, struct sg_table *sgt);
170 static inline int dma_map_sgtable(struct device *dev, struct sg_table *sgt, in dma_map_sgtable()
208 struct sg_table *sgt, void *cpu_addr, dma_addr_t dma_addr, in dma_get_sgtable_attrs()
255 static inline struct sg_table *dma_alloc_noncontiguous(struct device *dev, in dma_alloc_noncontiguous()
262 struct sg_table *sgt, enum dma_data_direction dir) in dma_free_noncontiguous()
266 struct sg_table *sgt) in dma_vmap_noncontiguous()
274 struct vm_area_struct *vma, size_t size, struct sg_table *sgt) in dma_mmap_noncontiguous()
419 static inline void dma_unmap_sgtable(struct device *dev, struct sg_table *sgt, in dma_unmap_sgtable()
438 struct sg_table *sgt, enum dma_data_direction dir) in dma_sync_sgtable_for_cpu()
455 struct sg_table *sgt, enum dma_data_direction dir) in dma_sync_sgtable_for_device()