Home
last modified time | relevance | path

Searched refs:iq_cmd (Results 1 – 4 of 4) sorted by relevance

/linux-6.12.1/drivers/crypto/marvell/octeontx2/
Dotx2_cptvf_reqmgr.c93 struct otx2_cpt_iq_command iq_cmd; in process_request() local
152 iq_cmd.cmd.u = 0; in process_request()
153 iq_cmd.cmd.s.opcode = cpu_to_be16(cpt_req->opcode.flags); in process_request()
154 iq_cmd.cmd.s.param1 = cpu_to_be16(cpt_req->param1); in process_request()
155 iq_cmd.cmd.s.param2 = cpu_to_be16(cpt_req->param2); in process_request()
156 iq_cmd.cmd.s.dlen = cpu_to_be16(cpt_req->dlen); in process_request()
159 cpu_to_be64s(&iq_cmd.cmd.u); in process_request()
160 iq_cmd.dptr = info->dptr_baddr | info->gthr_sz << 60; in process_request()
161 iq_cmd.rptr = info->rptr_baddr | info->sctr_sz << 60; in process_request()
162 iq_cmd.cptr.s.cptr = cpt_req->cptr_dma; in process_request()
[all …]
Dotx2_cptlf.h353 struct otx2_cpt_iq_command *iq_cmd, in otx2_cpt_fill_inst() argument
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()
364 cptinst->s.ei3 = iq_cmd->cptr.u; in otx2_cpt_fill_inst()
Dotx2_cptpf_ucode.c1489 struct otx2_cpt_iq_command iq_cmd; in otx2_cpt_discover_eng_capabilities() local
1543 iq_cmd.cmd.u = 0; in otx2_cpt_discover_eng_capabilities()
1544 iq_cmd.cmd.s.opcode = cpu_to_be16(opcode.flags); in otx2_cpt_discover_eng_capabilities()
1547 cpu_to_be64s(&iq_cmd.cmd.u); in otx2_cpt_discover_eng_capabilities()
1548 iq_cmd.dptr = 0; in otx2_cpt_discover_eng_capabilities()
1549 iq_cmd.rptr = rptr_baddr + compl_rlen; in otx2_cpt_discover_eng_capabilities()
1550 iq_cmd.cptr.u = 0; in otx2_cpt_discover_eng_capabilities()
1554 iq_cmd.cptr.s.grp = otx2_cpt_get_eng_grp(&cptpf->eng_grps, in otx2_cpt_discover_eng_capabilities()
1556 otx2_cpt_fill_inst(&inst, &iq_cmd, rptr_baddr); in otx2_cpt_discover_eng_capabilities()
/linux-6.12.1/drivers/crypto/marvell/octeontx/
Dotx_cptvf_reqmgr.c306 struct otx_cpt_iq_cmd iq_cmd; in process_request() local
363 iq_cmd.cmd.u64 = 0; in process_request()
364 iq_cmd.cmd.s.opcode = cpu_to_be16(cpt_req->opcode.flags); in process_request()
365 iq_cmd.cmd.s.param1 = cpu_to_be16(cpt_req->param1); in process_request()
366 iq_cmd.cmd.s.param2 = cpu_to_be16(cpt_req->param2); in process_request()
367 iq_cmd.cmd.s.dlen = cpu_to_be16(cpt_req->dlen); in process_request()
369 iq_cmd.dptr = info->dptr_baddr; in process_request()
370 iq_cmd.rptr = info->rptr_baddr; in process_request()
371 iq_cmd.cptr.u64 = 0; in process_request()
372 iq_cmd.cptr.s.grp = ctrl->s.grp; in process_request()
[all …]