Home
last modified time | relevance | path

Searched refs:nents (Results 1 – 5 of 5) sorted by relevance

/kernel/dma/
Ddirect.h21 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
Dmapping.c183 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 …]
Ddirect.c415 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()
Ddebug.h21 int nents, int mapped_ents, int direction,
71 int nents, int mapped_ents, int direction, in debug_dma_map_sg() argument
Ddebug.c1293 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()