Searched refs:mapped_ents (Results 1 – 3 of 3) sorted by relevance
/linux-4.1.27/lib/ |
D | dma-debug.c | 1355 int nents, int mapped_ents, int direction) in debug_dma_map_sg() argument 1364 for_each_sg(sg, s, mapped_ents, i) { in debug_dma_map_sg() 1377 entry->sg_mapped_ents = mapped_ents; in debug_dma_map_sg() 1395 int mapped_ents; in get_nr_mapped_entries() local 1399 mapped_ents = 0; in get_nr_mapped_entries() 1402 mapped_ents = entry->sg_mapped_ents; in get_nr_mapped_entries() 1405 return mapped_ents; in get_nr_mapped_entries() 1412 int mapped_ents = 0, i; in debug_dma_unmap_sg() local 1430 if (mapped_ents && i >= mapped_ents) in debug_dma_unmap_sg() 1434 mapped_ents = get_nr_mapped_entries(dev, &ref); in debug_dma_unmap_sg() [all …]
|
/linux-4.1.27/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.1.27/drivers/crypto/ |
D | picoxcell_crypto.c | 295 unsigned nents, mapped_ents; in spacc_sg_to_ddt() local 301 mapped_ents = dma_map_sg(engine->dev, payload, nents, dir); in spacc_sg_to_ddt() 303 if (mapped_ents + 1 > MAX_DDT_LEN) in spacc_sg_to_ddt() 310 for_each_sg(payload, cur, mapped_ents, i) in spacc_sg_to_ddt() 312 ddt_set(&ddt[mapped_ents], 0, 0); in spacc_sg_to_ddt()
|