Home
last modified time | relevance | path

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

/kernel/linux/linux-6.6/drivers/crypto/marvell/octeontx2/
H A 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()
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()
835 find_unused_eng_grp( struct otx2_cpt_eng_grps *eng_grps) find_unused_eng_grp() argument
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
1064 delete_engine_grps(struct pci_dev *pdev, struct otx2_cpt_eng_grps *eng_grps) delete_engine_grps() argument
1112 otx2_cpt_get_eng_grp(struct otx2_cpt_eng_grps *eng_grps, int eng_type) otx2_cpt_get_eng_grp() argument
1140 otx2_cpt_create_eng_grps(struct otx2_cptpf_dev *cptpf, struct otx2_cpt_eng_grps *eng_grps) otx2_cpt_create_eng_grps() argument
1342 otx2_cpt_cleanup_eng_grps(struct pci_dev *pdev, struct otx2_cpt_eng_grps *eng_grps) otx2_cpt_cleanup_eng_grps() argument
1361 otx2_cpt_init_eng_grps(struct pci_dev *pdev, struct otx2_cpt_eng_grps *eng_grps) otx2_cpt_init_eng_grps() argument
1406 create_eng_caps_discovery_grps(struct pci_dev *pdev, struct otx2_cpt_eng_grps *eng_grps) create_eng_caps_discovery_grps() argument
1575 struct otx2_cpt_eng_grps *eng_grps = &cptpf->eng_grps; otx2_cpt_dl_custom_egrp_create() local
1734 struct otx2_cpt_eng_grps *eng_grps = &cptpf->eng_grps; otx2_cpt_dl_custom_egrp_delete() local
1812 struct otx2_cpt_eng_grps *eng_grps = &cptpf->eng_grps; otx2_cpt_print_uc_dbg_info() local
[all...]
H A 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);
H A Dotx2_cpt_devlink.c79 err = otx2_cpt_dl_info_firmware_version_put(req, cptpf->eng_grps.grp, in otx2_cpt_devlink_info_get()
84 err = otx2_cpt_dl_info_firmware_version_put(req, cptpf->eng_grps.grp, in otx2_cpt_devlink_info_get()
89 return otx2_cpt_dl_info_firmware_version_put(req, cptpf->eng_grps.grp, in otx2_cpt_devlink_info_get()
H A Dotx2_cptpf_main.c658 cptpf->eng_grps.avail.max_se_cnt = af_cnsts1.s.se; in cptpf_device_init()
659 cptpf->eng_grps.avail.max_ie_cnt = af_cnsts1.s.ie; in cptpf_device_init()
660 cptpf->eng_grps.avail.max_ae_cnt = af_cnsts1.s.ae; in cptpf_device_init()
709 ret = otx2_cpt_create_eng_grps(cptpf, &cptpf->eng_grps); in cptpf_sriov_enable()
811 err = otx2_cpt_init_eng_grps(pdev, &cptpf->eng_grps); in otx2_cptpf_probe()
828 otx2_cpt_cleanup_eng_grps(pdev, &cptpf->eng_grps); in otx2_cptpf_probe()
850 otx2_cpt_cleanup_eng_grps(pdev, &cptpf->eng_grps); in otx2_cptpf_remove()
H A Dotx2_cptpf.h32 struct otx2_cpt_eng_grps eng_grps;/* Engine groups information */ member
H A Dotx2_cptpf_mbox.c104 rsp->eng_grp_num = otx2_cpt_get_eng_grp(&cptpf->eng_grps, in handle_msg_get_eng_grp_num()
217 egrp = otx2_cpt_get_eng_grp(&cptpf->eng_grps, OTX2_CPT_IE_TYPES); in handle_msg_rx_inline_ipsec_lf_cfg()
/kernel/linux/linux-5.10/drivers/crypto/marvell/octeontx/
H A 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()
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 in print_dbg_info()
599 print_dbg_info(struct device *dev, struct otx_cpt_eng_grps *eng_grps) print_dbg_info() argument
1038 struct otx_cpt_eng_grps *eng_grps = grp->g; find_mirrored_eng_grp() local
1057 find_unused_eng_grp( struct otx_cpt_eng_grps *eng_grps) find_unused_eng_grp() 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
1334 struct otx_cpt_eng_grps *eng_grps; ucode_load_store() local
1470 otx_cpt_try_create_default_eng_grps(struct pci_dev *pdev, struct otx_cpt_eng_grps *eng_grps, int pf_type) otx_cpt_try_create_default_eng_grps() argument
1554 otx_cpt_set_eng_grps_is_rdonly(struct otx_cpt_eng_grps *eng_grps, bool is_rdonly) otx_cpt_set_eng_grps_is_rdonly() argument
1589 otx_cpt_cleanup_eng_grps(struct pci_dev *pdev, struct otx_cpt_eng_grps *eng_grps) otx_cpt_cleanup_eng_grps() argument
1623 otx_cpt_init_eng_grps(struct pci_dev *pdev, struct otx_cpt_eng_grps *eng_grps, int pf_type) otx_cpt_init_eng_grps() argument
[all...]
H A 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()
246 err = otx_cpt_init_eng_grps(pdev, &cpt->eng_grps, cpt->pf_type); in otx_cpt_probe()
276 otx_cpt_cleanup_eng_grps(pdev, &cpt->eng_grps); in otx_cpt_remove()
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.h24 struct otx_cpt_eng_grps eng_grps;/* Engine groups information */ member
H A Dotx_cptpf_mbox.c154 eng_grp = &cpt->eng_grps.grp[grp]; in otx_cpt_bind_vq_to_grp()
/kernel/linux/linux-6.6/drivers/crypto/marvell/octeontx/
H A 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()
599 struct otx_cpt_eng_grps *eng_grps) in print_dbg_info()
611 eng_grps->avail.max_se_cnt, eng_grps->avail.max_ae_cnt); in print_dbg_info()
612 pr_debug("free SE %d\n", eng_grps->avail.se_cnt); in print_dbg_info()
613 pr_debug("free AE %d\n", eng_grps->avail.ae_cnt); in print_dbg_info()
616 grp = &eng_grps->grp[i]; in print_dbg_info()
620 mirrored_grp = &eng_grps->grp[grp->mirror.idx]; in print_dbg_info()
637 eng_grps in print_dbg_info()
598 print_dbg_info(struct device *dev, struct otx_cpt_eng_grps *eng_grps) print_dbg_info() argument
1037 struct otx_cpt_eng_grps *eng_grps = grp->g; find_mirrored_eng_grp() local
1056 find_unused_eng_grp( struct otx_cpt_eng_grps *eng_grps) find_unused_eng_grp() 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
1333 struct otx_cpt_eng_grps *eng_grps; ucode_load_store() local
1469 otx_cpt_try_create_default_eng_grps(struct pci_dev *pdev, struct otx_cpt_eng_grps *eng_grps, int pf_type) otx_cpt_try_create_default_eng_grps() argument
1553 otx_cpt_set_eng_grps_is_rdonly(struct otx_cpt_eng_grps *eng_grps, bool is_rdonly) otx_cpt_set_eng_grps_is_rdonly() argument
1588 otx_cpt_cleanup_eng_grps(struct pci_dev *pdev, struct otx_cpt_eng_grps *eng_grps) otx_cpt_cleanup_eng_grps() argument
1622 otx_cpt_init_eng_grps(struct pci_dev *pdev, struct otx_cpt_eng_grps *eng_grps, int pf_type) otx_cpt_init_eng_grps() argument
[all...]
H A 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()
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.h24 struct otx_cpt_eng_grps eng_grps;/* Engine groups information */ member
H A Dotx_cptpf_mbox.c154 eng_grp = &cpt->eng_grps.grp[grp]; in otx_cpt_bind_vq_to_grp()

Completed in 15 milliseconds