Searched refs:uc_info (Results 1 – 1 of 1) sorted by relevance
367 struct otx2_cpt_uc_info_t *uc_info; in load_fw() local371 uc_info = kzalloc(sizeof(*uc_info), GFP_KERNEL); in load_fw()372 if (!uc_info) in load_fw()375 ret = request_firmware(&uc_info->fw, filename, dev); in load_fw()379 ucode_hdr = (struct otx2_cpt_ucode_hdr *)uc_info->fw->data; in load_fw()391 set_ucode_filename(&uc_info->ucode, filename); in load_fw()392 memcpy(uc_info->ucode.ver_str, ucode_hdr->ver_str, in load_fw()394 uc_info->ucode.ver_str[OTX2_CPT_UCODE_VER_STR_SZ] = 0; in load_fw()395 uc_info->ucode.ver_num = ucode_hdr->ver_num; in load_fw()396 uc_info->ucode.type = ucode_type; in load_fw()[all …]