Lines Matching refs:uc_info

365 	struct otx2_cpt_uc_info_t *uc_info;  in load_fw()  local
369 uc_info = kzalloc(sizeof(*uc_info), GFP_KERNEL); in load_fw()
370 if (!uc_info) in load_fw()
373 ret = request_firmware(&uc_info->fw, filename, dev); in load_fw()
377 ucode_hdr = (struct otx2_cpt_ucode_hdr *)uc_info->fw->data; in load_fw()
389 set_ucode_filename(&uc_info->ucode, filename); in load_fw()
390 memcpy(uc_info->ucode.ver_str, ucode_hdr->ver_str, in load_fw()
392 uc_info->ucode.ver_num = ucode_hdr->ver_num; in load_fw()
393 uc_info->ucode.type = ucode_type; in load_fw()
394 uc_info->ucode.size = ucode_size; in load_fw()
395 list_add_tail(&uc_info->list, &fw_info->ucodes); in load_fw()
400 release_firmware(uc_info->fw); in load_fw()
402 kfree(uc_info); in load_fw()
981 struct otx2_cpt_uc_info_t *uc_info; in create_engine_group() local
992 uc_info = (struct otx2_cpt_uc_info_t *) ucode_data[i]; in create_engine_group()
993 eng_grp->ucode[i] = uc_info->ucode; in create_engine_group()
995 uc_info->fw->data); in create_engine_group()
1143 struct otx2_cpt_uc_info_t *uc_info[OTX2_CPT_MAX_ETYPES_PER_GRP] = { }; in otx2_cpt_create_eng_grps() local
1166 uc_info[0] = get_ucode(&fw_info, OTX2_CPT_SE_TYPES); in otx2_cpt_create_eng_grps()
1167 if (uc_info[0] == NULL) { in otx2_cpt_create_eng_grps()
1176 (void **) uc_info, 1); in otx2_cpt_create_eng_grps()
1184 uc_info[0] = get_ucode(&fw_info, OTX2_CPT_SE_TYPES); in otx2_cpt_create_eng_grps()
1185 uc_info[1] = get_ucode(&fw_info, OTX2_CPT_IE_TYPES); in otx2_cpt_create_eng_grps()
1187 if (uc_info[1] == NULL) { in otx2_cpt_create_eng_grps()
1198 (void **) uc_info, 1); in otx2_cpt_create_eng_grps()
1206 uc_info[0] = get_ucode(&fw_info, OTX2_CPT_AE_TYPES); in otx2_cpt_create_eng_grps()
1207 if (uc_info[0] == NULL) { in otx2_cpt_create_eng_grps()
1216 (void **) uc_info, 1); in otx2_cpt_create_eng_grps()
1409 struct otx2_cpt_uc_info_t *uc_info[OTX2_CPT_MAX_ETYPES_PER_GRP] = { }; in create_eng_caps_discovery_grps() local
1421 uc_info[0] = get_ucode(&fw_info, OTX2_CPT_AE_TYPES); in create_eng_caps_discovery_grps()
1422 if (uc_info[0] == NULL) { in create_eng_caps_discovery_grps()
1431 (void **) uc_info, 0); in create_eng_caps_discovery_grps()
1435 uc_info[0] = get_ucode(&fw_info, OTX2_CPT_SE_TYPES); in create_eng_caps_discovery_grps()
1436 if (uc_info[0] == NULL) { in create_eng_caps_discovery_grps()
1445 (void **) uc_info, 0); in create_eng_caps_discovery_grps()
1449 uc_info[0] = get_ucode(&fw_info, OTX2_CPT_IE_TYPES); in create_eng_caps_discovery_grps()
1450 if (uc_info[0] == NULL) { in create_eng_caps_discovery_grps()
1459 (void **) uc_info, 0); in create_eng_caps_discovery_grps()
1574 struct otx2_cpt_uc_info_t *uc_info[OTX2_CPT_MAX_ETYPES_PER_GRP] = {}; in otx2_cpt_dl_custom_egrp_create() local
1702 uc_info[0] = get_ucode(&fw_info, engs[0].type); in otx2_cpt_dl_custom_egrp_create()
1703 if (uc_info[0] == NULL) { in otx2_cpt_dl_custom_egrp_create()
1710 uc_info[1] = get_ucode(&fw_info, engs[1].type); in otx2_cpt_dl_custom_egrp_create()
1711 if (uc_info[1] == NULL) { in otx2_cpt_dl_custom_egrp_create()
1719 (void **)uc_info, 1); in otx2_cpt_dl_custom_egrp_create()