Home
last modified time | relevance | path

Searched refs:eng_grps (Results 1 – 11 of 11) sorted by relevance

/Linux-v6.1/drivers/crypto/marvell/octeontx2/
Dotx2_cptpf_ucode.c815 struct otx2_cpt_eng_grps *eng_grps = grp->g; in find_mirrored_eng_grp() local
819 if (!eng_grps->grp[i].is_enabled) in find_mirrored_eng_grp()
821 if (eng_grps->grp[i].ucode[0].type && in find_mirrored_eng_grp()
822 eng_grps->grp[i].ucode[1].type) in find_mirrored_eng_grp()
826 if (!strncasecmp(eng_grps->grp[i].ucode[0].ver_str, in find_mirrored_eng_grp()
829 return &eng_grps->grp[i]; in find_mirrored_eng_grp()
836 struct otx2_cpt_eng_grps *eng_grps) in find_unused_eng_grp() argument
841 if (!eng_grps->grp[i].is_enabled) in find_unused_eng_grp()
842 return &eng_grps->grp[i]; in find_unused_eng_grp()
975 struct otx2_cpt_eng_grps *eng_grps, in create_engine_group() argument
[all …]
Dotx2_cptpf_ucode.h156 struct otx2_cpt_eng_grps *eng_grps);
158 struct otx2_cpt_eng_grps *eng_grps);
160 struct otx2_cpt_eng_grps *eng_grps);
162 int otx2_cpt_get_eng_grp(struct otx2_cpt_eng_grps *eng_grps, int eng_type);
Dotx2_cpt_devlink.c83 err = otx2_cpt_dl_info_firmware_version_put(req, cptpf->eng_grps.grp, in otx2_cpt_devlink_info_get()
88 err = otx2_cpt_dl_info_firmware_version_put(req, cptpf->eng_grps.grp, in otx2_cpt_devlink_info_get()
93 return otx2_cpt_dl_info_firmware_version_put(req, cptpf->eng_grps.grp, in otx2_cpt_devlink_info_get()
Dotx2_cptpf_main.c617 cptpf->eng_grps.avail.max_se_cnt = af_cnsts1.s.se; in cptpf_device_init()
618 cptpf->eng_grps.avail.max_ie_cnt = af_cnsts1.s.ie; in cptpf_device_init()
619 cptpf->eng_grps.avail.max_ae_cnt = af_cnsts1.s.ae; in cptpf_device_init()
668 ret = otx2_cpt_create_eng_grps(cptpf, &cptpf->eng_grps); in cptpf_sriov_enable()
770 err = otx2_cpt_init_eng_grps(pdev, &cptpf->eng_grps); in otx2_cptpf_probe()
787 otx2_cpt_cleanup_eng_grps(pdev, &cptpf->eng_grps); in otx2_cptpf_probe()
809 otx2_cpt_cleanup_eng_grps(pdev, &cptpf->eng_grps); in otx2_cptpf_remove()
Dotx2_cptpf.h32 struct otx2_cpt_eng_grps eng_grps;/* Engine groups information */ member
Dotx2_cptpf_mbox.c90 rsp->eng_grp_num = otx2_cpt_get_eng_grp(&cptpf->eng_grps, in handle_msg_get_eng_grp_num()
/Linux-v6.1/drivers/crypto/marvell/octeontx/
Dotx_cptpf_ucode.c91 static int dev_supports_eng_type(struct otx_cpt_eng_grps *eng_grps, in dev_supports_eng_type() argument
94 return is_eng_type(eng_grps->eng_types_supported, eng_type); in dev_supports_eng_type()
600 struct otx_cpt_eng_grps *eng_grps) in print_dbg_info() argument
612 eng_grps->avail.max_se_cnt, eng_grps->avail.max_ae_cnt); in print_dbg_info()
613 pr_debug("free SE %d\n", eng_grps->avail.se_cnt); in print_dbg_info()
614 pr_debug("free AE %d\n", eng_grps->avail.ae_cnt); in print_dbg_info()
617 grp = &eng_grps->grp[i]; in print_dbg_info()
621 mirrored_grp = &eng_grps->grp[grp->mirror.idx]; in print_dbg_info()
638 eng_grps->engs_num); in print_dbg_info()
1038 struct otx_cpt_eng_grps *eng_grps = grp->g; in find_mirrored_eng_grp() local
[all …]
Dotx_cptpf_main.c47 cpt->eng_grps.avail.max_se_cnt = pf_cnsts.s.se; in otx_cpt_find_max_enabled_cores()
48 cpt->eng_grps.avail.max_ae_cnt = pf_cnsts.s.ae; in otx_cpt_find_max_enabled_cores()
96 (cpt->eng_grps.avail.max_se_cnt == 0)) { in otx_cpt_device_init()
99 (cpt->eng_grps.avail.max_ae_cnt == 0)) { in otx_cpt_device_init()
164 &cpt->eng_grps, in otx_cpt_sriov_configure()
175 otx_cpt_set_eng_grps_is_rdonly(&cpt->eng_grps, true); in otx_cpt_sriov_configure()
180 otx_cpt_set_eng_grps_is_rdonly(&cpt->eng_grps, false); in otx_cpt_sriov_configure()
240 err = otx_cpt_init_eng_grps(pdev, &cpt->eng_grps, cpt->pf_type); in otx_cpt_probe()
270 otx_cpt_cleanup_eng_grps(pdev, &cpt->eng_grps); in otx_cpt_remove()
Dotx_cptpf_ucode.h168 struct otx_cpt_eng_grps *eng_grps, int pf_type);
170 struct otx_cpt_eng_grps *eng_grps);
172 struct otx_cpt_eng_grps *eng_grps,
174 void otx_cpt_set_eng_grps_is_rdonly(struct otx_cpt_eng_grps *eng_grps,
Dotx_cptpf.h24 struct otx_cpt_eng_grps eng_grps;/* Engine groups information */ member
Dotx_cptpf_mbox.c154 eng_grp = &cpt->eng_grps.grp[grp]; in otx_cpt_bind_vq_to_grp()