sg_data 1142 crypto/testmgr.c err = crypto_shash_digest(desc, sg_data(&tsgl->sgl[0]), sg_data 1178 crypto/testmgr.c err = crypto_shash_finup(desc, sg_data(&tsgl->sgl[i]), sg_data 1190 crypto/testmgr.c err = crypto_shash_update(desc, sg_data(&tsgl->sgl[i]), sg_data 191 drivers/crypto/ccree/cc_buffer_mgr.c static int cc_generate_mlli(struct device *dev, struct buffer_array *sg_data, sg_data 198 drivers/crypto/ccree/cc_buffer_mgr.c dev_dbg(dev, "NUM of SG's = %d\n", sg_data->num_of_buffers); sg_data 212 drivers/crypto/ccree/cc_buffer_mgr.c for (i = 0; i < sg_data->num_of_buffers; i++) { sg_data 213 drivers/crypto/ccree/cc_buffer_mgr.c union buffer_array_entry *entry = &sg_data->entry[i]; sg_data 214 drivers/crypto/ccree/cc_buffer_mgr.c u32 tot_len = sg_data->total_data_len[i]; sg_data 215 drivers/crypto/ccree/cc_buffer_mgr.c u32 offset = sg_data->offset[i]; sg_data 217 drivers/crypto/ccree/cc_buffer_mgr.c if (sg_data->type[i] == DMA_SGL_TYPE) sg_data 229 drivers/crypto/ccree/cc_buffer_mgr.c if (sg_data->mlli_nents[i]) { sg_data 233 drivers/crypto/ccree/cc_buffer_mgr.c *sg_data->mlli_nents[i] += sg_data 320 drivers/crypto/ccree/cc_buffer_mgr.c u8 *config_data, struct buffer_array *sg_data, sg_data 338 drivers/crypto/ccree/cc_buffer_mgr.c cc_add_sg_entry(dev, sg_data, 1, &areq_ctx->ccm_adata_sg, sg_data 347 drivers/crypto/ccree/cc_buffer_mgr.c struct buffer_array *sg_data) sg_data 364 drivers/crypto/ccree/cc_buffer_mgr.c cc_add_sg_entry(dev, sg_data, 1, areq_ctx->buff_sg, curr_buff_cnt, 0, sg_data 407 drivers/crypto/ccree/cc_buffer_mgr.c struct buffer_array sg_data; sg_data 414 drivers/crypto/ccree/cc_buffer_mgr.c sg_data.num_of_buffers = 0; sg_data 445 drivers/crypto/ccree/cc_buffer_mgr.c cc_add_sg_entry(dev, &sg_data, req_ctx->in_nents, src, sg_data 460 drivers/crypto/ccree/cc_buffer_mgr.c cc_add_sg_entry(dev, &sg_data, req_ctx->in_nents, src, sg_data 463 drivers/crypto/ccree/cc_buffer_mgr.c cc_add_sg_entry(dev, &sg_data, req_ctx->out_nents, dst, sg_data 471 drivers/crypto/ccree/cc_buffer_mgr.c rc = cc_generate_mlli(dev, &sg_data, mlli_params, flags); sg_data 576 drivers/crypto/ccree/cc_buffer_mgr.c struct buffer_array *sg_data, sg_data 615 drivers/crypto/ccree/cc_buffer_mgr.c cc_add_buffer_entry(dev, sg_data, sg_data 628 drivers/crypto/ccree/cc_buffer_mgr.c struct buffer_array *sg_data, sg_data 641 drivers/crypto/ccree/cc_buffer_mgr.c if (!sg_data) { sg_data 689 drivers/crypto/ccree/cc_buffer_mgr.c cc_add_sg_entry(dev, sg_data, areq_ctx->assoc.nents, req->src, sg_data 724 drivers/crypto/ccree/cc_buffer_mgr.c struct buffer_array *sg_data, sg_data 736 drivers/crypto/ccree/cc_buffer_mgr.c cc_add_sg_entry(dev, sg_data, areq_ctx->src.nents, sg_data 776 drivers/crypto/ccree/cc_buffer_mgr.c cc_add_sg_entry(dev, sg_data, areq_ctx->src.nents, sg_data 780 drivers/crypto/ccree/cc_buffer_mgr.c cc_add_sg_entry(dev, sg_data, areq_ctx->dst.nents, sg_data 808 drivers/crypto/ccree/cc_buffer_mgr.c cc_add_sg_entry(dev, sg_data, areq_ctx->dst.nents, sg_data 812 drivers/crypto/ccree/cc_buffer_mgr.c cc_add_sg_entry(dev, sg_data, areq_ctx->src.nents, sg_data 837 drivers/crypto/ccree/cc_buffer_mgr.c struct buffer_array *sg_data, sg_data 861 drivers/crypto/ccree/cc_buffer_mgr.c if (!sg_data) sg_data 940 drivers/crypto/ccree/cc_buffer_mgr.c cc_prepare_aead_data_mlli(drvdata, req, sg_data, sg_data 1009 drivers/crypto/ccree/cc_buffer_mgr.c struct buffer_array sg_data; sg_data 1022 drivers/crypto/ccree/cc_buffer_mgr.c sg_data.num_of_buffers = 0; sg_data 1064 drivers/crypto/ccree/cc_buffer_mgr.c &sg_data, areq_ctx->assoclen); sg_data 1138 drivers/crypto/ccree/cc_buffer_mgr.c rc = cc_aead_chain_assoc(drvdata, req, &sg_data, true, false); sg_data 1141 drivers/crypto/ccree/cc_buffer_mgr.c rc = cc_aead_chain_iv(drvdata, req, &sg_data, true, false); sg_data 1144 drivers/crypto/ccree/cc_buffer_mgr.c rc = cc_aead_chain_data(drvdata, req, &sg_data, true, false); sg_data 1168 drivers/crypto/ccree/cc_buffer_mgr.c rc = cc_aead_chain_assoc(drvdata, req, &sg_data, false, true); sg_data 1171 drivers/crypto/ccree/cc_buffer_mgr.c rc = cc_aead_chain_iv(drvdata, req, &sg_data, false, true); sg_data 1174 drivers/crypto/ccree/cc_buffer_mgr.c rc = cc_aead_chain_data(drvdata, req, &sg_data, true, true); sg_data 1185 drivers/crypto/ccree/cc_buffer_mgr.c rc = cc_generate_mlli(dev, &sg_data, mlli_params, flags); sg_data 1211 drivers/crypto/ccree/cc_buffer_mgr.c struct buffer_array sg_data; sg_data 1222 drivers/crypto/ccree/cc_buffer_mgr.c sg_data.num_of_buffers = 0; sg_data 1234 drivers/crypto/ccree/cc_buffer_mgr.c &sg_data); sg_data 1261 drivers/crypto/ccree/cc_buffer_mgr.c cc_add_sg_entry(dev, &sg_data, areq_ctx->in_nents, src, nbytes, sg_data 1263 drivers/crypto/ccree/cc_buffer_mgr.c rc = cc_generate_mlli(dev, &sg_data, mlli_params, flags); sg_data 1296 drivers/crypto/ccree/cc_buffer_mgr.c struct buffer_array sg_data; sg_data 1309 drivers/crypto/ccree/cc_buffer_mgr.c sg_data.num_of_buffers = 0; sg_data 1344 drivers/crypto/ccree/cc_buffer_mgr.c &sg_data); sg_data 1374 drivers/crypto/ccree/cc_buffer_mgr.c cc_add_sg_entry(dev, &sg_data, areq_ctx->in_nents, src, sg_data 1377 drivers/crypto/ccree/cc_buffer_mgr.c rc = cc_generate_mlli(dev, &sg_data, mlli_params, flags);