Home
last modified time | relevance | path

Searched refs:OTX2_CPT_UCODE_VER_STR_SZ (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/drivers/crypto/marvell/octeontx2/
Dotx2_cptpf_ucode.h24 #define OTX2_CPT_UCODE_VER_STR_SZ 44 macro
70 u8 ver_str[OTX2_CPT_UCODE_VER_STR_SZ];
76 u8 ver_str[OTX2_CPT_UCODE_VER_STR_SZ + 1];/*
Dotx2_cptpf_ucode.c126 char ver_str_prefix[OTX2_CPT_UCODE_VER_STR_SZ]; in get_ucode_type()
127 char tmp_ver_str[OTX2_CPT_UCODE_VER_STR_SZ]; in get_ucode_type()
131 strscpy(tmp_ver_str, ucode_hdr->ver_str, OTX2_CPT_UCODE_VER_STR_SZ); in get_ucode_type()
136 if (!strnstr(tmp_ver_str, ver_str_prefix, OTX2_CPT_UCODE_VER_STR_SZ)) in get_ucode_type()
140 if (strnstr(tmp_ver_str, "se-", OTX2_CPT_UCODE_VER_STR_SZ) && in get_ucode_type()
144 if (strnstr(tmp_ver_str, "ie-", OTX2_CPT_UCODE_VER_STR_SZ) && in get_ucode_type()
148 if (strnstr(tmp_ver_str, "ae", OTX2_CPT_UCODE_VER_STR_SZ) && in get_ucode_type()
393 OTX2_CPT_UCODE_VER_STR_SZ); in load_fw()
394 uc_info->ucode.ver_str[OTX2_CPT_UCODE_VER_STR_SZ] = 0; in load_fw()
683 memset(&ucode->ver_str, 0, OTX2_CPT_UCODE_VER_STR_SZ); in ucode_unload()
[all …]