Searched refs:ucode_hdr (Results 1 – 2 of 2) sorted by relevance
125 struct otx2_cpt_ucode_hdr *ucode_hdr, in get_ucode_type() argument133 strscpy(tmp_ver_str, ucode_hdr->ver_str, OTX2_CPT_UCODE_VER_STR_SZ); in get_ucode_type()141 nn = ucode_hdr->ver_num.nn; in get_ucode_type()370 struct otx2_cpt_ucode_hdr *ucode_hdr; in load_fw() local383 ucode_hdr = (struct otx2_cpt_ucode_hdr *)uc_info->fw->data; in load_fw()384 ret = get_ucode_type(dev, ucode_hdr, &ucode_type, rid); in load_fw()388 ucode_size = ntohl(ucode_hdr->code_length) * 2; in load_fw()396 memcpy(uc_info->ucode.ver_str, ucode_hdr->ver_str, in load_fw()399 uc_info->ucode.ver_num = ucode_hdr->ver_num; in load_fw()
1681 struct firmware_hdr *ucode_hdr; in brcms_check_firmwares() local1702 ucode_hdr = (struct firmware_hdr *)fw_hdr->data; in brcms_check_firmwares()1704 !rc; entry++, ucode_hdr++) { in brcms_check_firmwares()1705 if (le32_to_cpu(ucode_hdr->offset) + in brcms_check_firmwares()1706 le32_to_cpu(ucode_hdr->len) > in brcms_check_firmwares()