Lines Matching refs:argcnt
198 u32 nbytes, u32 *argcnt) in update_input_data() argument
206 req_info->in[*argcnt].vptr = (void *)ptr; in update_input_data()
207 req_info->in[*argcnt].size = len; in update_input_data()
209 ++(*argcnt); in update_input_data()
216 u32 offset, u32 nbytes, u32 *argcnt) in update_output_data() argument
224 req_info->out[*argcnt].vptr = (void *) (ptr + offset); in update_output_data()
225 req_info->out[*argcnt].size = len; in update_output_data()
227 ++(*argcnt); in update_output_data()
234 u32 *argcnt) in create_ctx_hdr() argument
290 req_info->in[*argcnt].vptr = (u8 *)&rctx->ctrl_word; in create_ctx_hdr()
291 req_info->in[*argcnt].size = CONTROL_WORD_LEN; in create_ctx_hdr()
293 ++(*argcnt); in create_ctx_hdr()
295 req_info->in[*argcnt].vptr = (u8 *)fctx; in create_ctx_hdr()
296 req_info->in[*argcnt].size = sizeof(struct otx_cpt_fc_ctx); in create_ctx_hdr()
299 ++(*argcnt); in create_ctx_hdr()
309 u32 argcnt = 0; in create_input_list() local
312 ret = create_ctx_hdr(req, enc, &argcnt); in create_input_list()
316 update_input_data(req_info, req->src, req->cryptlen, &argcnt); in create_input_list()
317 req_info->incnt = argcnt; in create_input_list()
327 u32 argcnt = 0; in create_output_list() local
337 update_output_data(req_info, req->dst, 0, req->cryptlen, &argcnt); in create_output_list()
338 req_info->outcnt = argcnt; in create_output_list()
892 u32 *argcnt) in create_aead_ctx_hdr() argument
963 req_info->in[*argcnt].vptr = (u8 *)&rctx->ctrl_word; in create_aead_ctx_hdr()
964 req_info->in[*argcnt].size = CONTROL_WORD_LEN; in create_aead_ctx_hdr()
966 ++(*argcnt); in create_aead_ctx_hdr()
968 req_info->in[*argcnt].vptr = (u8 *)fctx; in create_aead_ctx_hdr()
969 req_info->in[*argcnt].size = sizeof(struct otx_cpt_fc_ctx); in create_aead_ctx_hdr()
971 ++(*argcnt); in create_aead_ctx_hdr()
976 static inline u32 create_hmac_ctx_hdr(struct aead_request *req, u32 *argcnt, in create_hmac_ctx_hdr() argument
995 req_info->in[*argcnt].vptr = ctx->key; in create_hmac_ctx_hdr()
996 req_info->in[*argcnt].size = round_up(ctx->auth_key_len, 8); in create_hmac_ctx_hdr()
998 ++(*argcnt); in create_hmac_ctx_hdr()
1008 u32 status, argcnt = 0; in create_aead_input_list() local
1010 status = create_aead_ctx_hdr(req, enc, &argcnt); in create_aead_input_list()
1013 update_input_data(req_info, req->src, inputlen, &argcnt); in create_aead_input_list()
1014 req_info->incnt = argcnt; in create_aead_input_list()
1024 u32 argcnt = 0, outputlen = 0; in create_aead_output_list() local
1031 update_output_data(req_info, req->dst, 0, outputlen, &argcnt); in create_aead_output_list()
1032 req_info->outcnt = argcnt; in create_aead_output_list()
1042 u32 inputlen, argcnt = 0; in create_aead_null_input_list() local
1049 create_hmac_ctx_hdr(req, &argcnt, enc); in create_aead_null_input_list()
1050 update_input_data(req_info, req->src, inputlen, &argcnt); in create_aead_null_input_list()
1051 req_info->incnt = argcnt; in create_aead_null_input_list()
1063 int argcnt = 0, status, offset; in create_aead_null_output_list() local
1116 update_output_data(req_info, dst, offset, mac_len, &argcnt); in create_aead_null_output_list()
1130 req_info->out[argcnt].vptr = rctx->fctx.hmac.s.hmac_calc; in create_aead_null_output_list()
1131 req_info->out[argcnt].size = mac_len; in create_aead_null_output_list()
1132 argcnt++; in create_aead_null_output_list()
1135 req_info->outcnt = argcnt; in create_aead_null_output_list()