Home
last modified time | relevance | path

Searched refs:cptinst (Results 1 – 5 of 5) sorted by relevance

/linux-6.12.1/drivers/crypto/marvell/octeontx2/
Dotx2_cptlf.h99 void (*send_cmd)(union otx2_cpt_inst_s *cptinst, u32 insts_num,
352 static inline void otx2_cpt_fill_inst(union otx2_cpt_inst_s *cptinst, in otx2_cpt_fill_inst() argument
356 cptinst->u[0] = 0x0; in otx2_cpt_fill_inst()
357 cptinst->s.doneint = true; in otx2_cpt_fill_inst()
358 cptinst->s.res_addr = comp_baddr; in otx2_cpt_fill_inst()
359 cptinst->u[2] = 0x0; in otx2_cpt_fill_inst()
360 cptinst->u[3] = 0x0; in otx2_cpt_fill_inst()
361 cptinst->s.ei0 = iq_cmd->cmd.u; in otx2_cpt_fill_inst()
362 cptinst->s.ei1 = iq_cmd->dptr; in otx2_cpt_fill_inst()
363 cptinst->s.ei2 = iq_cmd->rptr; in otx2_cpt_fill_inst()
[all …]
Dcn10k_cpt.c10 static void cn10k_cpt_send_cmd(union otx2_cpt_inst_s *cptinst, u32 insts_num,
27 static void cn10k_cpt_send_cmd(union otx2_cpt_inst_s *cptinst, u32 insts_num, in cn10k_cpt_send_cmd() argument
44 memcpy_toio(lmtline, cptinst, insts_num * OTX2_CPT_INST_SIZE); in cn10k_cpt_send_cmd()
Dotx2_cptvf_reqmgr.c94 union otx2_cpt_inst_s cptinst; in process_request() local
166 otx2_cpt_fill_inst(&cptinst, &iq_cmd, info->comp_baddr); in process_request()
171 print_hex_dump_debug("", 0, 16, 1, &cptinst, OTX2_CPT_INST_SIZE, false); in process_request()
177 lf->lfs->ops->send_cmd(&cptinst, 1, lf); in process_request()
/linux-6.12.1/drivers/crypto/cavium/cpt/
Dcptvf_reqmanager.c418 union cpt_inst_s cptinst; in process_request() local
514 cptinst.s.doneint = true; in process_request()
515 cptinst.s.res_addr = (u64)info->comp_baddr; in process_request()
516 cptinst.s.tag = 0; in process_request()
517 cptinst.s.grp = 0; in process_request()
518 cptinst.s.wq_ptr = 0; in process_request()
519 cptinst.s.ei0 = vq_cmd.cmd.u64; in process_request()
520 cptinst.s.ei1 = vq_cmd.dptr; in process_request()
521 cptinst.s.ei2 = vq_cmd.rptr; in process_request()
522 cptinst.s.ei3 = vq_cmd.cptr.u64; in process_request()
[all …]
/linux-6.12.1/drivers/crypto/marvell/octeontx/
Dotx_cptvf_reqmgr.c268 static void cpt_send_cmd(union otx_cpt_inst_s *cptinst, struct otx_cptvf *cptvf) in cpt_send_cmd() argument
281 memcpy(ent, (void *) cptinst, OTX_CPT_INST_SIZE); in cpt_send_cmd()
307 union otx_cpt_inst_s cptinst; in process_request() local
375 cpt_fill_inst(&cptinst, info, &iq_cmd); in process_request()
380 print_hex_dump_debug("", 0, 16, 1, &cptinst, OTX_CPT_INST_SIZE, false); in process_request()
386 cpt_send_cmd(&cptinst, cptvf); in process_request()