Lines Matching refs:fsec
2624 struct flash_section_info *fsec, int type) in is_comp_in_ufi() argument
2630 fsec_g2 = (struct flash_section_info_g2 *)fsec; in is_comp_in_ufi()
2636 img_type = le32_to_cpu(fsec->fsec_entry[i].type); in is_comp_in_ufi()
2648 struct flash_section_info *fsec = NULL; in get_fsec_info() local
2653 fsec = (struct flash_section_info *)p; in get_fsec_info()
2654 if (!memcmp(flash_cookie, fsec->cookie, sizeof(flash_cookie))) in get_fsec_info()
2655 return fsec; in get_fsec_info()
2753 struct flash_section_info *fsec = NULL; in be_flash_BEx() local
2813 fsec = get_fsec_info(adapter, filehdr_size + img_hdrs_size, fw); in be_flash_BEx()
2814 if (!fsec) { in be_flash_BEx()
2819 if (!is_comp_in_ufi(adapter, fsec, pflashcomp[i].img_type)) in be_flash_BEx()
2925 struct flash_section_info *fsec = NULL; in be_flash_skyhawk() local
2932 fsec = get_fsec_info(adapter, filehdr_size + img_hdrs_size, fw); in be_flash_skyhawk()
2933 if (!fsec) { in be_flash_skyhawk()
2939 for (i = 0; i < le32_to_cpu(fsec->fsec_hdr.num_images); i++) { in be_flash_skyhawk()
2940 img_offset = le32_to_cpu(fsec->fsec_entry[i].offset); in be_flash_skyhawk()
2941 img_size = le32_to_cpu(fsec->fsec_entry[i].pad_size); in be_flash_skyhawk()
2942 img_type = le32_to_cpu(fsec->fsec_entry[i].type); in be_flash_skyhawk()
2943 img_optype = be_get_img_optype(fsec->fsec_entry[i]); in be_flash_skyhawk()
2944 old_fw_img = fsec->fsec_entry[i].optype == 0xFFFF; in be_flash_skyhawk()