Searched refs:sg_n_mapped (Results 1 – 1 of 1) sorted by relevance
227 int i, sg_n, sg_n_mapped; in hisi_acc_sg_buf_map_to_hw_sgl() local234 sg_n_mapped = dma_map_sg(dev, sgl, sg_n, DMA_BIDIRECTIONAL); in hisi_acc_sg_buf_map_to_hw_sgl()235 if (!sg_n_mapped) { in hisi_acc_sg_buf_map_to_hw_sgl()240 if (sg_n_mapped > pool->sge_nr) { in hisi_acc_sg_buf_map_to_hw_sgl()255 for_each_sg(sgl, sg, sg_n_mapped, i) { in hisi_acc_sg_buf_map_to_hw_sgl()