Searched refs:sg_n_mapped (Results 1 – 1 of 1) sorted by relevance
206 int i, sg_n, sg_n_mapped; in hisi_acc_sg_buf_map_to_hw_sgl() local213 sg_n_mapped = dma_map_sg(dev, sgl, sg_n, DMA_BIDIRECTIONAL); in hisi_acc_sg_buf_map_to_hw_sgl()214 if (!sg_n_mapped) in hisi_acc_sg_buf_map_to_hw_sgl()217 if (sg_n_mapped > pool->sge_nr) { in hisi_acc_sg_buf_map_to_hw_sgl()231 for_each_sg(sgl, sg, sg_n_mapped, i) { in hisi_acc_sg_buf_map_to_hw_sgl()