Searched refs:mapped_ents (Results 1 – 3 of 3) sorted by relevance
/linux-4.4.14/lib/ |
D | dma-debug.c | 1363 int nents, int mapped_ents, int direction) in debug_dma_map_sg() argument 1372 for_each_sg(sg, s, mapped_ents, i) { in debug_dma_map_sg() 1385 entry->sg_mapped_ents = mapped_ents; in debug_dma_map_sg() 1403 int mapped_ents; in get_nr_mapped_entries() local 1407 mapped_ents = 0; in get_nr_mapped_entries() 1410 mapped_ents = entry->sg_mapped_ents; in get_nr_mapped_entries() 1413 return mapped_ents; in get_nr_mapped_entries() 1420 int mapped_ents = 0, i; in debug_dma_unmap_sg() local 1438 if (mapped_ents && i >= mapped_ents) in debug_dma_unmap_sg() 1442 mapped_ents = get_nr_mapped_entries(dev, &ref); in debug_dma_unmap_sg() [all …]
|
/linux-4.4.14/include/linux/ |
D | dma-debug.h | 48 int nents, int mapped_ents, int direction); 124 int nents, int mapped_ents, int direction) in debug_dma_map_sg() argument
|
/linux-4.4.14/drivers/crypto/ |
D | picoxcell_crypto.c | 298 unsigned nents, mapped_ents; in spacc_sg_to_ddt() local 304 mapped_ents = dma_map_sg(engine->dev, payload, nents, dir); in spacc_sg_to_ddt() 306 if (mapped_ents + 1 > MAX_DDT_LEN) in spacc_sg_to_ddt() 313 for_each_sg(payload, cur, mapped_ents, i) in spacc_sg_to_ddt() 315 ddt_set(&ddt[mapped_ents], 0, 0); in spacc_sg_to_ddt()
|