Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/crypto/marvell/octeontx2/
Dotx2_cptlf.h98 void (*send_cmd)(union otx2_cpt_inst_s *cptinst, u32 insts_num,
302 static inline void otx2_cpt_fill_inst(union otx2_cpt_inst_s *cptinst, in otx2_cpt_fill_inst() argument
306 cptinst->u[0] = 0x0; in otx2_cpt_fill_inst()
307 cptinst->s.doneint = true; in otx2_cpt_fill_inst()
308 cptinst->s.res_addr = comp_baddr; in otx2_cpt_fill_inst()
309 cptinst->u[2] = 0x0; in otx2_cpt_fill_inst()
310 cptinst->u[3] = 0x0; in otx2_cpt_fill_inst()
311 cptinst->s.ei0 = iq_cmd->cmd.u; in otx2_cpt_fill_inst()
312 cptinst->s.ei1 = iq_cmd->dptr; in otx2_cpt_fill_inst()
313 cptinst->s.ei2 = iq_cmd->rptr; in otx2_cpt_fill_inst()
[all …]
Dcn10k_cpt.c22 void cn10k_cpt_send_cmd(union otx2_cpt_inst_s *cptinst, u32 insts_num, in cn10k_cpt_send_cmd() argument
39 memcpy_toio(lmtline, cptinst, insts_num * OTX2_CPT_INST_SIZE); in cn10k_cpt_send_cmd()
Dcn10k_cpt.h31 void cn10k_cpt_send_cmd(union otx2_cpt_inst_s *cptinst, u32 insts_num,
Dotx2_cptvf_reqmgr.c240 union otx2_cpt_inst_s cptinst; in process_request() local
312 otx2_cpt_fill_inst(&cptinst, &iq_cmd, info->comp_baddr); in process_request()
317 print_hex_dump_debug("", 0, 16, 1, &cptinst, OTX2_CPT_INST_SIZE, false); in process_request()
323 lf->lfs->ops->send_cmd(&cptinst, 1, lf); in process_request()
/linux-6.1.9/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.1.9/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()