Home
last modified time | relevance | path

Searched refs:ucode_hdr (Results 1 – 3 of 3) sorted by relevance

/linux-6.15/drivers/crypto/marvell/octeontx/
H A Dotx_cptpf_ucode.c146 nn = ucode_hdr->ver_num.nn; in get_ucode_type()
288 struct otx_cpt_ucode_hdr *ucode_hdr; in process_tar_file() local
300 ucode_hdr = (struct otx_cpt_ucode_hdr *) data; in process_tar_file()
305 if (get_ucode_type(ucode_hdr, &ucode_type)) in process_tar_file()
308 code_length = ntohl(ucode_hdr->code_length); in process_tar_file()
327 memcpy(tar_info->ucode.ver_str, ucode_hdr->ver_str, in process_tar_file()
329 tar_info->ucode.ver_num = ucode_hdr->ver_num; in process_tar_file()
883 struct otx_cpt_ucode_hdr *ucode_hdr; in ucode_load() local
895 ucode->ver_num = ucode_hdr->ver_num; in ucode_load()
896 code_length = ntohl(ucode_hdr->code_length); in ucode_load()
[all …]
/linux-6.15/drivers/crypto/marvell/octeontx2/
H A Dotx2_cptpf_ucode.c124 struct otx2_cpt_ucode_hdr *ucode_hdr, in get_ucode_type() argument
132 strscpy(tmp_ver_str, ucode_hdr->ver_str, OTX2_CPT_UCODE_VER_STR_SZ); in get_ucode_type()
140 nn = ucode_hdr->ver_num.nn; in get_ucode_type()
367 struct otx2_cpt_ucode_hdr *ucode_hdr; in load_fw() local
380 ucode_hdr = (struct otx2_cpt_ucode_hdr *)uc_info->fw->data; in load_fw()
381 ret = get_ucode_type(dev, ucode_hdr, &ucode_type, rid); in load_fw()
385 ucode_size = ntohl(ucode_hdr->code_length) * 2; in load_fw()
393 memcpy(uc_info->ucode.ver_str, ucode_hdr->ver_str, in load_fw()
396 uc_info->ucode.ver_num = ucode_hdr->ver_num; in load_fw()
/linux-6.15/drivers/net/wireless/broadcom/brcm80211/brcmsmac/
H A Dmac80211_if.c1679 struct firmware_hdr *ucode_hdr; in brcms_check_firmwares() local
1700 ucode_hdr = (struct firmware_hdr *)fw_hdr->data; in brcms_check_firmwares()
1702 !rc; entry++, ucode_hdr++) { in brcms_check_firmwares()
1703 if (le32_to_cpu(ucode_hdr->offset) + in brcms_check_firmwares()
1704 le32_to_cpu(ucode_hdr->len) > in brcms_check_firmwares()