Lines Matching refs:fsec
293 static void oce_fill_flash_img_data(POCE_SOFTC sc, const struct flash_sec_info * fsec, in oce_fill_flash_img_data() argument
298 pimg->img_offset = HOST_32(fsec->fsec_entry[i].offset); in oce_fill_flash_img_data()
299 pimg->img_size = HOST_32(fsec->fsec_entry[i].pad_size); in oce_fill_flash_img_data()
302 pimg->img_type = HOST_32(fsec->fsec_entry[i].type); in oce_fill_flash_img_data()
395 const struct flash_sec_info *fsec = NULL; in oce_sh_be3_flashdata() local
406 fsec = (const struct flash_sec_info *)p; in oce_sh_be3_flashdata()
407 if (!memcmp(cookie, fsec->cookie, sizeof(cookie))) in oce_sh_be3_flashdata()
409 fsec = NULL; in oce_sh_be3_flashdata()
413 if (!fsec) { in oce_sh_be3_flashdata()
429 num_imgs = HOST_32(fsec->fsec_hdr.num_images); in oce_sh_be3_flashdata()
436 oce_fill_flash_img_data(sc, fsec, &imgatt, i, fw, bin_offset); in oce_sh_be3_flashdata()