Searched refs:nb_sgt (Results 1 – 2 of 2) sorted by relevance
134 unsigned int nb_sgt = 0; in caam_sgtbuf_alloc() local140 nb_sgt = ROUNDUP(data->number, CFG_CAAM_SGT_ALIGN); in caam_sgtbuf_alloc()141 data->sgt = caam_calloc(nb_sgt * (sizeof(union caamsgt) + in caam_sgtbuf_alloc()144 (nb_sgt * sizeof(union caamsgt))); in caam_sgtbuf_alloc()
1280 unsigned int nb_sgt = 0; in caam_dmaobj_sgtbuf_build() local1319 nb_sgt = 1; in caam_dmaobj_sgtbuf_build()1325 nb_sgt++; in caam_dmaobj_sgtbuf_build()1328 DMAOBJ_TRACE("%d of %d SGT/Buffer entries to handle", nb_sgt, in caam_dmaobj_sgtbuf_build()1330 if (priv->nb_sgtbuf < nb_sgt) { in caam_dmaobj_sgtbuf_build()1340 obj->sgtbuf.number = nb_sgt; in caam_dmaobj_sgtbuf_build()1341 obj->sgtbuf.sgt_type = (nb_sgt > 1) ? true : false; in caam_dmaobj_sgtbuf_build()1358 priv->nb_sgtbuf = nb_sgt; in caam_dmaobj_sgtbuf_build()1360 obj->sgtbuf.number = nb_sgt; in caam_dmaobj_sgtbuf_build()1361 obj->sgtbuf.sgt_type = (nb_sgt > 1) ? true : false; in caam_dmaobj_sgtbuf_build()[all …]
Completed in 6 milliseconds