Searched refs:eng_grp (Results 1 – 5 of 5) sorted by relevance
58 struct otx_cpt_eng_grp_info *eng_grp) in get_cores_bmap() argument64 if (eng_grp->g->engs_num > OTX_CPT_MAX_ENGINES) { in get_cores_bmap()66 eng_grp->g->engs_num); in get_cores_bmap()71 if (eng_grp->engs[i].type) { in get_cores_bmap()73 eng_grp->engs[i].bmap, in get_cores_bmap()74 eng_grp->g->engs_num); in get_cores_bmap()75 bmap.size = eng_grp->g->engs_num; in get_cores_bmap()82 eng_grp->idx); in get_cores_bmap()175 static int cpt_set_ucode_base(struct otx_cpt_eng_grp_info *eng_grp, void *obj) in cpt_set_ucode_base() argument182 bmap = get_cores_bmap(&cpt->pdev->dev, eng_grp); in cpt_set_ucode_base()[all …]
138 struct otx_cpt_eng_grp_info *eng_grp; in otx_cpt_bind_vq_to_grp() local154 eng_grp = &cpt->eng_grps.grp[grp]; in otx_cpt_bind_vq_to_grp()155 if (!eng_grp->is_enabled) { in otx_cpt_bind_vq_to_grp()164 if (eng_grp->mirror.is_ena) in otx_cpt_bind_vq_to_grp()165 ucode = &eng_grp->g->grp[eng_grp->mirror.idx].ucode[0]; in otx_cpt_bind_vq_to_grp()167 ucode = &eng_grp->ucode[0]; in otx_cpt_bind_vq_to_grp()
177 int otx_cpt_eng_grp_has_eng_type(struct otx_cpt_eng_grp_info *eng_grp,
30 struct otx2_cpt_eng_grp_info *eng_grp) in get_cores_bmap() argument36 if (eng_grp->g->engs_num < 0 || in get_cores_bmap()37 eng_grp->g->engs_num > OTX2_CPT_MAX_ENGINES) { in get_cores_bmap()39 eng_grp->g->engs_num); in get_cores_bmap()44 if (eng_grp->engs[i].type) { in get_cores_bmap()46 eng_grp->engs[i].bmap, in get_cores_bmap()47 eng_grp->g->engs_num); in get_cores_bmap()48 bmap.size = eng_grp->g->engs_num; in get_cores_bmap()55 eng_grp->idx); in get_cores_bmap()64 static int is_2nd_ucode_used(struct otx2_cpt_eng_grp_info *eng_grp) in is_2nd_ucode_used() argument[all …]
171 struct otx2_cpt_eng_grp_info *eng_grp,