Home
last modified time | relevance | path

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

/drivers/crypto/
Dsa2ul.c194 struct sa_mapped_sg mapped_sg[2]; member
1014 if (rxd->mapped_sg[0].dir == DMA_BIDIRECTIONAL) in sa_sync_from_device()
1015 sgt = &rxd->mapped_sg[0].sgt; in sa_sync_from_device()
1017 sgt = &rxd->mapped_sg[1].sgt; in sa_sync_from_device()
1026 for (i = 0; i < ARRAY_SIZE(rxd->mapped_sg); i++) { in sa_free_sa_rx_data()
1027 struct sa_mapped_sg *mapped_sg = &rxd->mapped_sg[i]; in sa_free_sa_rx_data() local
1029 if (mapped_sg->mapped) { in sa_free_sa_rx_data()
1030 dma_unmap_sgtable(rxd->ddev, &mapped_sg->sgt, in sa_free_sa_rx_data()
1031 mapped_sg->dir, 0); in sa_free_sa_rx_data()
1032 kfree(mapped_sg->split_sg); in sa_free_sa_rx_data()
[all …]