Searched refs:sge_nr (Results 1 – 1 of 1) sorted by relevance
44 u32 sge_nr; member58 u32 count, u32 sge_nr) in hisi_acc_create_sgl_pool() argument65 if (!dev || !count || !sge_nr || sge_nr > HISI_ACC_SGL_SGE_NR_MAX) in hisi_acc_create_sgl_pool()68 sgl_size = ALIGN(sizeof(struct acc_hw_sge) * sge_nr + in hisi_acc_create_sgl_pool()119 pool->sge_nr = sge_nr; in hisi_acc_create_sgl_pool()242 if (sg_n_mapped > pool->sge_nr) { in hisi_acc_sg_buf_map_to_hw_sgl()254 curr_hw_sgl->entry_length_in_sgl = cpu_to_le16(pool->sge_nr); in hisi_acc_sg_buf_map_to_hw_sgl()263 update_hw_sgl_sum_sge(curr_hw_sgl, pool->sge_nr); in hisi_acc_sg_buf_map_to_hw_sgl()