Searched refs:ucode_hdr (Results 1 – 2 of 2) sorted by relevance
135 static int get_ucode_type(struct otx_cpt_ucode_hdr *ucode_hdr, int *ucode_type) in get_ucode_type() argument141 strlcpy(tmp_ver_str, ucode_hdr->ver_str, OTX_CPT_UCODE_VER_STR_SZ); in get_ucode_type()145 nn = ucode_hdr->ver_num.nn; in get_ucode_type()287 struct otx_cpt_ucode_hdr *ucode_hdr; in process_tar_file() local299 ucode_hdr = (struct otx_cpt_ucode_hdr *) data; in process_tar_file()304 if (get_ucode_type(ucode_hdr, &ucode_type)) in process_tar_file()307 code_length = ntohl(ucode_hdr->code_length); in process_tar_file()326 memcpy(tar_info->ucode.ver_str, ucode_hdr->ver_str, in process_tar_file()328 tar_info->ucode.ver_num = ucode_hdr->ver_num; in process_tar_file()894 struct otx_cpt_ucode_hdr *ucode_hdr; in ucode_load() local[all …]
1679 struct firmware_hdr *ucode_hdr; in brcms_check_firmwares() local1700 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()