Home
last modified time | relevance | path

Searched refs:code_length (Results 1 – 6 of 6) sorted by relevance

/linux-6.6.21/drivers/crypto/cavium/cpt/ !
Dcptpf_main.c246 __be32 code_length; member
256 unsigned int code_length; in cpt_ucode_load_fw() local
267 code_length = ntohl(ucode->code_length); in cpt_ucode_load_fw()
268 if (code_length == 0 || code_length >= INT_MAX / 2) { in cpt_ucode_load_fw()
272 mcode->code_size = code_length * 2; in cpt_ucode_load_fw()
/linux-6.6.21/drivers/crypto/marvell/octeontx/ !
Dotx_cptpf_ucode.c289 unsigned int code_length; in process_tar_file() local
307 code_length = ntohl(ucode_hdr->code_length); in process_tar_file()
308 if (code_length >= INT_MAX / 2) { in process_tar_file()
309 dev_err(dev, "Invalid code_length %u\n", code_length); in process_tar_file()
313 ucode_size = code_length * 2; in process_tar_file()
895 unsigned int code_length; in ucode_load() local
906 code_length = ntohl(ucode_hdr->code_length); in ucode_load()
907 if (code_length >= INT_MAX / 2) { in ucode_load()
908 dev_err(dev, "Ucode invalid code_length %u\n", code_length); in ucode_load()
912 ucode->size = code_length * 2; in ucode_load()
Dotx_cptpf_ucode.h77 __be32 code_length; member
/linux-6.6.21/drivers/crypto/marvell/octeontx2/ !
Dotx2_cptpf_ucode.h71 __be32 code_length; member
Dotx2_cptpf_ucode.c382 ucode_size = ntohl(ucode_hdr->code_length) * 2; in load_fw()
/linux-6.6.21/drivers/remoteproc/ !
Dqcom_q6v5_mss.c1339 u32 code_length; in q6v5_mpss_load() local
1490 code_length = readl(qproc->rmb_base + RMB_PMI_CODE_LENGTH_REG); in q6v5_mpss_load()
1491 if (!code_length) { in q6v5_mpss_load()