Home
last modified time | relevance | path

Searched refs:mapped_ents (Results 1 – 3 of 3) sorted by relevance

/OK3568_Linux_fs/kernel/kernel/dma/
H A Ddebug.c1295 int nents, int mapped_ents, int direction) in debug_dma_map_sg() argument
1310 for_each_sg(sg, s, mapped_ents, i) { in debug_dma_map_sg()
1323 entry->sg_mapped_ents = mapped_ents; in debug_dma_map_sg()
1337 int mapped_ents; in get_nr_mapped_entries() local
1341 mapped_ents = 0; in get_nr_mapped_entries()
1344 mapped_ents = entry->sg_mapped_ents; in get_nr_mapped_entries()
1347 return mapped_ents; in get_nr_mapped_entries()
1354 int mapped_ents = 0, i; in debug_dma_unmap_sg() local
1372 if (mapped_ents && i >= mapped_ents) in debug_dma_unmap_sg()
1376 mapped_ents = get_nr_mapped_entries(dev, &ref); in debug_dma_unmap_sg()
[all …]
H A Ddebug.h20 int nents, int mapped_ents, int direction);
66 int nents, int mapped_ents, int direction) in debug_dma_map_sg() argument
/OK3568_Linux_fs/kernel/drivers/crypto/
H A Dpicoxcell_crypto.c280 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()