Searched refs:eng_grps (Results 1 – 10 of 10) sorted by relevance
| /Linux-v5.15/drivers/crypto/marvell/octeontx/ |
| D | otx_cptpf_ucode.c | 91 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() 593 struct otx_cpt_eng_grps *eng_grps) in print_dbg_info() argument 605 eng_grps->avail.max_se_cnt, eng_grps->avail.max_ae_cnt); in print_dbg_info() 606 pr_debug("free SE %d\n", eng_grps->avail.se_cnt); in print_dbg_info() 607 pr_debug("free AE %d\n", eng_grps->avail.ae_cnt); in print_dbg_info() 610 grp = &eng_grps->grp[i]; in print_dbg_info() 614 mirrored_grp = &eng_grps->grp[grp->mirror.idx]; in print_dbg_info() 631 eng_grps->engs_num); in print_dbg_info() 1024 struct otx_cpt_eng_grps *eng_grps = grp->g; in find_mirrored_eng_grp() local [all …]
|
| D | otx_cptpf_main.c | 47 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()
|
| D | otx_cptpf_ucode.h | 168 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,
|
| D | otx_cptpf.h | 24 struct otx_cpt_eng_grps eng_grps;/* Engine groups information */ member
|
| D | otx_cptpf_mbox.c | 154 eng_grp = &cpt->eng_grps.grp[grp]; in otx_cpt_bind_vq_to_grp()
|
| /Linux-v5.15/drivers/crypto/marvell/octeontx2/ |
| D | otx2_cptpf_ucode.c | 814 struct otx2_cpt_eng_grps *eng_grps = grp->g; in find_mirrored_eng_grp() local 818 if (!eng_grps->grp[i].is_enabled) in find_mirrored_eng_grp() 820 if (eng_grps->grp[i].ucode[0].type && in find_mirrored_eng_grp() 821 eng_grps->grp[i].ucode[1].type) in find_mirrored_eng_grp() 825 if (!strncasecmp(eng_grps->grp[i].ucode[0].ver_str, in find_mirrored_eng_grp() 828 return &eng_grps->grp[i]; in find_mirrored_eng_grp() 835 struct otx2_cpt_eng_grps *eng_grps) in find_unused_eng_grp() argument 840 if (!eng_grps->grp[i].is_enabled) in find_unused_eng_grp() 841 return &eng_grps->grp[i]; in find_unused_eng_grp() 974 struct otx2_cpt_eng_grps *eng_grps, in create_engine_group() argument [all …]
|
| D | otx2_cptpf_ucode.h | 155 struct otx2_cpt_eng_grps *eng_grps); 157 struct otx2_cpt_eng_grps *eng_grps); 159 struct otx2_cpt_eng_grps *eng_grps); 161 int otx2_cpt_get_eng_grp(struct otx2_cpt_eng_grps *eng_grps, int eng_type);
|
| D | otx2_cptpf_main.c | 610 cptpf->eng_grps.avail.max_se_cnt = af_cnsts1.s.se; in cptpf_device_init() 611 cptpf->eng_grps.avail.max_ie_cnt = af_cnsts1.s.ie; in cptpf_device_init() 612 cptpf->eng_grps.avail.max_ae_cnt = af_cnsts1.s.ae; in cptpf_device_init() 661 ret = otx2_cpt_create_eng_grps(cptpf, &cptpf->eng_grps); in cptpf_sriov_enable() 763 err = otx2_cpt_init_eng_grps(pdev, &cptpf->eng_grps); in otx2_cptpf_probe() 773 otx2_cpt_cleanup_eng_grps(pdev, &cptpf->eng_grps); in otx2_cptpf_probe() 794 otx2_cpt_cleanup_eng_grps(pdev, &cptpf->eng_grps); in otx2_cptpf_remove()
|
| D | otx2_cptpf.h | 32 struct otx2_cpt_eng_grps eng_grps;/* Engine groups information */ member
|
| D | otx2_cptpf_mbox.c | 83 rsp->eng_grp_num = otx2_cpt_get_eng_grp(&cptpf->eng_grps, in handle_msg_get_eng_grp_num()
|