Home
last modified time | relevance | path

Searched refs:req_tmpl (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/crypto/intel/qat/qat_common/
H A Dadf_gen2_dc.c9 struct icp_qat_fw_comp_req *req_tmpl = (struct icp_qat_fw_comp_req *)ctx; in qat_comp_build_deflate_ctx() local
10 struct icp_qat_fw_comn_req_hdr *header = &req_tmpl->comn_hdr; in qat_comp_build_deflate_ctx()
11 struct icp_qat_fw_comp_req_hdr_cd_pars *cd_pars = &req_tmpl->cd_pars; in qat_comp_build_deflate_ctx()
12 struct icp_qat_fw_comp_req_params *req_pars = &req_tmpl->comp_pars; in qat_comp_build_deflate_ctx()
13 struct icp_qat_fw_comp_cd_hdr *comp_cd_ctrl = &req_tmpl->comp_cd_ctrl; in qat_comp_build_deflate_ctx()
15 memset(req_tmpl, 0, sizeof(*req_tmpl)); in qat_comp_build_deflate_ctx()
53 memcpy(req_tmpl + 1, req_tmpl, sizeof(*req_tmpl)); in qat_comp_build_deflate_ctx()
54 req_tmpl++; in qat_comp_build_deflate_ctx()
55 header = &req_tmpl->comn_hdr; in qat_comp_build_deflate_ctx()
57 cd_pars = &req_tmpl->cd_pars; in qat_comp_build_deflate_ctx()
H A Dadf_gen4_dc.c10 struct icp_qat_fw_comp_req *req_tmpl = in qat_comp_build_deflate() local
12 struct icp_qat_fw_comn_req_hdr *header = &req_tmpl->comn_hdr; in qat_comp_build_deflate()
13 struct icp_qat_fw_comp_req_hdr_cd_pars *cd_pars = &req_tmpl->cd_pars; in qat_comp_build_deflate()
14 struct icp_qat_fw_comp_req_params *req_pars = &req_tmpl->comp_pars; in qat_comp_build_deflate()
21 memset(req_tmpl, 0, sizeof(*req_tmpl)); in qat_comp_build_deflate()
66 memcpy(req_tmpl + 1, req_tmpl, sizeof(*req_tmpl)); in qat_comp_build_deflate()
67 req_tmpl++; in qat_comp_build_deflate()
68 header = &req_tmpl->comn_hdr; in qat_comp_build_deflate()
70 cd_pars = &req_tmpl->cd_pars; in qat_comp_build_deflate()
H A Dqat_algs.c248 struct icp_qat_fw_la_bulk_req *req_tmpl = &ctx->enc_fw_req; in qat_alg_aead_init_enc_session() local
249 struct icp_qat_fw_comn_req_hdr_cd_pars *cd_pars = &req_tmpl->cd_pars; in qat_alg_aead_init_enc_session()
250 struct icp_qat_fw_comn_req_hdr *header = &req_tmpl->comn_hdr; in qat_alg_aead_init_enc_session()
251 void *ptr = &req_tmpl->cd_ctrl; in qat_alg_aead_init_enc_session()
330 struct icp_qat_fw_la_bulk_req *req_tmpl = &ctx->dec_fw_req; in qat_alg_aead_init_dec_session() local
331 struct icp_qat_fw_comn_req_hdr_cd_pars *cd_pars = &req_tmpl->cd_pars; in qat_alg_aead_init_dec_session()
332 struct icp_qat_fw_comn_req_hdr *header = &req_tmpl->comn_hdr; in qat_alg_aead_init_dec_session()
333 void *ptr = &req_tmpl->cd_ctrl; in qat_alg_aead_init_dec_session()
338 ((char *)&req_tmpl->serv_specif_rqpars + in qat_alg_aead_init_dec_session()