Lines Matching refs:fw_info

361 static int load_fw(struct device *dev, struct fw_info_t *fw_info,  in load_fw()  argument
395 list_add_tail(&uc_info->list, &fw_info->ucodes); in load_fw()
406 static void cpt_ucode_release_fw(struct fw_info_t *fw_info) in cpt_ucode_release_fw() argument
410 if (!fw_info) in cpt_ucode_release_fw()
413 list_for_each_entry_safe(curr, temp, &fw_info->ucodes, list) { in cpt_ucode_release_fw()
420 static struct otx2_cpt_uc_info_t *get_ucode(struct fw_info_t *fw_info, in get_ucode() argument
425 list_for_each_entry(curr, &fw_info->ucodes, list) { in get_ucode()
434 static void print_uc_info(struct fw_info_t *fw_info) in print_uc_info() argument
438 list_for_each_entry(curr, &fw_info->ucodes, list) { in print_uc_info()
451 static int cpt_ucode_load_fw(struct pci_dev *pdev, struct fw_info_t *fw_info) in cpt_ucode_load_fw() argument
457 INIT_LIST_HEAD(&fw_info->ucodes); in cpt_ucode_load_fw()
467 ret = load_fw(&pdev->dev, fw_info, filename); in cpt_ucode_load_fw()
471 print_uc_info(fw_info); in cpt_ucode_load_fw()
475 cpt_ucode_release_fw(fw_info); in cpt_ucode_load_fw()
1146 struct fw_info_t fw_info; in otx2_cpt_create_eng_grps() local
1158 ret = cpt_ucode_load_fw(pdev, &fw_info); in otx2_cpt_create_eng_grps()
1166 uc_info[0] = get_ucode(&fw_info, OTX2_CPT_SE_TYPES); 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()
1206 uc_info[0] = get_ucode(&fw_info, OTX2_CPT_AE_TYPES); in otx2_cpt_create_eng_grps()
1222 cpt_ucode_release_fw(&fw_info); in otx2_cpt_create_eng_grps()
1266 cpt_ucode_release_fw(&fw_info); in otx2_cpt_create_eng_grps()
1411 struct fw_info_t fw_info; in create_eng_caps_discovery_grps() local
1415 ret = cpt_ucode_load_fw(pdev, &fw_info); in create_eng_caps_discovery_grps()
1421 uc_info[0] = get_ucode(&fw_info, OTX2_CPT_AE_TYPES); in create_eng_caps_discovery_grps()
1435 uc_info[0] = get_ucode(&fw_info, OTX2_CPT_SE_TYPES); in create_eng_caps_discovery_grps()
1449 uc_info[0] = get_ucode(&fw_info, OTX2_CPT_IE_TYPES); in create_eng_caps_discovery_grps()
1463 cpt_ucode_release_fw(&fw_info); in create_eng_caps_discovery_grps()
1470 cpt_ucode_release_fw(&fw_info); in create_eng_caps_discovery_grps()
1584 struct fw_info_t fw_info; in otx2_cpt_dl_custom_egrp_create() local
1690 INIT_LIST_HEAD(&fw_info.ucodes); in otx2_cpt_dl_custom_egrp_create()
1691 ret = load_fw(dev, &fw_info, ucode_filename[0]); in otx2_cpt_dl_custom_egrp_create()
1697 ret = load_fw(dev, &fw_info, ucode_filename[1]); in otx2_cpt_dl_custom_egrp_create()
1704 uc_info[0] = get_ucode(&fw_info, engs[0].type); in otx2_cpt_dl_custom_egrp_create()
1712 uc_info[1] = get_ucode(&fw_info, engs[1].type); in otx2_cpt_dl_custom_egrp_create()
1724 cpt_ucode_release_fw(&fw_info); in otx2_cpt_dl_custom_egrp_create()