Home
last modified time | relevance | path

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

/linux/drivers/crypto/marvell/octeontx2/
H A Dotx2_cptpf_ucode.c59 static int is_eng_type(int val, int eng_type) in is_eng_type() argument
61 return val & (1 << eng_type); in is_eng_type()
78 static char *get_eng_type_str(int eng_type) in get_eng_type_str() argument
82 switch (eng_type) { in get_eng_type_str()
458 char eng_type[8] = {0}; in cpt_ucode_load_fw() local
464 strcpy(eng_type, get_eng_type_str(e)); in cpt_ucode_load_fw()
465 for (i = 0; i < strlen(eng_type); i++) in cpt_ucode_load_fw()
466 eng_type[i] = tolower(eng_type[i]); in cpt_ucode_load_fw()
469 rid, eng_type); in cpt_ucode_load_fw()
485 int eng_type) in find_engines_by_type() argument
[all …]
H A Dotx2_cptpf_ucode.h163 int otx2_cpt_get_eng_grp(struct otx2_cpt_eng_grps *eng_grps, int eng_type);
172 int eng_type);
H A Dotx2_cptvf_mbox.c176 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
192 req->eng_type = eng_type; in otx2_cptvf_send_eng_grp_num_msg()
H A Dotx2_cpt_common.h73 u8 eng_type; member
78 u8 eng_type; member
H A Dotx2_cpt_devlink.c100 const char *ver_name, int eng_type) in otx2_cpt_dl_info_firmware_version_put() argument
106 eng = find_engines_by_type(&grp[i], eng_type); in otx2_cpt_dl_info_firmware_version_put()
H A Dotx2_cptvf.h30 int otx2_cptvf_send_eng_grp_num_msg(struct otx2_cptvf_dev *cptvf, int eng_type);
H A Dotx2_cptpf_mbox.c103 rsp->eng_type = grp_req->eng_type; in handle_msg_get_eng_grp_num()
105 grp_req->eng_type); in handle_msg_get_eng_grp_num()
/linux/drivers/crypto/marvell/octeontx/
H A Dotx_cptpf_ucode.h176 int otx_cpt_uc_supports_eng_type(struct otx_cpt_ucode *ucode, int eng_type);
178 int eng_type);
H A 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()
488 int eng_type) in find_engines_by_type() argument
496 if (eng_grp->engs[i].type == eng_type) in find_engines_by_type()
502 int otx_cpt_uc_supports_eng_type(struct otx_cpt_ucode *ucode, int eng_type) in otx_cpt_uc_supports_eng_type() argument
504 return is_eng_type(ucode->type, eng_type); in otx_cpt_uc_supports_eng_type()
[all …]
/linux/drivers/mtd/nand/raw/
H A Dnand_base.c5450 enum nand_ecc_legacy_mode eng_type; in of_get_rawnand_ecc_engine_type_legacy() local
5458 for (eng_type = NAND_ECC_NONE; in of_get_rawnand_ecc_engine_type_legacy()
5459 eng_type < ARRAY_SIZE(nand_ecc_legacy_modes); eng_type++) { in of_get_rawnand_ecc_engine_type_legacy()
5460 if (!strcasecmp(pm, nand_ecc_legacy_modes[eng_type])) { in of_get_rawnand_ecc_engine_type_legacy()
5461 switch (eng_type) { in of_get_rawnand_ecc_engine_type_legacy()
/linux/drivers/net/ethernet/marvell/octeontx2/af/
H A Drvu_debugfs.c3618 static int cpt_eng_sts_display(struct seq_file *filp, u8 eng_type) in cpt_eng_sts_display() argument
3633 switch (eng_type) { in cpt_eng_sts_display()