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

/linux-master/drivers/crypto/marvell/octeontx/
H A Dotx_cptpf.h24 struct otx_cpt_eng_grps eng_grps;/* Engine groups information */ member in struct:otx_cpt_device
H A 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,
H A Dotx_cptpf_ucode.c91 static int dev_supports_eng_type(struct otx_cpt_eng_grps *eng_grps, argument
94 return is_eng_type(eng_grps->eng_types_supported, eng_type);
599 struct otx_cpt_eng_grps *eng_grps)
611 eng_grps->avail.max_se_cnt, eng_grps->avail.max_ae_cnt);
612 pr_debug("free SE %d\n", eng_grps->avail.se_cnt);
613 pr_debug("free AE %d\n", eng_grps->avail.ae_cnt);
616 grp = &eng_grps->grp[i];
620 mirrored_grp = &eng_grps->grp[grp->mirror.idx];
637 eng_grps
598 print_dbg_info(struct device *dev, struct otx_cpt_eng_grps *eng_grps) argument
1037 struct otx_cpt_eng_grps *eng_grps = grp->g; local
1056 find_unused_eng_grp( struct otx_cpt_eng_grps *eng_grps) 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) argument
1333 struct otx_cpt_eng_grps *eng_grps; local
1469 otx_cpt_try_create_default_eng_grps(struct pci_dev *pdev, struct otx_cpt_eng_grps *eng_grps, int pf_type) argument
1553 otx_cpt_set_eng_grps_is_rdonly(struct otx_cpt_eng_grps *eng_grps, bool is_rdonly) argument
1588 otx_cpt_cleanup_eng_grps(struct pci_dev *pdev, struct otx_cpt_eng_grps *eng_grps) argument
1622 otx_cpt_init_eng_grps(struct pci_dev *pdev, struct otx_cpt_eng_grps *eng_grps, int pf_type) argument
[all...]
H A Dotx_cptpf_main.c47 cpt->eng_grps.avail.max_se_cnt = pf_cnsts.s.se;
48 cpt->eng_grps.avail.max_ae_cnt = pf_cnsts.s.ae;
96 (cpt->eng_grps.avail.max_se_cnt == 0)) {
99 (cpt->eng_grps.avail.max_ae_cnt == 0)) {
164 &cpt->eng_grps,
175 otx_cpt_set_eng_grps_is_rdonly(&cpt->eng_grps, true);
180 otx_cpt_set_eng_grps_is_rdonly(&cpt->eng_grps, false);
240 err = otx_cpt_init_eng_grps(pdev, &cpt->eng_grps, cpt->pf_type);
270 otx_cpt_cleanup_eng_grps(pdev, &cpt->eng_grps);
H A Dotx_cptpf_mbox.c154 eng_grp = &cpt->eng_grps.grp[grp];
/linux-master/drivers/crypto/marvell/octeontx2/
H A Dotx2_cptpf_ucode.c819 struct otx2_cpt_eng_grps *eng_grps = grp->g; local
823 if (!eng_grps->grp[i].is_enabled)
825 if (eng_grps->grp[i].ucode[0].type &&
826 eng_grps->grp[i].ucode[1].type)
830 if (!strncasecmp(eng_grps->grp[i].ucode[0].ver_str,
833 return &eng_grps->grp[i];
840 struct otx2_cpt_eng_grps *eng_grps)
845 if (!eng_grps->grp[i].is_enabled)
846 return &eng_grps->grp[i];
979 struct otx2_cpt_eng_grps *eng_grps,
839 find_unused_eng_grp( struct otx2_cpt_eng_grps *eng_grps) argument
978 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) argument
1068 delete_engine_grps(struct pci_dev *pdev, struct otx2_cpt_eng_grps *eng_grps) argument
1116 otx2_cpt_get_eng_grp(struct otx2_cpt_eng_grps *eng_grps, int eng_type) argument
1144 otx2_cpt_create_eng_grps(struct otx2_cptpf_dev *cptpf, struct otx2_cpt_eng_grps *eng_grps) argument
1350 otx2_cpt_cleanup_eng_grps(struct pci_dev *pdev, struct otx2_cpt_eng_grps *eng_grps) argument
1369 otx2_cpt_init_eng_grps(struct pci_dev *pdev, struct otx2_cpt_eng_grps *eng_grps) argument
1414 create_eng_caps_discovery_grps(struct pci_dev *pdev, struct otx2_cpt_eng_grps *eng_grps) argument
1583 struct otx2_cpt_eng_grps *eng_grps = &cptpf->eng_grps; local
1743 struct otx2_cpt_eng_grps *eng_grps = &cptpf->eng_grps; local
1821 struct otx2_cpt_eng_grps *eng_grps = &cptpf->eng_grps; local
[all...]
H A Dotx2_cptpf_ucode.h157 struct otx2_cpt_eng_grps *eng_grps);
159 struct otx2_cpt_eng_grps *eng_grps);
161 struct otx2_cpt_eng_grps *eng_grps);
163 int otx2_cpt_get_eng_grp(struct otx2_cpt_eng_grps *eng_grps, int eng_type);
H A Dotx2_cpt_devlink.c58 if (cptpf->enabled_vfs != 0 || cptpf->eng_grps.is_grps_created)
123 err = otx2_cpt_dl_info_firmware_version_put(req, cptpf->eng_grps.grp,
128 err = otx2_cpt_dl_info_firmware_version_put(req, cptpf->eng_grps.grp,
133 return otx2_cpt_dl_info_firmware_version_put(req, cptpf->eng_grps.grp,
H A Dotx2_cptpf.h32 struct otx2_cpt_eng_grps eng_grps;/* Engine groups information */ member in struct:otx2_cptpf_dev
H A Dotx2_cptpf_main.c594 struct otx2_cpt_eng_grps *eng_grps = &cptpf->eng_grps; local
598 eng_grps->rid = pdev->revision;
605 eng_grps->rid = CPT_UC_RID_CN10K_A;
607 eng_grps->rid = CPT_UC_RID_CN10K_B;
635 cptpf->eng_grps.avail.max_se_cnt = af_cnsts1.s.se;
636 cptpf->eng_grps.avail.max_ie_cnt = af_cnsts1.s.ie;
637 cptpf->eng_grps.avail.max_ae_cnt = af_cnsts1.s.ae;
687 ret = otx2_cpt_create_eng_grps(cptpf, &cptpf->eng_grps);
795 err = otx2_cpt_init_eng_grps(pdev, &cptpf->eng_grps);
[all...]
H A Dotx2_cptpf_mbox.c81 rsp->cpt_revision = cptpf->eng_grps.rid;
104 rsp->eng_grp_num = otx2_cpt_get_eng_grp(&cptpf->eng_grps,
260 egrp = otx2_cpt_get_eng_grp(&cptpf->eng_grps, OTX2_CPT_IE_TYPES);

Completed in 525 milliseconds