Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/crypto/marvell/octeontx2/
Dotx2_cptpf_ucode.c55 static int is_eng_type(int val, int eng_type) in is_eng_type() argument
57 return val & (1 << eng_type); in is_eng_type()
74 static char *get_eng_type_str(int eng_type) in get_eng_type_str() argument
78 switch (eng_type) { in get_eng_type_str()
454 char eng_type[8] = {0}; in cpt_ucode_load_fw() local
460 strcpy(eng_type, get_eng_type_str(e)); in cpt_ucode_load_fw()
461 for (i = 0; i < strlen(eng_type); i++) in cpt_ucode_load_fw()
462 eng_type[i] = tolower(eng_type[i]); in cpt_ucode_load_fw()
465 pdev->revision, eng_type); in cpt_ucode_load_fw()
481 int eng_type) in find_engines_by_type() argument
[all …]
Dotx2_cptpf_ucode.h162 int otx2_cpt_get_eng_grp(struct otx2_cpt_eng_grps *eng_grps, int eng_type);
171 int eng_type);
Dotx2_cptvf_mbox.c168 int otx2_cptvf_send_eng_grp_num_msg(struct otx2_cptvf_dev *cptvf, int eng_type) in otx2_cptvf_send_eng_grp_num_msg() argument
184 req->eng_type = eng_type; in otx2_cptvf_send_eng_grp_num_msg()
Dotx2_cpt_common.h54 u8 eng_type; member
59 u8 eng_type; member
Dotx2_cpt_devlink.c56 const char *ver_name, int eng_type) in otx2_cpt_dl_info_firmware_version_put() argument
62 eng = find_engines_by_type(&grp[i], eng_type); in otx2_cpt_dl_info_firmware_version_put()
Dotx2_cptvf.h28 int otx2_cptvf_send_eng_grp_num_msg(struct otx2_cptvf_dev *cptvf, int eng_type);
Dotx2_cptpf_mbox.c89 rsp->eng_type = grp_req->eng_type; in handle_msg_get_eng_grp_num()
91 grp_req->eng_type); in handle_msg_get_eng_grp_num()
/linux-6.1.9/drivers/crypto/marvell/octeontx/
Dotx_cptpf_ucode.h176 int otx_cpt_uc_supports_eng_type(struct otx_cpt_ucode *ucode, int eng_type);
178 int eng_type);
Dotx_cptpf_ucode.c86 static int is_eng_type(int val, int eng_type) in is_eng_type() argument
88 return val & (1 << eng_type); in is_eng_type()
92 int eng_type) in dev_supports_eng_type() argument
94 return is_eng_type(eng_grps->eng_types_supported, eng_type); in dev_supports_eng_type()
103 static char *get_eng_type_str(int eng_type) in get_eng_type_str() argument
107 switch (eng_type) { in get_eng_type_str()
489 int eng_type) in find_engines_by_type() argument
497 if (eng_grp->engs[i].type == eng_type) in find_engines_by_type()
503 int otx_cpt_uc_supports_eng_type(struct otx_cpt_ucode *ucode, int eng_type) in otx_cpt_uc_supports_eng_type() argument
505 return is_eng_type(ucode->type, eng_type); in otx_cpt_uc_supports_eng_type()
[all …]
/linux-6.1.9/drivers/mtd/nand/raw/
Dnand_base.c5204 enum nand_ecc_legacy_mode eng_type; in of_get_rawnand_ecc_engine_type_legacy() local
5212 for (eng_type = NAND_ECC_NONE; in of_get_rawnand_ecc_engine_type_legacy()
5213 eng_type < ARRAY_SIZE(nand_ecc_legacy_modes); eng_type++) { in of_get_rawnand_ecc_engine_type_legacy()
5214 if (!strcasecmp(pm, nand_ecc_legacy_modes[eng_type])) { in of_get_rawnand_ecc_engine_type_legacy()
5215 switch (eng_type) { in of_get_rawnand_ecc_engine_type_legacy()
/linux-6.1.9/drivers/net/ethernet/marvell/octeontx2/af/
Drvu_debugfs.c3142 static int cpt_eng_sts_display(struct seq_file *filp, u8 eng_type) in cpt_eng_sts_display() argument
3157 switch (eng_type) { in cpt_eng_sts_display()