/kernel/linux/linux-5.10/kernel/dma/ |
H A D | debug.c | 60 * @sg_mapped_ents: 'mapped_ents' from dma_map_sg 1304 int nents, int mapped_ents, int direction) in debug_dma_map_sg() 1319 for_each_sg(sg, s, mapped_ents, i) { in debug_dma_map_sg() 1332 entry->sg_mapped_ents = mapped_ents; in debug_dma_map_sg() 1346 int mapped_ents; in get_nr_mapped_entries() local 1350 mapped_ents = 0; in get_nr_mapped_entries() 1353 mapped_ents = entry->sg_mapped_ents; in get_nr_mapped_entries() 1356 return mapped_ents; in get_nr_mapped_entries() 1363 int mapped_ents = 0, i; in debug_dma_unmap_sg() local 1381 if (mapped_ents in debug_dma_unmap_sg() 1303 debug_dma_map_sg(struct device *dev, struct scatterlist *sg, int nents, int mapped_ents, int direction) debug_dma_map_sg() argument 1534 int mapped_ents = 0, i; debug_dma_sync_sg_for_cpu() local 1566 int mapped_ents = 0, i; debug_dma_sync_sg_for_device() local [all...] |
H A D | debug.h | 20 int nents, int mapped_ents, int direction); 66 int nents, int mapped_ents, int direction) in debug_dma_map_sg() 65 debug_dma_map_sg(struct device *dev, struct scatterlist *sg, int nents, int mapped_ents, int direction) debug_dma_map_sg() argument
|
/kernel/linux/linux-6.6/kernel/dma/ |
H A D | debug.c | 61 * @sg_mapped_ents: 'mapped_ents' from dma_map_sg 1299 int nents, int mapped_ents, int direction, in debug_dma_map_sg() 1315 for_each_sg(sg, s, mapped_ents, i) { in debug_dma_map_sg() 1328 entry->sg_mapped_ents = mapped_ents; in debug_dma_map_sg() 1342 int mapped_ents; in get_nr_mapped_entries() local 1346 mapped_ents = 0; in get_nr_mapped_entries() 1349 mapped_ents = entry->sg_mapped_ents; in get_nr_mapped_entries() 1352 return mapped_ents; in get_nr_mapped_entries() 1359 int mapped_ents = 0, i; in debug_dma_unmap_sg() local 1377 if (mapped_ents in debug_dma_unmap_sg() 1298 debug_dma_map_sg(struct device *dev, struct scatterlist *sg, int nents, int mapped_ents, int direction, unsigned long attrs) debug_dma_map_sg() argument 1532 int mapped_ents = 0, i; debug_dma_sync_sg_for_cpu() local 1564 int mapped_ents = 0, i; debug_dma_sync_sg_for_device() local [all...] |
H A D | debug.h | 21 int nents, int mapped_ents, int direction, 71 int nents, int mapped_ents, int direction, in debug_dma_map_sg() 70 debug_dma_map_sg(struct device *dev, struct scatterlist *sg, int nents, int mapped_ents, int direction, unsigned long attrs) debug_dma_map_sg() argument
|
/kernel/linux/linux-5.10/drivers/crypto/ |
H A D | picoxcell_crypto.c | 280 unsigned mapped_ents; in spacc_sg_to_ddt() local 291 mapped_ents = dma_map_sg(engine->dev, payload, nents, dir); in spacc_sg_to_ddt() 293 if (mapped_ents + 1 > MAX_DDT_LEN) in spacc_sg_to_ddt() 300 for_each_sg(payload, cur, mapped_ents, i) in spacc_sg_to_ddt() 302 ddt_set(&ddt[mapped_ents], 0, 0); in spacc_sg_to_ddt()
|