Lines Matching refs:fsec
297 static void oce_fill_flash_img_data(POCE_SOFTC sc, const struct flash_sec_info * fsec, in oce_fill_flash_img_data() argument
302 pimg->img_offset = HOST_32(fsec->fsec_entry[i].offset); in oce_fill_flash_img_data()
303 pimg->img_size = HOST_32(fsec->fsec_entry[i].pad_size); in oce_fill_flash_img_data()
306 pimg->img_type = HOST_32(fsec->fsec_entry[i].type); in oce_fill_flash_img_data()
399 const struct flash_sec_info *fsec = NULL; in oce_sh_be3_flashdata() local
410 fsec = (const struct flash_sec_info *)p; in oce_sh_be3_flashdata()
411 if (!memcmp(cookie, fsec->cookie, sizeof(cookie))) in oce_sh_be3_flashdata()
413 fsec = NULL; in oce_sh_be3_flashdata()
417 if (!fsec) { in oce_sh_be3_flashdata()
433 num_imgs = HOST_32(fsec->fsec_hdr.num_images); in oce_sh_be3_flashdata()
441 oce_fill_flash_img_data(sc, fsec, &imgatt, i, fw, bin_offset); in oce_sh_be3_flashdata()