Lines Matching refs:fsec
292 static void oce_fill_flash_img_data(POCE_SOFTC sc, const struct flash_sec_info * fsec, in oce_fill_flash_img_data() argument
297 pimg->img_offset = HOST_32(fsec->fsec_entry[i].offset); in oce_fill_flash_img_data()
298 pimg->img_size = HOST_32(fsec->fsec_entry[i].pad_size); in oce_fill_flash_img_data()
301 pimg->img_type = HOST_32(fsec->fsec_entry[i].type); in oce_fill_flash_img_data()
394 const struct flash_sec_info *fsec = NULL; in oce_sh_be3_flashdata() local
405 fsec = (const struct flash_sec_info *)p; in oce_sh_be3_flashdata()
406 if (!memcmp(cookie, fsec->cookie, sizeof(cookie))) in oce_sh_be3_flashdata()
408 fsec = NULL; in oce_sh_be3_flashdata()
412 if (!fsec) { in oce_sh_be3_flashdata()
428 num_imgs = HOST_32(fsec->fsec_hdr.num_images); in oce_sh_be3_flashdata()
435 oce_fill_flash_img_data(sc, fsec, &imgatt, i, fw, bin_offset); in oce_sh_be3_flashdata()