Home
last modified time | relevance | path

Searched refs:engs (Results 1 - 6 of 6) sorted by relevance

/kernel/linux/linux-6.6/drivers/crypto/marvell/octeontx2/
H A Dotx2_cptpf_ucode.c40 if (eng_grp->engs[i].type) { in get_cores_bmap()
42 eng_grp->engs[i].bmap, in get_cores_bmap()
169 struct otx2_cpt_engs_rsvd *engs; in cptx_set_ucode_base() local
181 engs = &eng_grp->engs[i]; in cptx_set_ucode_base()
182 if (!engs->type) in cptx_set_ucode_base()
185 dma_addr = engs->ucode->dma; in cptx_set_ucode_base()
191 for_each_set_bit(bit, engs->bmap, eng_grp->g->engs_num) in cptx_set_ucode_base()
486 if (!eng_grp->engs[i].type) in find_engines_by_type()
489 if (eng_grp->engs[ in find_engines_by_type()
498 struct otx2_cpt_engs_rsvd *engs; eng_grp_has_eng_type() local
505 update_engines_avail_count(struct device *dev, struct otx2_cpt_engs_available *avail, struct otx2_cpt_engs_rsvd *engs, int val) update_engines_avail_count() argument
529 update_engines_offset(struct device *dev, struct otx2_cpt_engs_available *avail, struct otx2_cpt_engs_rsvd *engs) update_engines_offset() argument
583 struct otx2_cpt_engs_rsvd *engs = NULL; do_reserve_engines() local
782 update_requested_engs(struct otx2_cpt_eng_grp_info *mirror_eng_grp, struct otx2_cpt_engines *engs, int engs_cnt) update_requested_engs() argument
850 struct otx2_cpt_engs_rsvd *engs, *mirrored_engs; eng_grp_update_masks() local
974 create_engine_group(struct device *dev, struct otx2_cpt_eng_grps *eng_grps, struct otx2_cpt_engines *engs, int ucodes_cnt, void *ucode_data[], int is_print) create_engine_group() argument
1144 struct otx2_cpt_engines engs[OTX2_CPT_MAX_ETYPES_PER_GRP] = { {0} }; otx2_cpt_create_eng_grps() local
1410 struct otx2_cpt_engines engs[OTX2_CPT_MAX_ETYPES_PER_GRP] = { {0} }; create_eng_caps_discovery_grps() local
1573 struct otx2_cpt_engines engs[OTX2_CPT_MAX_ETYPES_PER_GRP] = { { 0 } }; otx2_cpt_dl_custom_egrp_create() local
1773 struct otx2_cpt_engs_rsvd *engs; get_engs_info() local
1816 struct otx2_cpt_engs_rsvd *engs; otx2_cpt_print_uc_dbg_info() local
[all...]
H A Dotx2_cptpf_ucode.h133 struct otx2_cpt_engs_rsvd engs[OTX2_CPT_MAX_ETYPES_PER_GRP]; member
/kernel/linux/linux-5.10/drivers/crypto/marvell/octeontx/
H A Dotx_cptpf_ucode.c71 if (eng_grp->engs[i].type) { in get_cores_bmap()
73 eng_grp->engs[i].bmap, in get_cores_bmap()
494 if (!eng_grp->engs[i].type) in find_engines_by_type()
497 if (eng_grp->engs[i].type == eng_type) in find_engines_by_type()
498 return &eng_grp->engs[i]; in find_engines_by_type()
512 struct otx_cpt_engs_rsvd *engs; in otx_cpt_eng_grp_has_eng_type() local
514 engs = find_engines_by_type(eng_grp, eng_type); in otx_cpt_eng_grp_has_eng_type()
516 return (engs != NULL ? 1 : 0); in otx_cpt_eng_grp_has_eng_type()
536 struct otx_cpt_engs_rsvd *engs; in print_engs_info() local
541 engs in print_engs_info()
606 struct otx_cpt_engs_rsvd *engs; print_dbg_info() local
652 update_engines_avail_count(struct device *dev, struct otx_cpt_engs_available *avail, struct otx_cpt_engs_rsvd *engs, int val) update_engines_avail_count() argument
673 update_engines_offset(struct device *dev, struct otx_cpt_engs_available *avail, struct otx_cpt_engs_rsvd *engs) update_engines_offset() argument
724 struct otx_cpt_engs_rsvd *engs = NULL; do_reserve_engines() local
1005 update_requested_engs(struct otx_cpt_eng_grp_info *mirrored_eng_grp, struct otx_cpt_engines *engs, int engs_cnt) update_requested_engs() argument
1072 struct otx_cpt_engs_rsvd *engs, *mirrored_engs; eng_grp_update_masks() local
1183 validate_1_ucode_scenario(struct device *dev, struct otx_cpt_eng_grp_info *eng_grp, struct otx_cpt_engines *engs, int engs_cnt) validate_1_ucode_scenario() argument
1215 create_engine_group(struct device *dev, struct otx_cpt_eng_grps *eng_grps, struct otx_cpt_engines *engs, int engs_cnt, void *ucode_data[], int ucodes_cnt, bool use_uc_from_tar_arch) create_engine_group() argument
1330 struct otx_cpt_engines engs[OTX_CPT_MAX_ETYPES_PER_GRP] = { {0} }; ucode_load_store() local
1475 struct otx_cpt_engines engs[OTX_CPT_MAX_ETYPES_PER_GRP] = {}; otx_cpt_try_create_default_eng_grps() local
[all...]
H A Dotx_cptpf_ucode.h139 struct otx_cpt_engs_rsvd engs[OTX_CPT_MAX_ETYPES_PER_GRP]; member
/kernel/linux/linux-6.6/drivers/crypto/marvell/octeontx/
H A Dotx_cptpf_ucode.c71 if (eng_grp->engs[i].type) { in get_cores_bmap()
73 eng_grp->engs[i].bmap, in get_cores_bmap()
493 if (!eng_grp->engs[i].type) in find_engines_by_type()
496 if (eng_grp->engs[i].type == eng_type) in find_engines_by_type()
497 return &eng_grp->engs[i]; in find_engines_by_type()
511 struct otx_cpt_engs_rsvd *engs; in otx_cpt_eng_grp_has_eng_type() local
513 engs = find_engines_by_type(eng_grp, eng_type); in otx_cpt_eng_grp_has_eng_type()
515 return (engs != NULL ? 1 : 0); in otx_cpt_eng_grp_has_eng_type()
535 struct otx_cpt_engs_rsvd *engs; in print_engs_info() local
540 engs in print_engs_info()
605 struct otx_cpt_engs_rsvd *engs; print_dbg_info() local
651 update_engines_avail_count(struct device *dev, struct otx_cpt_engs_available *avail, struct otx_cpt_engs_rsvd *engs, int val) update_engines_avail_count() argument
672 update_engines_offset(struct device *dev, struct otx_cpt_engs_available *avail, struct otx_cpt_engs_rsvd *engs) update_engines_offset() argument
723 struct otx_cpt_engs_rsvd *engs = NULL; do_reserve_engines() local
1004 update_requested_engs(struct otx_cpt_eng_grp_info *mirrored_eng_grp, struct otx_cpt_engines *engs, int engs_cnt) update_requested_engs() argument
1071 struct otx_cpt_engs_rsvd *engs, *mirrored_engs; eng_grp_update_masks() local
1182 validate_1_ucode_scenario(struct device *dev, struct otx_cpt_eng_grp_info *eng_grp, struct otx_cpt_engines *engs, int engs_cnt) validate_1_ucode_scenario() argument
1214 create_engine_group(struct device *dev, struct otx_cpt_eng_grps *eng_grps, struct otx_cpt_engines *engs, int engs_cnt, void *ucode_data[], int ucodes_cnt, bool use_uc_from_tar_arch) create_engine_group() argument
1329 struct otx_cpt_engines engs[OTX_CPT_MAX_ETYPES_PER_GRP] = { {0} }; ucode_load_store() local
1474 struct otx_cpt_engines engs[OTX_CPT_MAX_ETYPES_PER_GRP] = {}; otx_cpt_try_create_default_eng_grps() local
[all...]
H A Dotx_cptpf_ucode.h139 struct otx_cpt_engs_rsvd engs[OTX_CPT_MAX_ETYPES_PER_GRP]; member

Completed in 6 milliseconds