Searched refs:curr_hw_sgl (Results 1 – 1 of 1) sorted by relevance
225 struct hisi_acc_hw_sgl *curr_hw_sgl; in hisi_acc_sg_buf_map_to_hw_sgl() local247 curr_hw_sgl = acc_get_sgl(pool, index, &curr_sgl_dma); in hisi_acc_sg_buf_map_to_hw_sgl()248 if (IS_ERR(curr_hw_sgl)) { in hisi_acc_sg_buf_map_to_hw_sgl()253 curr_hw_sgl->entry_length_in_sgl = cpu_to_le16(pool->sge_nr); in hisi_acc_sg_buf_map_to_hw_sgl()254 curr_hw_sge = curr_hw_sgl->sge_entries; in hisi_acc_sg_buf_map_to_hw_sgl()258 inc_hw_sgl_sge(curr_hw_sgl); in hisi_acc_sg_buf_map_to_hw_sgl()262 update_hw_sgl_sum_sge(curr_hw_sgl, pool->sge_nr); in hisi_acc_sg_buf_map_to_hw_sgl()265 return curr_hw_sgl; in hisi_acc_sg_buf_map_to_hw_sgl()