Lines Matching refs:cptinst
99 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()
364 cptinst->s.ei3 = iq_cmd->cptr.u; in otx2_cpt_fill_inst()
373 static inline void otx2_cpt_send_cmd(union otx2_cpt_inst_s *cptinst, in otx2_cpt_send_cmd() argument
387 memcpy_toio(lmtline, cptinst, insts_num * OTX2_CPT_INST_SIZE); in otx2_cpt_send_cmd()