/kernel/dma/ |
D | direct.h | 21 int dma_direct_map_sg(struct device *dev, struct scatterlist *sgl, int nents, 28 int nents, enum dma_data_direction dir); 31 struct scatterlist *sgl, int nents, enum dma_data_direction dir) in dma_direct_sync_sg_for_device() argument 40 int nents, enum dma_data_direction dir, unsigned long attrs); 42 struct scatterlist *sgl, int nents, enum dma_data_direction dir); 45 struct scatterlist *sgl, int nents, enum dma_data_direction dir, in dma_direct_unmap_sg() argument 50 struct scatterlist *sgl, int nents, enum dma_data_direction dir) in dma_direct_sync_sg_for_cpu() argument
|
D | mapping.c | 183 int nents, enum dma_data_direction dir, unsigned long attrs) in __dma_map_sg_attrs() argument 194 arch_dma_map_sg_direct(dev, sg, nents)) in __dma_map_sg_attrs() 195 ents = dma_direct_map_sg(dev, sg, nents, dir, attrs); in __dma_map_sg_attrs() 197 ents = ops->map_sg(dev, sg, nents, dir, attrs); in __dma_map_sg_attrs() 200 kmsan_handle_dma_sg(sg, nents, dir); in __dma_map_sg_attrs() 201 debug_dma_map_sg(dev, sg, nents, ents, dir, attrs); in __dma_map_sg_attrs() 228 int nents, enum dma_data_direction dir, unsigned long attrs) in dma_map_sg_attrs() argument 232 ret = __dma_map_sg_attrs(dev, sg, nents, dir, attrs); in dma_map_sg_attrs() 269 int nents; in dma_map_sgtable() local 271 nents = __dma_map_sg_attrs(dev, sgt->sgl, sgt->orig_nents, dir, attrs); in dma_map_sgtable() [all …]
|
D | direct.c | 415 struct scatterlist *sgl, int nents, enum dma_data_direction dir) in dma_direct_sync_sg_for_device() argument 420 for_each_sg(sgl, sg, nents, i) { in dma_direct_sync_sg_for_device() 438 struct scatterlist *sgl, int nents, enum dma_data_direction dir) in dma_direct_sync_sg_for_cpu() argument 443 for_each_sg(sgl, sg, nents, i) { in dma_direct_sync_sg_for_cpu() 466 int nents, enum dma_data_direction dir, unsigned long attrs) in dma_direct_unmap_sg() argument 471 for_each_sg(sgl, sg, nents, i) { in dma_direct_unmap_sg() 481 int dma_direct_map_sg(struct device *dev, struct scatterlist *sgl, int nents, in dma_direct_map_sg() argument 489 for_each_sg(sgl, sg, nents, i) { in dma_direct_map_sg() 518 return nents; in dma_direct_map_sg()
|
D | debug.h | 21 int nents, int mapped_ents, int direction, 71 int nents, int mapped_ents, int direction, in debug_dma_map_sg() argument
|
D | debug.c | 1293 int nents, int mapped_ents, int direction, in debug_dma_map_sg() argument 1303 for_each_sg(sg, s, nents, i) { in debug_dma_map_sg() 1321 entry->sg_call_ents = nents; in debug_dma_map_sg()
|