Searched refs:sg_n_mapped (Results 1 - 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/drivers/crypto/hisilicon/ |
H A D | sgl.c | 205 int i, sg_n, sg_n_mapped; in hisi_acc_sg_buf_map_to_hw_sgl() local 212 sg_n_mapped = dma_map_sg(dev, sgl, sg_n, DMA_BIDIRECTIONAL); in hisi_acc_sg_buf_map_to_hw_sgl() 213 if (!sg_n_mapped) in hisi_acc_sg_buf_map_to_hw_sgl() 216 if (sg_n_mapped > pool->sge_nr) { in hisi_acc_sg_buf_map_to_hw_sgl() 230 for_each_sg(sgl, sg, sg_n_mapped, i) { in hisi_acc_sg_buf_map_to_hw_sgl()
|
/kernel/linux/linux-6.6/drivers/crypto/hisilicon/ |
H A D | sgl.c | 229 int i, sg_n, sg_n_mapped; in hisi_acc_sg_buf_map_to_hw_sgl() local 236 sg_n_mapped = dma_map_sg(dev, sgl, sg_n, DMA_BIDIRECTIONAL); in hisi_acc_sg_buf_map_to_hw_sgl() 237 if (!sg_n_mapped) { in hisi_acc_sg_buf_map_to_hw_sgl() 242 if (sg_n_mapped > pool->sge_nr) { in hisi_acc_sg_buf_map_to_hw_sgl() 256 for_each_sg(sgl, sg, sg_n_mapped, i) { in hisi_acc_sg_buf_map_to_hw_sgl()
|
Completed in 2 milliseconds